Esempio n. 1
0
 private void Loadcompanycode()
 {
     try
     {
         SqlDataReader dr = null;
         dr = Bllusers.Loadcompanycode();
         if (dr.HasRows)
         {
             while (dr.Read())
             {
                 companycode = dr["Company_Code"].ToString();
                 companyname = dr["Company_Name"].ToString();
             }
         }
     }
     catch (Exception ex)
     {
         WebMsgBox.Show(ex.ToString());
     }
 }