Wrox Programmer Forums
|
BOOK: Beginning ASP.NET 1.0
This is the forum to discuss the Wrox book Beginning ASP.NET 1.0 with C# by Chris Goode, John Kauffman, Christopher L. Miller, Neil Raybould, S. Srinivasa Sivakumar, Dave Sussman, Ollie Cornes, Rob Birdwell, Matt Butler, Gary Johnson, Ajoy Krishnamoorthy, Juan T. Llibre, Chris Ullman; ISBN: 9780764543708
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 1.0 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 20th, 2004, 03:20 PM
Authorized User
 
Join Date: Sep 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cjcd
Default DataReader

Hi, I've just finished reading this book, although I must say I'm still a little bit confused but I guess it will be clearer with some practice. I'm trying as an excercise to develop a very simple application, which is a very simple guestbook. I've seen all the techniques which include datagrid and other, but I don't want my comments in a table list, I want each one separated in its own table, let's say:

<table>
<tr>
<td> comment here </td><td> Author here </TD>
<tr>
</table>

I've tried a modification with the datareader and it generates the necessary tables and cells, but it doesn't fill them with the data.
Also, I'm having a very hard time using VisualStudio.Net, it's my first time using it and It's kind of complicated for me, any suggestions or words of advice? Maybe some recommended literature on it?

Thank you so much.

 
Old March 20th, 2004, 08:47 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You said you tried to do a modification to a datareader value; the datareader is a read-only, forward-only object. You may want to try something else. You also want to look into a repeater, which in the template for each entry, you could specify the html to create a separate table. You could also create your own custom control.

VS.NET isn't that bad once you understand it. Look on Microsoft's site for a tutorial or explanation.

Hope this helps,

Brian
 
Old March 21st, 2004, 01:06 PM
Authorized User
 
Join Date: Sep 2003
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to cjcd
Default

Thank you Brian, I really appreciate this, I will look into it right away and let you know of my progress.






Similar Threads
Thread Thread Starter Forum Replies Last Post
datareader MunishBhatia ASP.NET 2.0 Professional 2 October 17th, 2007 07:05 AM
regarding datareader adityamadisetty VB.NET 1 May 8th, 2006 09:31 AM
DataReader truongnnhat ASP.NET 1.0 and 1.1 Basics 2 February 18th, 2005 12:41 AM
Datareader NitinJoshi ADO.NET 4 January 31st, 2005 08:34 AM
datareader surapongmax ADO.NET 1 October 8th, 2004 07:53 AM





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