i want display data in gridview in such way .if staus is signed dispaly print image button of that row if staus is pending disable print image button or hide of that row
gridview is filling dynamically from database
Please see the attachment
Please see the attachment

Khan Abrar AhmedPosted May 26, 2014, 1:59 AM
in gridview row databound event you can apply your logic.
like.
protected void gvTask_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
//find the status and print button.
if(status =="pending")
hide the print button
else
show the print button.
}
}