public DataTable search_UserFields(ref string err, string query) { if (A_UName.ID_PERMISSON == 2) { return(data.GetData(ref err, "EXEC [Search User With B] " + query)); } else { return(data.GetData(ref err, "EXEC [Search User With A] " + query)); } }
public DataTable DataFields(ref string err, string query) { return(data.GetData(ref err, query)); }