Click here to Skip to main content
15,884,099 members

Comments by DGKumar (Top 131 by date)

DGKumar 15-Feb-21 2:27am View    
Hi Griff
Need to add records one by one from db to same datatable
DGKumar 28-Jan-21 8:38am View    
Is there any better approach for this ?
DGKumar 28-Jan-21 8:33am View    
Hi Steve
I have modified with below code
string xmlData = @"<catalog><book><author> Gambardella, Matthew <title> XML Developers Guide<created><createddate><datetime>2015";
System.Xml.XmlDocument xmlDoc = new System.Xml.XmlDocument();
xmlDoc.LoadXml(xmlData);
xmlDoc.SelectSingleNode("catalog/created/createddate/DateTime").InnerText = DateTime.Now.ToString("dd.MM.yyyy");
xmlDoc.Save(xmlData);

Now i am getting System.ArgumentException: 'Illegal characters in path.' exception
DGKumar 6-Jan-21 5:32am View    
tried but the below htmlencode method accept only string
encodedDt.ImportRow(HttpEncode(dr));
but dr is object
my requirement is same dataset loop and assing other data set without loss data
DGKumar 20-Oct-20 15:27pm View    
in the above code refcursor is not filling