Exemplo n.º 1
0
 /// <summary>
 /// Get UserInformation by BookingId
 /// </summary>
 /// <returns>datatable for UserInfo</returns>
 public static TeamBooking_Allot GetUserInfo(int bookinid)
 {
     DataTable dt = new DataTable();
     TeamBooking_Allot team = new TeamBooking_Allot();
     TMSDataLibrary.TeamBooking_Allot _team = new TMSDataLibrary.TeamBooking_Allot();
     dt = _team.GetUserInfo(bookinid);
     if (dt.Rows.Count > 0)
     {
         team.FirstName = dt.Rows[0][CONSTS.TeamBooking_AllotMethodsColumnIndex.FirstName].ToString();
         team.Mobile = dt.Rows[0][CONSTS.TeamBooking_AllotMethodsColumnIndex.Mobile].ToString();
         team.Email = dt.Rows[0][CONSTS.TeamBooking_AllotMethodsColumnIndex.Email].ToString();
     }
     return team;
 }