narasiman rao

narasiman rao

  • NA
  • 519
  • 772.4k

i tried but it is not working help me

Jan 20 2013 11:28 PM

1. FrmSchedulingScreen design as follows in datagridview;


Date Session column  name column name column name column name


2. FrmLoadingDetails design as follows;

Listbox1   Button    List box 2


     RK         Load      RK
     CK         ADD       CK


when i click the load button all faculty code are retrieved from the database and displayed in List box 1.

then i select the faculty code from  List box 1 and click the ADD Button that selected faculty goes to List box 2.

from the above is working fine.


but i want that selected  faculty code go to FrmSchedulingScreen  in datagridview column.


I want the output as follows in FrmSchedulingScreen  

Date session RK CK


for getting the above output i write the code in FrmSchedulingScreen   as follows in the button;




            FrmLoadingDetails frmloading = new FrmLoadingDetails();
            datagridView.Columns = FrmLoadingDetails. List box 2

the above coding is correct? how can i do please help me.