Click here to Skip to main content
11,496,146 members (1,730 online)
The site is currently in read-only mode for maintenance. Posting of new items will be available again shortly.
See more: C#
from Frm Loading Details screen pass the faculty code to form Frm Scheduling Screen in datagridview column

rm Loading Details screen pass the faculty code to Frm Scheduling Screen in datagridview column


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 C K

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


Button_Click

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

the above coding is correct? how can i do please help me. reply please
Posted 21-Jan-13 3:41am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Dnyaneshwar@Pune 692
1 CHill60 248
2 RyanDev 230
3 Sascha Lefèvre 205
4 OriginalGriff 155
0 Sergey Alexandrovich Kryukov 10,372
1 OriginalGriff 8,871
2 Sascha Lefèvre 3,899
3 Maciej Los 3,422
4 Richard Deeming 2,600


Advertise | Privacy | Mobile
Web01 | 2.8.150520.1 | Last Updated 21 Jan 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100