Example #1
0
 /// <summary>
 /// Get All Members from database and bind here.
 /// </summary>
 public void BindMember()
 {
     gvMembers.PageSize = PageSize;
     MembersViewModel model = client.GetAllMembers(ParlourId, PageSize, PageNum, txtKeyword.Text, SortBy, SortOrder);
     StringBuilder sb = new StringBuilder();
     gvMembers.DataSource = model.MemberList;
     gvMembers.DataBind();
 }