I m creating columns at runtime,I want to know how add delete & edit buttons in each row & to create them at runtime..Foll code create columns at runtime -
protected void Page_Load(object sender, EventArgs e)
{
try
{
if (!IsPostBack)
{
DataTable dt = new DataTable();
dt.Columns.Add("SNo");
dt.Columns.Add("First Name");
dt.Columns.Add("Last Name");
dt.Columns.Add("EMail");
dt.Columns.Add("Address");
dt.Columns.Add("Phone No");
}
}
catch (Exception ex)
{
Label1.Text = ex.Message.ToString();
}
}