Thursday, July 9, 2009

Can i stored any statement in XML file and retrive it and exucute it in c#?

Sure. You could use the WriteXml() method of a DataTable to save and then the ReadXml() method to restore your Xml data.





As far as executing it--what kind of statement is it? If it's an SQL statement, you can simply use ADO.NET. If it's a method call or something of the like, you'll want to use reflection.

song titles

No comments:

Post a Comment