Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,081 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,560 people online right now. Registration is fast and FREE... Join Now!




I need help in asp.net

 
Reply to this topicStart new topic

I need help in asp.net, Grrrrrrr Comment~~~~ common!!! write something

busta5000
27 Apr, 2008 - 10:36 AM
Post #1

New D.I.C Head
*

Joined: 8 Mar, 2008
Posts: 11

Hi this is busta5000 I have a group project which is to make a webpage for students so that they register for cources.

what I made are:
main page
signup page
loginpage
login view page
register cource page
admin page for checking student cources

but I do not want a defualt signup page I want to add one more variable which is a student ID which it creats a number every students who signs in.
e.x.
firstname jhon
lastname jhonson
email: abc@abc.com
DOB: 10 10 1999
_______
after signing up an automatic message comes(thats easy) but I want in that message to give him an ID a number from 0080001 to infinite for every user gets an ID number.
________
when he signs in this page apears
e.x.
Student ID: 0080001
Password: *******
________
P.s. when I made the run it said complaition error code 1!! how can I fix this.
________
so I need to know how to make this random number please do not give me anyadvise that has nothing to do with this subject(lots of people did that) & please comment I need this or else I would get a Zero help me
User is offlineProfile CardPM
+Quote Post

skaoth
RE: I Need Help In Asp.net
27 Apr, 2008 - 05:36 PM
Post #2

D.I.C Regular
Group Icon

Joined: 7 Nov, 2007
Posts: 342



Thanked: 10 times
Dream Kudos: 100
My Contributions
QUOTE
P.s. when I made the run it said complaition error code 1!! how can I fix this

It might be more helpful if you provided the error message and code that is causing the problem
User is online!Profile CardPM
+Quote Post

Footsie
RE: I Need Help In Asp.net
28 Apr, 2008 - 09:07 AM
Post #3

D.I.C Regular
Group Icon

Joined: 20 Sep, 2007
Posts: 303



Thanked: 4 times
Dream Kudos: 50
My Contributions
You need to say what type of database is running behind your application. This would be where your numbers would automatically be created.
User is offlineProfile CardPM
+Quote Post

thor78
RE: I Need Help In Asp.net
6 May, 2008 - 05:52 PM
Post #4

D.I.C Head
Group Icon

Joined: 6 May, 2008
Posts: 106


Dream Kudos: 50
My Contributions
Set your database to AutoIncrement starting with 0080001 or any starting number. Or do it manually like query for the last student number, increment by one, then update your record.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 07:45PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month