Hi,
I'm developing a an application in which requirement is like that i have to store xml file on user's machine whenever he logged first time. when user login again i vl check that xml file which is stored earlier if exist then read it and do the next action.
Uptill now i have created a xml file on server side (Below is code) and i want to store this on client machine
Global tmpconn = new Global();
string strTest = "select distinct convert(nvarchar(Max),xml_data) from XmlImportTest";SqlCommand cmd = new SqlCommand(strTest, tmpconn.conn_EnterPriseRpt); string strXML = cmd.ExecuteScalar().ToString();string TestXMLPath = Server.MapPath("TempXML/DBD1.xml");sr = new System.IO.StreamWriter(TestXMLPath, false, System.Text.Encoding.UTF8);sr.WriteLine("<?xml version=\"1.0\" encoding=\"utf-8\" ?>");sr.WriteLine(strXML);sr.Close();
How can i store file (DBD1.xml in this c ...
Go to the complete details ...