示例#1
0
 /// <summary>
 /// 7. fnc.select a string from tclient by Agency in the data base
 /// </summary>
 /// <param name="agencyName">string agencyName</param>
 /// <returns>string reader </returns>
 public string ReaderAgency(string agencyName)
 {
     try
     {
         // 1. The reader
         string reader = Model.ReaderAgency(agencyName);
         // 2. Make return
         return(reader);
     }
     catch (Exception ex)
     {
         MessageBox.Show("Error in the Controller select select a string from tclient by Agency : " + " " + ex.Message);
         return(null);
     }
 }