As my gridview is populating I want to add an extra column with some buttons in but I can\'t seem to figure out how, or what might be the best way. Can anyone get me started
protected void GridView1_OnRowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName != "SendMail") return;
int id = Convert.ToInt32(e.CommandArgument);
// do something
}