Ask a Question related to ASP.NET General, Design and Development.
-
James Brown #1
Submitting form with a unique ID
Hi All,
I'm looking for some information/code samples on how I can create a
simple web form that includes an auto-generated Unique ID on the form.
The form includes the following 3 fields (Unique ID, First Name and
Last Name). I have a SQL Server 2000 back-end with the table created
as follows:
UniqueID - numeric (9)
FirstName - varchar (50)
LastName - varchar (50)
Ideally I would like the user just to enter their First and Last Name
and the form automatically creates a Unique ID for them. Once they
type in their First/Last Name the user submits the information to the
database. I've managed to get the web form created so that it submits
the First/Last Name successfully but I can't think how to create the
Unique ID, ideally I'd like this to be based around the time/date of
submittal.
Any guidance would be much appreciated.
Thanks
Scott
James Brown Guest
-
Unique Form inserting into many tables using unique id
I have a Registration Form that have 3 steps. The data could be inserted into many (4) tables. Some data corresponding to a one table (the main or... -
after submitting form go to page . . . .
I want the user to end up on a thank you page after submitting the form. How is that done? -
Submitting form
Can i know whether any1 know hw to submit our form after validating to another form where we can get the input from the first page for .mxml?? And... -
Use PDf fill in form in Website and submitting form info.
I feel like I'm 99% there, but I am missing something. I created the PDF form offline and tested submitting it. It works fine. When I upload and... -
Submitting Form Var Problem
I have two dropdown list: frm_cbo_top frm_cbo_bottom I have an OnChange="submit_form();" in each of these dropdown lists - the javascript... -
Jeff Louie #2
Re: Submitting form with a unique ID
James... If you declare an IDENTITY column, SQL will return a
uniqueID upon INSERT. If you want to generate your own
uniqueID you could do a concatenation of the MAC address of the
client ethernet card plus a timestamp.
Regards,
Jeffthe First/Last Name successfully but I can't think how to create the>I've managed to get the web form created so that it submits
Unique ID, ideally I'd like this to be based around the time/date of
submittal.<
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Jeff Louie Guest
-
David Waz... #3
Re: Submitting form with a unique ID
Using a system generated GUID is quick and easy, although kinda long.
16 bytes minimum.
"James Brown" <i.m@winning.com> wrote in message
news:1f88a50b.0307051028.3caafaf1@posting.google.c om...> Hi All,
>
> I'm looking for some information/code samples on how I can create a
> simple web form that includes an auto-generated Unique ID on the form.
>
> The form includes the following 3 fields (Unique ID, First Name and
> Last Name). I have a SQL Server 2000 back-end with the table created
> as follows:
>
> UniqueID - numeric (9)
> FirstName - varchar (50)
> LastName - varchar (50)
>
> Ideally I would like the user just to enter their First and Last Name
> and the form automatically creates a Unique ID for them. Once they
> type in their First/Last Name the user submits the information to the
> database. I've managed to get the web form created so that it submits
> the First/Last Name successfully but I can't think how to create the
> Unique ID, ideally I'd like this to be based around the time/date of
> submittal.
>
> Any guidance would be much appreciated.
>
> Thanks
>
> Scott
David Waz... Guest



Reply With Quote

