C# Programming
07-08-2009, 10:00 PM
Hi Guys,
I have the following out put from Sql data adapter(sda)
WebRequest req = null;
WebResponse rsp = null;
Dataset ds=new dataset();
Sda.fill(ds)
string xmlDs= ds.Getxml();
string fileName = xmlDs;
string uri = "http://www.webpage/default.appx";
req = WebRequest.Create(uri);
//req.Proxy = WebProxy.GetDefaultProxy(); // Enable if using proxy
req.Method = "POST"; // Post method
req.ContentType = "text/xml";
I would like to Encript the Xml data before sending it accross.How would i go about it?
Thank you in advance.
I have the following out put from Sql data adapter(sda)
WebRequest req = null;
WebResponse rsp = null;
Dataset ds=new dataset();
Sda.fill(ds)
string xmlDs= ds.Getxml();
string fileName = xmlDs;
string uri = "http://www.webpage/default.appx";
req = WebRequest.Create(uri);
//req.Proxy = WebProxy.GetDefaultProxy(); // Enable if using proxy
req.Method = "POST"; // Post method
req.ContentType = "text/xml";
I would like to Encript the Xml data before sending it accross.How would i go about it?
Thank you in advance.