ChAMPU ASP .NET
CUT AND PASTE

Do You Need Help?

Yeah. This script can help you if you make ASP .NET forms. This is an example:

fecha        DATETIME      TEXTBOX
nombre       VARCHAR(50)   TEXTBOX
apaterno     VARCHAR(50)   TEXTBOX
amaterno     VARCHAR(50)   TEXTBOX
calleYNo     VARCHAR(50)   TEXTBOX
colonia      VARCHAR(50)   TEXTBOX
delegacion   VARCHAR(50)   TEXTBOX
cp           VARCHAR(10)   TEXTBOX
telefono     VARCHAR(50)   TEXTBOX
rfc          VARCHAR(50)   TEXTBOX

cveVehiculo  INTEGER       TEXTBOX
detalles     VARCHAR       TEXTBOX
matricula    VARCHAR       TEXTBOX
regional     VARCHAR       TEXTBOX

id           VARCHAR(50)*  TEXTBOX
area         VARCHAR(50)   TEXTBOX
status       INTEGER       DROPDOWNLIST
comentarios  TEXT          TEXTBOX

marcas       INTEGER       DROPDOWNLIST(ado:Adobe,ms:Microsoft,sun:Sun,orc:Oracle,ibm:IBM)
sexo         INTEGER       RADIOBUTTONLIST(m:masculino,f:femenino)
famoso       BIT           CHECKBOX

Just copy the example to the Structure textbox and press That's All button. Then, a new window it's going to pop up with your toasted code.

You might not leave blank spaces where they are not necessary.

You'll have problems if you use Internet Explorer 6. That browser doesn't handle Content-Type: text/plain.

NOTES:

The VARCHAR(20) siyntax gets the MaxLenght="20" porperty. This doesn't happend with a VARCHAR alone.

The asterisk means required field. Obviously, we add a RequiredFieldValidator tag.