protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
string[] Cardio = (string[])objDocter.getDocter_acc_prof();
if (e.Row.RowType == DataControlRowType.DataRow)
{
if (e.Row.Cells[2].Text == "Heart problem")
{
DropDownList ddlAssignDoc
= (DropDownList)e.Row.FindControl("ddlAssignDoc");
ddlAssignDoc.DataSource = Cardio;
ddlAssignDoc.DataBind();
}
}
}
i want to compare two template column in grid view, but it is not working ..............please give the right way to compare two columns of GridView. Thank You