public void BindGrid()
 {
     col = ObjUserlogin.Get_By_comandname("A");
     grdvwUser.DataSource = col;
     grdvwUser.DataBind();
     ViewState["commandname"] = "a";
 }
Exemple #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         col = objUser.Get_By_comandname("");
         grdvwViewUser.DataSource = col;
         grdvwViewUser.DataBind();
         ViewState["commandname"] = "";
     }
 }