Exemple #1
0
 private void LoadData()
 {
     try
     {
         if (txtSearch.Text.Length > 0)
         {
             string search = txtSearch.Text.Split('-')[0].ToString();
             GridView1.DataSource = LLDDAL.GetObjectList(search, 5000, "");
             GridView1.DataBind();
         }
         else
         {
             GridView1.DataSource = LLDDAL.GetFullSPData();
             GridView1.DataBind();
         }
     }
     catch (Exception exc)
     {
         ErrorMessage = exc.Message;
     }
 }
Exemple #2
0
 public List <DatabaseObject> GetObjectList(string prefixText, int count, string contextKey)
 {
     return(LLDDAL.GetObjectList(prefixText, count, contextKey));
 }