using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
public partial class stu_Stu_Print_All : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string xadmin = Session["admin"].ToString();
if (xadmin == "True")
{
grdtbl0.DataBind();
}
else
Response.Redirect("Home.aspx");
}
protected void grdDocs_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
//------------------ Have Document or Not ---------------------
String Act_Edit;
Act_Edit = (String)e.Row.Cells[8].Text;
if (Act_Edit == "0")
e.Row.Cells[8].Text = "";
else
e.Row.Cells[8].Text = "";
}
}
}