Example #1
0
        private void myBind()
        {
            DataView dt = B_Role.GetRoleInfo();

            this.EGV.DataSource   = dt;//.FindRows(" AddUser="******"RoleID" };
            this.EGV.DataBind();
        }
Example #2
0
 private void bind()
 {
     this.GridView1.DataSource   = B_Role.GetRoleInfo();
     this.GridView1.DataKeyNames = new string[] { "RoleID" };
     this.GridView1.DataBind();
 }