Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 7th, 2004, 01:29 PM
Registered User
 
Join Date: Jun 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mcedwards
Default Displaying DataRows in a DataGrid

Hi,

I have used the following code to create some datarows and wish to just display these rows in a datagrid. Is there any way I can do it??

Code:
objWeeklyRow = objReadingsTable.Select("Week_Number=" & request.QueryString("Week"))
Thanks
Mark
 
Old March 8th, 2004, 09:12 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Either add the rows to a new DataTable, or use a DataView and specify the RowFilter property to filter the results from the ReadingsTable.

Brian Mains





Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying Columns in a DataGrid jmss66 VB How-To 0 July 26th, 2007 03:13 PM
Displaying data in Datagrid simpsg ASP.NET 2.0 Basics 3 October 6th, 2006 11:12 PM
Displaying Images in a DataGrid RichardOrmiston ASP.NET 1.0 and 1.1 Basics 1 December 13th, 2005 01:13 PM
How I Can Use DataRows Collection yoord BOOK: Beginning ASP.NET 1.0 15 August 27th, 2004 02:02 PM





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