protected void GridView1_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            string id = GridView1.Rows[e.RowIndex].Cells[2].Text;

            Console.WriteLine("\n\ndeleted id:" + id);
            int    id_    = Convert.ToInt32(id);
            string result = client.DeleteUser(id_);

            Admin_User_Label.Text = result;
            GridView1.DataSource  = client.ShowUser();
            GridView1.DataBind();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (SessionManage.sessionId == -1)
            {
                Response.Redirect("Login.aspx");
            }
            client = new StudentSystemServiceReferece.StudentSystemClient();
            Admin_User_Label.Text = "";
            IEnumerable <StudentSystemServiceReferece.SystemUser> data = client.ShowUser();

            if (data.Count() == 0)
            {
                Admin_User_Label.ForeColor = System.Drawing.Color.Green;
                Admin_User_Label.Text      = "No Data Available";
            }
            GridView1.DataSource = data;
            GridView1.DataBind();
        }