Click here to Skip to main content
13,449,326 members (44,924 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Output as follows;

Listbox1 ADD LIstbox2

when i click load button all faculty name is displayed into Listbox1.then, when i select the particular item in Listbox1 and click ADD button the faculty name is displayed into Listbox2.

The Above process is working fine.

i want the output as;


Date Session column name column name column name

in the form2 in the output screen that selected faculty name from Listbox1 in the Form1(selected item) want to display into the Form2 in data grid view in column.

i want the output as;

Date Session RK SJ(RK, SJ is retrieved from, form1 LIstbox2)
Posted 14-Jan-13 23:55pm
OriginalGriff 15-Jan-13 5:58am
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
shaikh-adil 15-Jan-13 11:06am
sir can you one more time help me out
Faisalabadians 15-Jan-13 6:18am
could not get to your question as OriginalGriff said, please improve your question to get an answers

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Select the Item From form1 List box Item And Pass Input To Form2

For Example :
string name=listbox1.selecteditem;

from2 Objfrom2=new from2(name);

in form2

public form2(string Name)

insert that name into DataGridView

this Work Fine

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01-2016 | 2.8.180318.3 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2018
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