private void BindFolderToUserAccess() { int countval = 1; if (TreeView1.SelectedNode != null && UDFLib.ConvertIntegerToNull(lstUser.SelectedValue) != null) { string NodeValue = TreeView1.SelectedNode.Value; DataTable dt = BLL_QMSDB_Procedures.QMSDBProcedur_UserAccess(int.Parse(lstUser.SelectedValue), UDFLib.ConvertIntegerToNull(NodeValue), null, 1, 10, ref countval); gvUserProcedure.DataSource = dt; gvUserProcedure.DataBind(); } }