Archive for the 'ASP.NET' Category

External Images in .rdlc Reports : ASP.NET

In this example I will explain how we can use external images in .rdlc reports.Create a Web Application. Right click on Project in Solution Explorer –> Add New Item – Select a .rdlc Report Now Drag and Drop a image control in Header section in the Report.rdlc Go to Report Menu in Visual Studio and [...]

Microsoft Implementation of Web 2.0 : Kobe

Web 2.0 much discussed term nowadays; what is Web 2.0 lets us first define what Web 1.0 and then come to Web 2.0. Web 1.0: Normal web applications which provide some information and very minimal user interaction with the application, this is server centric Web 2.0: A rich Web application which provides more interactions with [...]

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 Panel control, Under Update panel control [...]

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 [...]

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 [...]

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 [...]

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 [...]