protected void GetGrants() { CAServiceClient cas = new CAServiceClient(); int key = (int)Session["userkey"]; GrantInfo[] grants = cas.GetGrantsByPerson(key); }
protected void GetGrants() { CAServiceClient cas = new CAServiceClient(); int key = (int)Session["userkey"]; GrantInfo[] grants = cas.GetGrantsByPerson(key); ViewGrantsGridView.DataSource = grants; ViewGrantsGridView.DataBind(); }