Archive for February, 2009

ASP.NET 3.5 AJAX Example

In this example I am Using AJAX to show how you can display data using AJAX.This will work very fast and you will see there is not page reload is occurring

Create a Web Application and modify Default.aspx html content I am adding Script manager control and a Update [...]

ASP.NET MVC Example - Part 3

Hope you have read and understood Part-1 and Part-2 of this article, in this part we are actually dealing with MVC architecture of ASP.NET, as we have already created middle tier which is Model in MVC now we are going to implement View part of the MVC.
We will create a Index page which will have [...]

Displaying Multi Language Data on an ASP.NET web page

Handling multi language data is very much important these days; localization of your web page can increase the visitors.
 
 Here in this article I am trying to explain how to deal with the multi language data, here I am trying to explain how you can insert data into SQL Server database and retrieve the data from [...]

ListView Groups Example

ListView Groups Example:
This example reads a directory in windows and list out all files in groups, for example I have .doc and .xls etc files in my directory it creates 2 groups and add files according to groups
• Create a windows application
• Drag and drop ListView Control on to the form
• Drag and drop FolderBrowseDialog [...]

Generating Auto Number

This code snippet will generate a Auto Number with your format, I tried generalize as much as possible, this function allows to decide how many digits you want have and you have a Pre Fix to your Auto Number.

public string GenerateAutoNumber(string preFix, int numberOfDigits, string currentNumber)
{
//preFix : it can be any string which you want [...]

ASP.NET MVC Example - Part 2

I hope you read part -1 of this example and understand a basic and high level of over view of MVC architecture, in this part I will be talking above the Model (Business logic Layer)
Part – 1: Creating basic MVC project
Part – 2: Creating Business Logic layer
Part – 3: Interacting with Model

This is general [...]

ASP.NET MVC Example - Part 1

I am starting an example on ASP.NET MVC; I am planning to have 3 parts of this example so that it will be easy for understanding.
Structure of the example:
Part – 1: Creating basic MVC project
Part – 2: Creating Business Logic layer
Part – 3: Interacting with Model
 
 
To create an ASP.NET MVC web application, go to [...]