Code:
public static string SerializeObject(Object pObject)
{
MemoryStream memoryStream = new MemoryStream();
XmlSerializer xs
public static string SerializeObject(Object pObject)
{
MemoryStream memoryStream = new MemoryStream();
XmlSerializer xs
class Shapes
{
int shapeid;
string name;
}
Shapes shape = new Shape();
shape.shapeid = 10;
shape.name = "roger";
object obj = shape;
public enum Color
{
Red,
Blue
}
foreach (DataColumn dc in dr.Table.Columns)
{
nvEmp.Add(dc.ColumnName.ToString(), dr[dc].ToString());
}
DataTable dt = ds.Tables["Employee"];
DataRow[] foundEmpRows = dt.Select("Dept = 10");
NameValueCollection nvEmp = new NameValueCollection();
foreach (DataRow
hypLink.Text = "Transformed XML"; hypLink.NavigateUrl = ConfigurationSettings.AppSettings["OutputXML"];
<add key="OutputXML" value="C:\Working\My
<table1> <table1_col1>col1</table1_col1> <table1_col2>col2</table1_col2>
Leave a comment: