c# - Update Gridview data to SQL Server 2008 R2 through XML -
i have gridview has 4 columns, id,first(radiobutton),second(radiobutton) , yes/no(checkbox) , sample data follows:
id first(radiobutton) second(radiobutton) yes/no(checkbox) 001 checked not checked checked 002 not checked checked not checked 003 checked not checked checked 004 checked not checked checked
in sql server table contains columns id(varchar), priority(int) 1 if first radiobutton checked , 2 if second radio button checked, , decision(true if yes/no checkbox checked , false id not checked), as(according gridview data
id priority decision 001 1 true 002 2 false 003 1 true 004 1 true
now, want update data clicking 'save' button want tpo update data through xml. can assist me this?
Comments
Post a Comment