.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> Windows Application >> Post New QuestionBookmark and Share Subscribe to Forum

One page data set passing to another page in VB DOT NET window application

Posted By: Ajesh Rawat     Posted Date: April 01, 2010    Points:2   Category :Windows Application
Dear All,
I am using two forms
1 .main form,
2. search from..


Search form i have crated one function which return data set.

I want to use search form data set result in main form to bind data grid.can any one guide me for best solution..

Responses
Author: Ajesh Rawat             
Posted Date: April 01, 2010     Points: 5   

In the main form i am using mdi.
and serch form is child form.

Search form pop up opening .
after ok i want to bind the gird in mdi form(main form)

Ajesh Singh Rawat
Consultant Programmer
Author: murthy          Accepted Answer   
Posted Date: April 01, 2010     Points: 10   

you can use delegate and events to do this.

Author: Ruchi             
Posted Date: April 06, 2010     Points: 5   

hi.
U can also use below code

in main form -use
-First pop up search form
-then when it returns to main form use the below code

datagrid1.datasource=frmserch.test()

where test is the fuctions that returns dataset.

Author: Ajesh Rawat             
Posted Date: April 07, 2010     Points: 5   

Dear Ruchi
Thanks..
Its not working..
My Problem is how can i rach the Main form where grid ..

Ajesh Singh Rawat
Consultant Programmer
Author: Ajesh Rawat             
Posted Date: April 07, 2010     Points: 5   

Dear murthy
can you provide me some code..

Ajesh Singh Rawat
Consultant Programmer


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend