Dear all ,
I am working on gridview and there are two dropdownlist in gridview edit template with respective sqldatasource.
what i want to do is update the record when i will click on update button which is generated through gridview
but it is throwing error :
Cannot insert the value NULL into column 'CompanyID', table 'RealValue.dbo.tbl_BikePrcInfo'; column does not allow nulls. UPDATE fails.
The statement has been terminated.
i don't want to do code in .cs file is it possible?
please help me
Thanks in adv....... :)