Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi,

I have a Gridview which has 4 columns, ID,First(Radiobutton),Second(Radiobutton) and Yes/No(Checkbox) , the sample data is as 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 the table contains the columns as ID(Varchar), Priority(int) which is 1 if First RadioButton checked and 2 if Second Radio Button is checked, and Decision(true if Yes/No checkbox is checked and false id not checked), As(according to the gridview data
ID         Priority         Decision

001        1                 true
002        2                 false
003        1                 true
004        1                 true


Now, I want to update the data by clicking a 'Save' button but want tpo update the data through XML. So can anyone assist me with this?
Posted
Updated 19-Apr-13 5:41am
v2
Comments
senguptaamlan 18-Apr-13 10:13am    
yes you need to write some code...try google.com to fetch some for you.
Maciej Los 19-Apr-13 11:44am    
What you mean: "(i) want tpo update the data through XML"?
ZurdoDev 19-Apr-13 12:16pm    
Are you saying you want to save the data from a gridview to xml and then send it to SQL? Can you explain better because that makes no sense.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900