Click here to Skip to main content
15,499,825 members

Comments by Angsuman Chakraborty (Top 4 by date)

Angsuman Chakraborty 23-Apr-11 4:20am View    
Its not ajax related issue. Its the Convert.datetime function that needs to be handeled
Angsuman Chakraborty 23-Apr-11 1:49am View    
no. its United States. Date Format is dd/MM/yyyy
Angsuman Chakraborty 6-Mar-11 3:18am View     CRLF
myID = RewardXmlDoc.SelectSingleNode("Reward/myID").InnerText; Hi there Tarun, Thanks for this good article. It would really help the developers world. I have an inquire about the .selectsinglenode method. I have a dataset which writes an xml file using Dataset.Writetoxml() in .Net 4.0; But the problem is if a particular cell in data table has empty or null value, the writetoxml(); method skips that attribute. Suppose i have a column in data table , lets call this client_address. some client may not provide their address. If the client_address is empty, the Write to xml method doesnot write <client_address><client_address>. This attribute is skipped. So when i use myclientAddress = RewardXmlDoc.SelectSingleNode("Reward/Client_Addess").InnerText; it gives me error, since this tag doesn't exists. my question is how can i determine if this element exists in the xml file.
Angsuman Chakraborty 6-Mar-11 3:16am View    
Deleted
myID = RewardXmlDoc.SelectSingleNode("Reward/myID").InnerText; Hi there Tarun, Thanks for this good article. It would really help the developers world. I have an inquire about the .selectsinglenode method. I have a dataset which writes an xml file using Dataset.Writetoxml() in .Net 4.0; But the problem is if a particular cell in data table has empty or null value, the writetoxml(); method skips that attribute. Suppose i have a column in data table , lets call this client_address. some client may not provide their address. If the client_address is empty, the Write to xml method doesnot write <client_address><client_address>. This attribute is skipped. So when i use myclientAddress = RewardXmlDoc.SelectSingleNode("Reward/Client_Addess").InnerText; it gives me error, since this tag doesn't exists. my question is how can i determine if this element exists in the xml file.