473,383 Members | 1,818 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

ADO.NET using VB

I am creating a simple two form data access application. The first form
displays my main table that shows orders in an orders table. I have a command
button that opens a second form that show a related table that contains all
of the order details. I know there is a simple code that I can put in the
form load that will link the order detail form to the orders form based on
the orderid.
Any help is greatly appreciated.
Thank you,
ericzaj
Oct 8 '05 #1
3 1150
Eric,

This is a general newsgroup. A nice newsgroup to start your questions and to
help you to find better ones

*Next* time you can place these questions like this better crossposted (if
your newsreader is able to do that) based on relevancy in the newsgroups

microsoft.public.dotnet.languages.vb
microsoft.public.dotnet.framework.adonet

On this website you find in more ways answer on your question. I give you
one example because I don't even know what database you use.

http://www.windowsformsdatagridhelp....7-7bc3068aca2c

There are more samples on our website of this, by instance using textboxes,
SQL server instead of Access etc.

I hope this helps,

Cor
Oct 9 '05 #2
It is an Access database. I have all the bindings and dataadapters set
properly. All I need now is to be able to link a related form that gives
details about an order . If on the main form I am looking at orderid 123456,
I want the form that displays the details of all orders to open based on the
record of 123456.
Thank you,
ericzaj

"Cor Ligthert [MVP]" wrote:
Eric,

This is a general newsgroup. A nice newsgroup to start your questions and to
help you to find better ones

*Next* time you can place these questions like this better crossposted (if
your newsreader is able to do that) based on relevancy in the newsgroups

microsoft.public.dotnet.languages.vb
microsoft.public.dotnet.framework.adonet

On this website you find in more ways answer on your question. I give you
one example because I don't even know what database you use.

http://www.windowsformsdatagridhelp....7-7bc3068aca2c

There are more samples on our website of this, by instance using textboxes,
SQL server instead of Access etc.

I hope this helps,

Cor

Oct 9 '05 #3
Try relating the two tables, it is, as I see it, the order details table and
the order table must be related thru the order code. If you relate this two
tables, the datagrid will allow the user to "expand" the order and navigate
to the order detail table without having to open a new window or datagrid.

"ericzaj" wrote:
I am creating a simple two form data access application. The first form
displays my main table that shows orders in an orders table. I have a command
button that opens a second form that show a related table that contains all
of the order details. I know there is a simple code that I can put in the
form load that will link the order detail form to the orders form based on
the orderid.
Any help is greatly appreciated.
Thank you,
ericzaj

Oct 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: beliavsky | last post by:
Many of my C++ programs have the line using namespace std; but the "Accelerated C++" book of Koenig and Moo has many examples where the library names are included one at a time, for example ...
5
by: Enos Meroka | last post by:
Hallo, I am a student doing my project in the university.. I have been trying to compile the program using HP -UX aCC compiler, however I keep on getting the following errors. ...
12
by: Calum Grant | last post by:
In older C++ computer books, you'll often see using namespace std; even in my 1996 copy of Stroustrup. Nowadays, it seems to be considered better to qualify names to make it clearer what...
0
by: canasdaq | last post by:
Can anyone please help me. I was looking at the article "http://www.eggheadcafe.com/articles/20030603.asp". I am new to .net and know nothing in c#. I want to write a menu in asp.net. Can anyone...
11
by: Grasshopper | last post by:
Hi, I am automating Access reports to PDF using PDF Writer 6.0. I've created a DTS package to run the reports and schedule a job to run this DTS package. If I PC Anywhere into the server on...
3
by: John Spiegel | last post by:
Hi All, I've been working on building a .dll in C# (framework 1.1) and using it in VFP8. As always, the example that runs so smoothly in the article fails at a rather basic point in practice. ...
8
by: acb | last post by:
Hi, I wrote a DLL Component (using Visual Studio 2005) and managed to include it into a C# Console application. I am now trying to include this component into a Web project. I copy the DLL...
0
by: Eugene Anthony | last post by:
The problem with my coding is that despite removing the records stored in the array list, the rptPages repeater control is still visible. The rptPages repeater control displayes the navigation...
3
by: JDeats | last post by:
I have some .NET 1.1 code that utilizes this technique for encrypting and decrypting a file. http://support.microsoft.com/kb/307010 In .NET 2.0 this approach is not fully supported (a .NET 2.0...
8
by: =?Utf-8?B?Q2hyaXMgSGFsY3Jvdw==?= | last post by:
Hi there I've successfully added some .NET validation controls to a page (using <asp:RequiredFieldValidator ...), however when I try to set the 'display' property to 'dynamic', my page then...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.