Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspdotnet_website_programming thread: data in datagrid


Message #1 by Greg Partin <GPartin@c...> on Tue, 2 Apr 2002 15:28:24 -0500
Hi folks,

Is it possible to include data other than what's brought back by a query in
a datagrid?  In other words, I have a page that is passed some form
variables and it also executes a select statement.  I want the form
variables and the data brought back to be in the datagrid.  I haven't found
any info on the net that shows how to do this.  Any help would be greatly
appreciated.

Thank you,

Greg

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/2002
 
Message #2 by "Minh T. Nguyen" <nguyentriminh@y...> on Tue, 2 Apr 2002 12:48:56 -0800
Greg,

	The DataGrid doesn't have to bind to a DataSet only. You can let
it bind to a DataTable that you have populated using the DataSet from
the SQL statement and manually from the form variables. I also believe
that it is possible to add new rows at the bottom of your datagrid after
binding it with the DataSet.

Hope it works,
Minh.

-----Original Message-----
From: Greg Partin [mailto:GPartin@c...] 
Sent: Tuesday, April 02, 2002 12:28 PM
To: Website Programming with ASP.NET
Subject: [aspdotnet_website_programming] data in datagrid


Hi folks,

Is it possible to include data other than what's brought back by a query
in a datagrid?  In other words, I have a page that is passed some form
variables and it also executes a select statement.  I want the form
variables and the data brought back to be in the datagrid.  I haven't
found any info on the net that shows how to do this.  Any help would be
greatly appreciated.

Thank you,

Greg

Message #3 by Greg Partin <GPartin@c...> on Wed, 3 Apr 2002 08:31:47 -0500
Thanks for you help Minh.

Greg

-----Original Message-----
From: Minh T. Nguyen [mailto:nguyentriminh@y...]
Sent: Tuesday, April 02, 2002 3:49 PM
To: Website Programming with ASP.NET
Subject: [aspdotnet_website_programming] RE: data in datagrid


Greg,

	The DataGrid doesn't have to bind to a DataSet only. You can let
it bind to a DataTable that you have populated using the DataSet from
the SQL statement and manually from the form variables. I also believe
that it is possible to add new rows at the bottom of your datagrid after
binding it with the DataSet.

Hope it works,
Minh.

-----Original Message-----
From: Greg Partin [mailto:GPartin@c...] 
Sent: Tuesday, April 02, 2002 12:28 PM
To: Website Programming with ASP.NET
Subject: [aspdotnet_website_programming] data in datagrid


Hi folks,

Is it possible to include data other than what's brought back by a query
in a datagrid?  In other words, I have a page that is passed some form
variables and it also executes a select statement.  I want the form
variables and the data brought back to be in the datagrid.  I haven't
found any info on the net that shows how to do this.  Any help would be
greatly appreciated.

Thank you,

Greg



---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.343 / Virus Database: 190 - Release Date: 3/22/2002
 

  Return to Index