Log in

View Full Version : Misc any C# programers in the building?



veilside240
03-05-2008, 11:41 AM
i got $50 to anyone who can make this for me:


Create a web application with the same name as your last name. Change the name of the web form to your first name. Create a C# class named using your middle name.

The C# class should contain the properties listed below. Each property must include a set and get method.

C# class:

Properties-initial value (set when the property is created, not when the object is created)

FirstName- your first name

LastName-your last name

StudentID-your student ID #

Height-your height

EyeColor-your eye color

HairColor-your hair color

Web Form:

Create two buttons one for each object created below. The buttons should display the name of the object that will be created.

Create two instances of the class.

1) The first instance is named with your first name, an "s", and the word "object". For example "stevesobject". This object does not pass any attributes when created. Save the object in a ViewState with the same name as the object.

2) The second instance is named with your first name, an "s", the words "twinobject". For example "stevestwinobject". This object does pass attributes when created. The attributes are the following:

FirstName-your name in reverse

LastName-your last name in reverse

StudentID-your ID number with one added to each digit (except for any number 9's)...for example...orginal ID number 90000015151 new number is: 91111126262.

Height - add 2 inches

EyeColor - same color as yours, but pass the value anyway

HairColor - same color as yours, but pass the value anyway

Save the object in an Session variable with the same name as the object.

Create two additional buttons with "view" and the name of the objects. Such as "ViewSteve" and "ViewStevesTwin".

These buttons will retrieve the object (either from ViewState or from the Session variable) and then display the complete information on the web form.

Add one additional button. This button will display "Change" and the name of the first object. Such as "ChangeSteve". The code under this button must retrieve the object from ViewState, change the last name to "Smith", and then save the object back into ViewState again.

Once you have completed the program, compress it

RandomGuy
03-05-2008, 02:37 PM
i could do it

but dude.... you're taking that class for a reason

JUST LEARN IT MAN WTF

ironchef
03-05-2008, 02:44 PM
Concurred. That doesn't even look like a couple hours worth of work.

veilside240
03-06-2008, 12:15 AM
yes its not very hard you are correct just seeing if anyone wanted to make $50

redrumracer
03-06-2008, 12:22 AM
i wouldve done it but i just got done with that class and dont have a desire to do it anymore. switched majors...........................again

veilside240
03-06-2008, 03:39 PM
thats cool


offer is still standing

Turbo04
03-10-2008, 02:26 AM
Why bother if your not even going to try and learn and do it on your own. Your time would be better spent getting a jump on learning what the time on the fries is at some fast food joint. Cause bitching out on your school work is gonna land you there. :cheers: