Code :
dt.TableName = "dt";
string XMLData = "";
using (StringWriter sw = new StringWriter())
{
dt.WriteXml(sw, false);
XMLData = ParseXpathString(sw.ToString());
}
SqlParameter[] param = new SqlParameter[2];
DataSet ds = new DataSet();
//param[0] = new SqlParameter("@RegistrationNo", login Name);
param[0] = new SqlParameter("@grouptag", previousloginname);
param[1] = new SqlParameter("XMLData", SqlDbType.Xml);
param[1].Value = XMLData;
ds = SqlHelper.ExecuteDataset(con, CommandType.StoredProcedure, "procedure _Name", param);
lblPnlPreferencesException.ForeColor = System.Drawing.Color.Green;
lblPnlPreferencesException.Text = "Submited Successfully";
dt.TableName = "dt";
string XMLData = "";
using (StringWriter sw = new StringWriter())
{
dt.WriteXml(sw, false);
XMLData = ParseXpathString(sw.ToString());
}
SqlParameter[] param = new SqlParameter[2];
DataSet ds = new DataSet();
//param[0] = new SqlParameter("@RegistrationNo", login Name);
param[0] = new SqlParameter("@grouptag", previousloginname);
param[1] = new SqlParameter("XMLData", SqlDbType.Xml);
param[1].Value = XMLData;
ds = SqlHelper.ExecuteDataset(con, CommandType.StoredProcedure, "procedure _Name", param);
lblPnlPreferencesException.ForeColor = System.Drawing.Color.Green;
lblPnlPreferencesException.Text = "Submited Successfully";
Comments
Post a Comment