开发者

Insert data from Android app to SQL server database using Web Services

开发者 https://www.devze.com 2023-04-01 06:50 出处:网络
I have an Android code that returns a JSONArray in the form [{\"key0\":\"john\",\"key2\":\"ann\",\"key1\":\"joe\"}]. I have a method that displays the above names in the list for eg. \"john\" , \"ann\

I have an Android code that returns a JSONArray in the form [{"key0":"john","key2":"ann","key1":"joe"}]. I have a method that displays the above names in the list for eg. "john" , "ann" in a CustomListView using checkboxes. I also have a method t开发者_运维百科hat I used to check or tick the values . I now need to insert these checked values in my SQL Server database using a web service . I am working on localhost.

Can any one tell me how to create a web service in .NET using C# to insert data into a SQL Server database ?

Here is my Android code


Here is the link for you : Introduction to Building Windows Communication Foundation Services

I recommend you to build WCF service just go through link you will get idea how to build it.

0

精彩评论

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