C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Resources » Code Snippets » VB.NET Syntax »

Asp.net using VB.net


Posted Date: 22 Jul 2009    Resource Type: Code Snippets    Category: VB.NET Syntax
Author: mausumiMember Level: Gold    
Rating: 1 out of 5Points: 3



Asp.net is a technology for developing websites by using any programing language of ms.net


File-->new website-->location--->file system path--->D:\VB webstes(browse it)
Lang--->VB.Net default.asx


Sample application
-------------------

Steps-
1. Place a Login control on the form.
2. Double click and write the following code.
3.
 
If(Login1.UserName="VB.net" and Login1.passwrd="VB.net")
Then
Response.Redirect("Valid.aspx")
Else
Response.Redirect("Invalid.aspx")
End if
End class
End sub

//when the user enter valid username and password then it will redirect to valid.aspx page else Vice Versa.

For more details, visit www.w3school.com



Responses

Author: Charles    24 Jul 2009Member Level: Gold   Points : 0
cool post


Feedbacks      
Popular Tags   What are tags ?   Search Tags  
Sign In to add tags.
Microsoft Jobs  .  

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Dynamically align the Form in a screen based on users screen resolution
Previous Resource: Retrieval of SQL database system Object details
Return to Discussion Resource Index
Post New Resource
Category: VB.NET Syntax


Post resources and earn money!
 
More Resources



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use