Ejemplo n.º 1
0
 private void cbbGroupTour_SelectedIndexChanged(object sender, EventArgs e)
 {
     try
     {
         var x   = cbbGroupTour.SelectedValue.ToString();
         int gID = int.Parse(x);
         gridControlData.DataSource = objService.GetList(gID);
     }
     catch { }
 }
Ejemplo n.º 2
0
        private void loadDataGroup()
        {
            var gID = int.Parse(cbbGroupTour.SelectedValue.ToString());

            objService = new TourService();
            var data = objService.GetList(gID);

            gridControlData.DataSource = data;
            gridControlData.Update();
            gridControlData.Refresh();
        }