asp.net - Is it possible to serialize the instance of the SqlDataSource into structured text, such as XML? -


i'm developing in-house asp.net application, due reason, i've create dynamic page dynamic created sqldatasource(s). so, i'm finding way serialize , persist sqldatasource instance(s) structured text(s) (e.g. xml), , later on de-serialize structured text(s), instantiate corresponding object(s) of sqldatasource.

please kindly advise simplest way that.

thank you!

william

simplest way serialize relevant properties (such connection string, selectcommand) - these way strings. de-serializing, create new sqldatasource , set these properties (or pass them via constructor).


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -