Click here to Skip to main content
11,632,778 members (84,760 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#
Output as follows;


Form1
Listbox1 ADD LIstbox2
Load
RK RK
SJ SJ

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;


Form2

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
Comments
OriginalGriff at 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 at 15-Jan-13 11:06am
   
sir can you one more time help me out www.codeproject.com/Answers/528150/sortingplusbyplusmonthplus-26plusaddingplustheplus
Faisalabadians at 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
good
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 :
Form1_Load()
{
string name=listbox1.selecteditem;

from2 Objfrom2=new from2(name);

}
------------------------------------------------------------
in form2

public form2(string Name)
{
InitializeComponent();

insert that name into DataGridView
}


this Work Fine
Thanks
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 8,498
1 Sergey Alexandrovich Kryukov 8,149
2 Mika Wendelius 6,260
3 F-ES Sitecore 2,321
4 Suvendu Shekhar Giri 1,995


Advertise | Privacy | Mobile
Web04 | 2.8.150728.1 | Last Updated 15 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