Hi
I want to read txtSessionDate value when user clicks on Add Button.
protected void gr_RowDataBound(object sender, GridViewRowEventArgs e)
{
try
{
if (e.Row.RowType != DataControlRowType.DataRow)
return;
e.Row.Cells[0].HorizontalAlign = HorizontalAlign.Center;
TextBox txtSessionDate = new TextBox();
txtSessionDate.Text = "";
txtSessionDate.CssClass = "form-control daterange-single";
e.Row.Cells[10].Controls.Add(txtSessionDate);
e.Row.Cells[10].HorizontalAlign = HorizontalAlign.Center;
}
}
Thanks