On 12 June 2012 11:59, Yogeshkumar Tiwari <yogeshtiwari2...@gmail.com>wrote:

> Hi freinds,
>  i am developing an android apps in that i have to save my data in to the
> microsoft sql server management studio and retrieve the data from the same
> so please any one have any idea of how to save data on the microsoft sql
> server managment studio and retrieve the data from same.If any one have
> code or refrence please share with me freinds.
>
>
> --
> With Regards:
> Yogesh Tiwari
> (Android Developer)
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



As per your requirement  you can use asp.net web service with your android
code...the asp.net web service looks like below

and use that web request and response code with your client program it
works very fine...




-- try {
DefaultHttpClient client = new DefaultHttpClient();
HttpPost httpPost = new HttpPost(url);
/*String payLoad = "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
+ "<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\";
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"; xmlns:soap=\"
http://schemas.xmlsoap.org/soap/envelope/\";>"
+ "<soap:Body>"
+ "<createNewAccounts  xmlns=\"http://tempuri.org/\";>"
+ "<fname>" + finame.getText().toString() + "</fname>"
+ "<lname>" + lstname .getText().toString() + "</lname>"
+ "<age>" + age.getText().toString()+ "</age>"
+ "<address>" + addr.getText().toString() + "</address>"
+ "<mno>" + mbl.getText().toString() + "</mno>"
+ "<gender>" + gen.getText().toString() + "</gender>"
+ "</createNewAccounts>" + "</soap:Body>" + "</soap:Envelope>";








       (Deepak Mamdapure)

 You only live once, once is enough.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to