开发者

how to Edit/update Data Via Web Service

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜