473,396 Members | 1,893 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

aspx or aspc.vb which one should i use

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
Jan 18 '08 #1
2 1235
Dear Jeevan,

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

Both are equally good.

Regards
Sanket
"Jeevan" <je****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
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
Jan 18 '08 #2

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" <je****@microsoft.comwrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
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

Jan 18 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stevie_mac | last post by:
It might be me but... I dont seem to get a Page_Load event when a opening an ASPX in an iFrame. I do geta Page_Load event when an item on the ASPX (inside the iFrame) is clicked but then...
1
by: Jerry Tovar | last post by:
I am using .Net 2003 on a XPPro running IIS. I am unable to view any of my ASPX webforms in a browser unless I modify the .ASPX file and replace Codebehind="employee.aspx.cs" with...
3
by: Tom | last post by:
Hi, I have an index.aspx page which includes top.aspx, left.aspx, main.aspx and bottom.aspx. In the left.aspx, there is a login web control - login.ascx. It keeps session of username and role...
6
by: John Lau | last post by:
Hi, I am looking at the MS KB Article 306355: HOW TO: Create Custom Error Reporting Pages in ASP.NET by Using Visual C# .NET This article describes how to redirect errors to a custom html...
3
by: DavidS | last post by:
Have parent.aspx from which I open Driver.aspx form via button on parent.aspx. When I first open the modal dialog, the driver.aspx Page_Load function is called. After I close the dialog, then...
3
by: Evan | last post by:
I have a web page with 2 frames. The left frame is running menu.aspx and the right frame is running images.aspx. When a selection is made in menu.aspx I call a method in images.aspx and pass a...
10
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and...
2
by: mharness | last post by:
Hello, I've tried a number of examples showing how to read the properties of a user control from an aspx file where the code is on the html view of the form but I can't figure out how to read...
24
by: John Rivers | last post by:
ASPX which means ASPX pages, the code-behind concept, User Controls, Web Controls etc. is very poorly designed and makes it extremely hard to develop professional quality web applications. ASPX...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.