Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > aspx or aspc.vb which one should i use

Reply
Thread Tools

aspx or aspc.vb which one should i use

 
 
Jeevan
Guest
Posts: n/a
 
      01-18-2008
hello
when should i use the aspx file to write code and when the aspx.vb ?
should i use only one (any) to write the code?
i want to check the name and password entered by the user with the data in
my database and if found any match then display his name on next page ?
how to do this?
i know ASP , but new in ASP.NET.and a self learner
please help.
thanks for reading this


 
Reply With Quote
 
 
 
 
Sanket Sirotiya
Guest
Posts: n/a
 
      01-18-2008
Dear Jeevan,

You can use either C# or VB.NET based on your preference.

Both are equally good.

Regards
Sanket
"Jeevan" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> hello
> when should i use the aspx file to write code and when the aspx.vb ?
> should i use only one (any) to write the code?
> i want to check the name and password entered by the user with the data in
> my database and if found any match then display his name on next page ?
> how to do this?
> i know ASP , but new in ASP.NET.and a self learner
> please help.
> thanks for reading this
>


 
Reply With Quote
 
 
 
 
sloan
Guest
Posts: n/a
 
      01-18-2008

Using the code behind file.....is usually better for maintenance. (My
opinion).

What MS has done is allow you to not use the code behind files .... and this
is the "Rapid Development Model".
Aka, you could prototype a website very quickly, because you only have to
drag some controls, set the Table you're using in the database, and all teh
code will be generated for you....aka, the "rapid" part.

RAPID != (or <>) to GOOD development in my opinion.

You'll be happier in the end of you use code behind. It will make
maintenance much easier in the end.

...

But again, its what you're doing. If you need to protoype a website
quickly, then use the RAPID model.

The problem is that sometimes people take their prototype sites and use them
as the base for the real site.
This is a huge mistake (my opinion again).

Good luck.





"Jeevan" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> hello
> when should i use the aspx file to write code and when the aspx.vb ?
> should i use only one (any) to write the code?
> i want to check the name and password entered by the user with the data in
> my database and if found any match then display his name on next page ?
> how to do this?
> i know ASP , but new in ASP.NET.and a self learner
> please help.
> thanks for reading this
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Property. Which one should I use? shapper ASP .Net 3 05-31-2007 03:48 PM
Microcontrollers: which one ? which language ? which compiler ? The Jesus of Suburbia NZ Computing 2 02-11-2006 06:53 PM
adding main.aspx.vb & main.aspx.resx under aspx John M ASP .Net 1 05-29-2005 09:27 PM
Multiple aspx for one aspx.cs Iain ASP .Net 0 06-24-2004 11:20 AM
including one aspx file in another aspx file vish ASP .Net 2 07-16-2003 10:29 PM



Advertisments