Banner Ad

Thursday, January 10, 2013

Validators in ASP.Net – Part 2

By Francis   Posted at   12:36 PM   Validators in ASP.Net
Range Validator:
In my Previous post, I have explain about the Required Field Validator. In this article I’m going to explain about the Range Validator.Like Required Field Validator, Range validator is a server side control, which is used to validate a value falls between 2 values.

Friday, January 4, 2013

Validators in ASP.Net - Part 1

By Francis   Posted at   9:00 AM   Validators in ASP.Net

For any application, validation performs a key role. For this Microsoft provides the following types of validators:
1. Required Field validator
2. Regular Expression Validator
3. Range Validator
4. Compare Validator
5. Custom Validator
6. Validation Summary

Monday, June 25, 2012

First ASP .Net Application : The Solution

By Francis   Posted at   8:30 AM   VB.Net

In my previous post, I have explained how to add a VB.Net Web Solution. In this article I'm going to -provide the solution. If you want to see my previous post click here.

Monday, January 30, 2012

First ASP .Net Application

By Francis   Posted at   12:48 PM   No comments

In this first article, I’m going to take a simple program and explain it in detail. As I told already, I’m going to explain the concepts using the language VB.Net. So the coding snippets in VB.Net only.

So this is the first tutorial, I took a simple problem which cover almost everything ( I meant, it covers ADO.Net, SQL Server Connection etc).

The Problem:

In a web form (don’t confuse what is a web form!!!) I’m going to add the 2 dropdown namely:

1) Country Dropdown

2) State Dropdown

The Country Drop down contains a list of countries and the state contains list of states. Whenever the user select the country from country drop down, the respective states which is located on that Country will be loaded in to the State drop down.

Create A Project in Visual Studio:

Before that I will explain step by step how to add a project ASP.Net in Visual Studio 2010.

Step 1:

Open Visual Studio 2010. The Visual studio startup screen look like this.

VisualStudio-Startup-Screen

Step 2:

Click on “New Project”, which opens the following screen. Please take a close look in the highlighted areas.

VisualStudio-CreateNewProject

I have choosen, Visual Basic as a languge, “ASP.Net Web Application” as Project Template and "Target Framework version as 3.5.

VB-ASPDotNet-Application

Step 3:

After clicking on the “OK” button in the above screen. Solution file named as  “AllInOne” will be loaded in Visual Studio.

ASPDotNet-Application

Step 4:

In the right hand side a little window called as “Solution Explorer”, which listed all the files by clicking the “Show All Files” icon. (Take a look at the highlighted area).

Solution-Explorer

 

ShowAllFiles-SolutionExplorer

So in this tutorial, I explained how to add an Visual Studio project. In the next tutorial, I will explain the concepts.

Happy Programming!!!!

Monday, January 2, 2012

Beginning ASP.Net

By Francis   Posted at   11:49 AM   .Net. ASP.Net No comments
How to begin ASP.Net without these tools? So before that you need the following:
1. Visual Studio 2005 (OR) 2008 (OR) 2010
2. ASP.Net 2.0/3.0/3.5
If you want to connect databases like SQL Server then you need to install SQL Server also.
You can download all the above in the following link: http://www.asp.net/downloads
In the above link, you can only download express editions of Visual Studio 2010 and SQL Server Database.
Connect with Us