Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics 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 November 19th, 2003, 07:33 PM
Authorized User
 
Join Date: Oct 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using a dataset to submit numbers

Ok, related to the user input form in my previous thread, I've changed the form so the user will input the ending number of the range, and the beginning of the range will pull from the Max date of the last number (these are Bill of Lading numbers, if anyone cares) in the SQL database. No problem. I have a dataset, and can show it in a datagrid. What I now need to do is assign the dataset to usable variables, and I'm not sure how to reference the dataset and pull the variables to a usable form that can be re-submitted when the user supplies the ending range and submits the form. So the flow is SQL--->dataset-->user form-->user inputs ending number-->form inserts both beginning number and new ending number into the new row to the same table.

Because I'm new, I built this using Dreamweaver's built in code, which doesn't use inline scripts, it uses MM datatags, and assigns texbox values like:

 <Parameter Name="@235_BEGINNING_BOL" Value='<%# Request.Form("B235")+1 %>' Type="Int" />

So my thought was to try request.querystring("Datagrid1")...but there are obviously several values, not just one. Phhhew, sorry this is so complicated.

TIA

Steve






Similar Threads
Thread Thread Starter Forum Replies Last Post
How to submit the different data on single submit pushpa Classic ASP Databases 1 January 24th, 2007 07:10 PM
Converting a untyped dataset to a typed dataset daphnean Visual Studio 2005 0 July 13th, 2006 01:16 AM
Re: SQL Server dataset to ACCESS dataset dazzer ADO.NET 0 March 22nd, 2004 05:28 AM
How can we submit a form without a submit butto phpsharma BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 4 October 20th, 2003 08:50 AM





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