public UserShows(int UserShowID) : base() { _userShows = new Data.UserShows(ModuleSettings); DataSet ds = _userShows.GetUserShows(UserShowID); if (ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0) LoadFromRow(ds.Tables[0].Rows[0]); }
public UserShows(int UserID, int ShowID) : base() { _userShows = new Data.UserShows(ModuleSettings); _userid = UserID; _showid = ShowID; DataSet ds = _userShows.GetUserShows(_userid, _showid); if (ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0) LoadFromRow(ds.Tables[0].Rows[0]); }