Reply
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
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 04-14-2009, 09:11 PM Re: Is it possible to bind two data source into single gridview?
Skilled Talker

Posts: 69
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
Reply With Quote
View Public Profile
 
Reply     « 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.11951 seconds with 13 queries