开发者

how to Edit/update Data Via Web Service

开发者 https://www.devze.com 2023-03-11 14:40 出处:网络
I have a C# asmx webservice.I am using a DataGridView to retrieve the data and that works well.But I also would like to select a record and update the data. And editing the data. Then create a button

I have a C# asmx webservice. I am using a DataGridView to retrieve the data and that works well. But I also would like to select a record and update the data. And editing the data. Then create a button event that sends the data back to the web service so the database can be updated. Do you guys have any suggestions or sample code i might be able to look at as an example? i doing all this code in visual s开发者_JS百科tudio

Thank you very much for the help in advanced.


All you have to do is to bind with the OnRowUpdating and call a method that will update your data.

Please have a look at the following link http://www.dotnetfunda.com/articles/article29.aspx.

Feel free to get back to me if you need further assistance.

0

精彩评论

暂无评论...
验证码 换一张
取 消