protected void LoadAccounting() { pageSize = Convert.ToInt32(ddlPageSize.SelectedValue); gvAccounting.PageSize = pageSize; String organizationame = txtLegalName.Text.Trim(); String username = txtUserName.Text.Trim(); String location = txtLocation.Text.Trim(); DataSet ds; ds = OrganizationInfo.getTransactionInfo(pageId, pageSize, out totalRows, organizationame, username, location); gvAccounting.DataSource = ds; gvAccounting.DataBind(); GridPaging(); }