Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 20th, 2005, 11:15 PM
Registered User
 
Join Date: Jul 2005
Location: Kuala Pilah, Negeri Sembilan, Malaysia.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Bind data to datagrid use 2 different SQL statemen

Hi,
I facing some problems regarding how to bind data to the same datagrid by using 2 different SQL statements.
Means, after I bind data to the datagridA by using SQL statement One,
then, I need to bind data to datagridA by using SQL statement Two.

How can I do so?

Thanks for reply...

Best Regards,
YuenYongLai

  #2 (permalink)  
Old November 21st, 2005, 07:20 AM
Friend of Wrox
 
Join Date: Oct 2003
Location: Chennai, TamilNadu, India.
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Do you want to bind datagrid with entirely data from sql statement two?If so,you can get fill the dataset from the second sql statement and bind to datagrid using datasource with new dataset.


Quote:
quote:Originally posted by yuenyong
 Hi,
I facing some problems regarding how to bind data to the same datagrid by using 2 different SQL statements.
Means, after I bind data to the datagridA by using SQL statement One,
then, I need to bind data to datagridA by using SQL statement Two.

How can I do so?

Thanks for reply...

Best Regards,
YuenYongLai

  #3 (permalink)  
Old November 22nd, 2005, 06:44 AM
Registered User
 
Join Date: Jul 2005
Location: Kuala Pilah, Negeri Sembilan, Malaysia.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,
Thanks for reply.

Ya.I want to bind the whole data from SQL statement two also.
But, I using web services to do the thing now.
Will it needs other way to do so?

Thanks.

Best Regards,
YuenYongLai

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Bind Data in DataGrid akumarp2p C# 2005 2 December 30th, 2006 12:11 PM
Datagrid Bind Problem param99 ASP.NET 1.0 and 1.1 Professional 1 November 23rd, 2006 12:34 PM
can we bind datagrid and dropdown list rakeshgv SQL Server 2000 0 August 21st, 2006 02:13 AM
Bind datagrid to recordset MAntis_sg Classic ASP Databases 0 May 15th, 2006 07:31 AM
Bind image to the datagrid learner_7983 ADO.NET 3 November 1st, 2004 02:00 AM



All times are GMT -4. The time now is 08:15 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.