Wrox Programmer Forums
|
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 June 10th, 2005, 02:26 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

If you want just one blank row at the end use
<tr></tr>

The code you are using is the old ASP style. If you are using .NET try using the table object instead.

 
Old June 10th, 2005, 02:30 PM
mh mh is offline
Authorized User
 
Join Date: Mar 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I did use <tr></tr>, but it didn't work. Was I doing something wrong? And what is the table object? Can you please give me an example?

 
Old June 10th, 2005, 02:36 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Just response.write("<tr></tr>") inside of your table.

You can view info on the table object in the VS documentation.

 
Old June 10th, 2005, 02:48 PM
mh mh is offline
Authorized User
 
Join Date: Mar 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

But, if I put response.write("<tr></tr>") inside of my loop, it wouldn't be able to show the results in that row because the row is already closed. Isn't that true?

 
Old June 12th, 2005, 10:50 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Put it outside the loop for a blank row

 
Old June 13th, 2005, 08:58 AM
mh mh is offline
Authorized User
 
Join Date: Mar 2005
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can't put it outside the loop because I need a new row for each record. So, that would not work. But, thanks for your help.






Similar Threads
Thread Thread Starter Forum Replies Last Post
add row with textboxes in a table imnk2 ASP.NET 1.0 and 1.1 Basics 1 June 25th, 2007 04:53 PM
add new row to a table stealthdevil Access VBA 1 June 1st, 2006 11:04 AM
use vba to add a row to datasheet TerryAutomation Access VBA 2 July 11th, 2005 01:07 PM
import excel file and stop at first empty row derik SQL Server DTS 2 September 24th, 2004 04:16 AM
add row no automatically Jane SQL Language 9 June 28th, 2004 02:11 AM





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