473,804 Members | 4,311 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

display 2 different datagrid using 2 database??

hi

im new in the .net environnement
i have a work to do in school

im able to display a datagrid using a database in access and im also able to display a datagrid using a database in foxpro 8.0

but i want to display in my browser the both datagrid in the same page, one using access db and the other with foxpro db.

how can i integrated the both in the same program?

.... i use the wordpad to put the instructions of my program and i save that in my localhost folder with the extension of .aspx

thank you very much!

--
pleymo - member
http://www.visual-basic-data-mining.net/forum
Nov 18 '05 #1
2 2845
1. Create two connection objects
2. Create two command objects ;using those conn objects
3. Create two data adapters using those command objects
4. Open both connections
5. Attach both data adapters to different tables in the same dataset
6. Bind each table to a different data grid

Optionally, you can link the Access database to the FoxPro, or perhaps visa versa, but you will have a perf hit for doing this.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ****
Think outside the box!
*************** *************** *************** ****
"ne**@visua l-basic-data-mining.net" <si******@gmail .com> wrote in message news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
hi

im new in the .net environnement
i have a work to do in school

im able to display a datagrid using a database in access and im also able to display a datagrid using a database in foxpro 8.0

but i want to display in my browser the both datagrid in the same page, one using access db and the other with foxpro db.

how can i integrated the both in the same program?

... i use the wordpad to put the instructions of my program and i save that in my localhost folder with the extension of .aspx

thank you very much!

--
pleymo - member
http://www.visual-basic-data-mining.net/forum
Nov 18 '05 #2

"Cowboy (Gregory A. Beamer)" <No************ @comcast.netNoS pamM> schrieb im Newsbeitrag news:%2******** *******@tk2msft ngp13.phx.gbl.. .
1. Create two connection objects
2. Create two command objects ;using those conn objects
3. Create two data adapters using those command objects
4. Open both connections
5. Attach both data adapters to different tables in the same dataset
6. Bind each table to a different data grid

Optionally, you can link the Access database to the FoxPro, or perhaps visa versa, but you will have a perf hit for doing this.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

*************** *************** *************** ****
Think outside the box!
*************** *************** *************** ****
"ne**@visua l-basic-data-mining.net" <si******@gmail .com> wrote in message news:%2******** ********@TK2MSF TNGP15.phx.gbl. ..
hi

im new in the .net environnement
i have a work to do in school

im able to display a datagrid using a database in access and im also able to display a datagrid using a database in foxpro 8.0

but i want to display in my browser the both datagrid in the same page, one using access db and the other with foxpro db.

how can i integrated the both in the same program?

... i use the wordpad to put the instructions of my program and i save that in my localhost folder with the extension of .aspx

thank you very much!

--
pleymo - member
http://www.visual-basic-data-mining.net/forum
Nov 18 '05 #3

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

Similar topics

3
2233
by: Chumley the Walrus | last post by:
IN my code behind .vb page for a delete records script (this also does a deletion confirmation with a javascript popup, this gets called on my front .aspx page with the datagrid), I'm not sure if he row.delete() in my Delete_Row sub is correct because when deleting a record from the dbase, it doesnot get deleted from the actual database, even tho on the datagrid it does show that the record is deleted: '''''''''''''
2
1354
by: anand | last post by:
Hello group, I using a datagrid to display output of a query, now the problem is that it displays all column of query in columns of grid, ( e. g.)is it possible that i fetch Employee name ,age and salary and i display only name and age.. Thanks Andy
3
5403
by: Kai Zhang | last post by:
I am trying to display some database records in datagrid using dataset. the records need to be displayed are couple of thousands, but the records in database that the SQL query needs to exam are more than 70 thousand, and it is really slow to get the dataset ready to populate the datagrid. I am sure there are solutions on this issue, but I just don't know :-( Can anybody point me out any good solution to minimize the time used to...
4
6937
by: neena | last post by:
how to display values from database tables without using datagrid control in C# .net.I want to search the values from database & the search results to be shown as rows in the web form,without the use of datagrid.So any one plz help me.
3
2745
by: Eric Layman | last post by:
Hi, I've saved data into the db by doing a replace() on single quote. Right now on data display on a datagrid, it shows double single quote. How do I make changes during run time of datagrid so that the double single quote will be replaced as single quote? Pls advise.
2
2801
by: pozze | last post by:
Hi, I need to display images and other record information retrieved from an SQL 2005 database in a datagrid on a web page. I'm coding in VB .net I have recently changed over from VB ASP and i'm still getting used to .net I can successfully upload images and other data into the SQL Database, I'm currently storing RecordID, File Name, Type of File (mime), File Size, and File Data. I can retreive non binary data to a datagrid but I cannot...
2
173
by: Iain Wilson | last post by:
Hi Can anyone please advise if this is possible and if so how I would go about it (a pointer to an example would be greatly appreciated). Using C# - Web Application I have a DropDownList with the following entries Room A Room B All Rooms
2
1616
by: simonyong | last post by:
hello, anyone.. im newbie to asp.net my problem is : My task is related to view all data from a table called "employee " i had create a datagrid where called data from database and successfully display in a datagrid.. each employee will hav their own personnel_number and direct_manager_personnel_number which refer to who is his/her direct boss... eg.
2
3689
by: kurtzky | last post by:
i created a form that should function as follows: i will enter a number in a textbox..then it should query from the database all the records which has that number..these records will have a different item no in it..then, these records will be saved in a temporary datatable (which i made in a separate class, the name is WBASKET)...The item nos of these records will be displayed in a combobox, say item1, item2, etc.. then,i have a datagrid...
0
10593
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10329
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10085
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7626
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5527
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4304
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3000
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.