Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 25th, 2005, 01:48 PM
Registered User
 
Join Date: Dec 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default send data to another computer.

i have the ploblem, i want to send data in xml format such member.xml but i don't know how to send this data to another computer. Another computer has ip 10.98.11.56 ,i use c#

//********** this is my code ************//
SqlDataAdapter thisadapter = new SqlDataAdapter("select member_id,title,firstnamethai,lastnamethai,bank_na me,bank_branch,point from TB_Member",BB.GetSQLConnection());
            SqlCommandBuilder thisbuilder = new SqlCommandBuilder(thisadapter);
            DataSet ds = new DataSet();
            thisadapter.Fill(ds,"TB_Member");
            ds.WriteXml("Member");
            ds.WriteXmlSchema("Member_1");
 
Old February 10th, 2005, 05:56 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Change your application to Web service and expose the API which returns XML.
This way you can get the XML from another machine.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Send/Insert data simultaneously osemollie Pro PHP 1 February 1st, 2006 05:57 AM
How to grap passed data and send it to db method Access ASP 0 March 15th, 2005 02:59 PM
send data question gr8day8 XML 2 February 10th, 2005 10:01 AM
Send form data using VB ratheeshpkr Pro VB 6 8 October 18th, 2004 07:29 AM
Send form data using VB ratheeshpkr Classic ASP XML 0 October 18th, 2004 01:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.