protected
void grdRequestHandling_RowDataBound(object sender, GridViewRowEventArgs
e)
{
try
{
if (e.Row.RowType == DataControlRowType.Footer)
{
DropDownList dropdown = e.Row.FindControl("ddlAddRole") as
DropDownList;
dropdown.DataSource = objBL.GetRoles();
dropdown.DataTextField = "RoleName";
dropdown.DataValueField = "RoleId";
dropdown.DataBind();
}
}
catch (Exception)
{
}
}
If u had any trouble just ask, Happy to help u :)
Stay Tune...
Have a nice day... 'N happy Coding :)
No comments:
Post a Comment