Abdalla Elawad

Abdalla Elawad

  • NA
  • 1k
  • 214.3k

how to update column use as ID Control without save null

Jul 17 2017 3:11 AM
Hi Guys 
Salam
I use gridview convert fields as template deal with specific table , generally i have dropdownlist as control id of other dropdownlist works good as ID but when we update its save null
 
please slove this my problem
 
thanks
 
Code Source :
SortExpression="First_Supervisor">
" autopostback="True" <="" div="">
DataSourceID="SqlDataSource4" DataTextField="EmpName"
DataValueField="EmpName">
ConnectionString="<%$ ConnectionStrings:Cash_PlanConne %>"
SelectCommand="select EmpName from EmployeesBasic2 where job='Custodian_1'">
">
_______________________________________________________________________
DataSourceID="SqlDataSource43" DataTextField="ID_Number" Width="110"
DataValueField="ID_Number">
ConnectionString="<%$ ConnectionStrings:Cash_PlanConne %>"
SelectCommand="SELECT [ID_Number] FROM [EmployeesBasic2] WHERE ([EmpName] = @EmpName)">
PropertyName="SelectedValue" Type="String" />
">
 
 Thanks

Answers (3)