Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

.NET Forum


You are currently viewing our .NET Forum as a guest. Please register to participate.
Login



Closed Thread
Is it possible to bind two data source into single gridview?
Old 03-27-2009, 05:19 AM Is it possible to bind two data source into single gridview?
Junior Talker

Posts: 3
Name: Christ
Trades: 0
Is it possible to bind two data souce into single grid view? still doing the shopping cart. in my shopping cart gridview, i already call Cart and Food table together in 1 sqldatasource.. Now i need to call another table that are Cart and SetFood table.. so.. can i have 2 data source? or can i have 2 select command in one datasource?? How to bind this 2 data to single gridview? Your idea and suggestions are really appreciated... thx
christhappy is offline
View Public Profile
 
 
Register now for full access!
Old 04-14-2009, 09:11 PM Re: Is it possible to bind two data source into single gridview?
Extreme Talker

Posts: 246
Trades: 0
Learn how to use joins in SQL and you should be completely set. There is no reason that I can think of that a join wouldn't do this.

http://www.w3schools.com/Sql/sql_join.asp
http://www.sql-tutorial.net/SQL-JOIN.asp
http://www.sql-tutorial.com/sql-join-sql-tutorial/

This is basically the equivalent of doing multiple joins in a single select statement.
stbuchok is offline
View Public Profile
 
Closed Thread     « Reply to Is it possible to bind two data source into single gridview?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09604 seconds with 12 queries