dt.Rows[i].Delete();
Or
foreach (DataRow dr in dt.Rows)
{
if ((dr["Doc_Name"].ToString().Trim() == "RAJA".ToString()))
{
dr.Delete();
}
}
dt.AcceptChanges();
Saturday, January 30, 2010
Subscribe to:
Posts (Atom)