Complex form creation in ASP

G

Guest

Ok, I'm a recent convert to .net, currently developing with VS2005. I've had
a lot of success using GridViews, dataviews, and so on. So much easier than
Interdev... However, I have a custom form I need to create that will insert
record from user input, and I cant do it that I know of with any of these
new-fandangled tools. Any suggestions and/or help is greatly appreciated!

I have a web page that will read a query string for an integer. It should
then open a recordset and begin looping through records. Here's the jist of
it:

while reader.read() 'open the recordset
for i = 1 to QuerystringInteger
'Create a row of input tetboxes here
next
end while

of course the number of records returned form the recordset and integer from
the querystring are variable.

After a user fills out the form, I'll insert these records into a table.

I figured I'd actually get to drop back to old asp and manually iterate
through this and create the table and plain old HTML input boxes with the old
response.write .... but .NET doesn't see to like that very well.

How can I do this in .NET? Or better yet, what is the best way to do this?

Thanks in advance for the comments!

-Matt
 
G

Guest

How can I do this in .NET? Or better yet, what is the best way to do
this?

Loop through the Page's control collection, and retrieve the textboxes on
postback?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,265
Messages
2,571,069
Members
48,771
Latest member
ElysaD

Latest Threads

Top