Hi,
I am new to asp.net and facing issues with regards to updating database with the values entered using the UI. When I press edit button and update the values, the values come back unchanged and are not saved in the database.
Can somebody please advise on the below code as I am stuck on this for a long time now ? Thanks.
private void UpdateOfficeDetail() // function to update rows
{
string OFFICE_CD = "", COMPANY_NAME = "", DISPLAY = "", LON_AD_User = "", HAM_AD_User = "", REMARKS = "";
// Bind the RELATIONSHIP
// TextBox edittxtoffice = DvOfficeDetails.FindControl("edittxtoffice") as TextBox;
// if (edittxtoffice != null)
// {
// OFFICE_CD = edittxtoffice.Text;
// }
TextBox edittxtcomp_name = DvOfficeDetails.FindControl("edittxtcomp ...
Go to the complete details ...