Dynamically generating thumbnail images in ASP.NET with C# without affecting initial page load time
Generating thumbnail in asp.net with C#
Filed under: ASP.NET | Tagged: thumbnail | No Comments »
Generating thumbnail in asp.net with C#
Filed under: ASP.NET | Tagged: thumbnail | No Comments »
Main Events ============= 1. OnPreInit 2. OnInit 3. OnInitComplete 4. LoadViewState 5. OnPreLoad 6. OnLoad 7. RaisePostBackEvent 8. OnLoadComplete 9. OnPreRender 10. OnPreRenderComplete 11. SaveViewState 12. OnRender 13. OnUnload
Detailed Events ============ 1. Constructor 2. Construct [...]
Filed under: Uncategorized | No Comments »
Simply writeDataTable dTable = dSet.Tables[0];foreach (DataRow row in dTable.Rows){ myValule = row["ColumnName"].ToString();}
Filed under: Uncategorized | No Comments »
While developing web sites, you must have came across situations where you need to write Meta tags from the user control or any class files.
At first look it seems very difficult but I think it is not that much.
In My example I am writing Meta contents of my page from a utility class file.
Lets say [...]
Filed under: Uncategorized | No Comments »
It is very frequntly asked question in any of the forum or question-answer section on websites. So I decided to write a very compact article with source code.
It is as simple as 123.
Lets start with creating a simple .aspx page where we will give a text box to enter user’s Name and a button to [...]
Filed under: Uncategorized | No Comments »
You must have came across some .css issues related with the browser behavior. Some of the styles that works in IE doesn’t work in FireFox.
In that situation you need to write conditional code for both browsers.Below is the sample code that demonstrate how to write conditional statement tin CSS.
<html> <head> [...]
Filed under: Uncategorized | No Comments »
You might have came across a situation where you need to pass a value from your .aspx page to the user control (.ascx). This is possible in several ways including storing values into session or database and again retrieving at the user controls.
However, the easiest and optimized way is to create a properties of the [...]
Filed under: Uncategorized | No Comments »
Code Updated on 21st April 2008 to support Sorting, Paging and data manipulation through Stored Procedure in DAL
Almost all of us must have heard about 3-Tier architecture but what is this 4-Tier architecture? What are the benefits and how it is different from other architectures?
Well, the architecture I am going to demonstrate here is [...]
Filed under: Architecture | No Comments »
There are several ways to populate DropDownList control. In this article I have tried to cover some of them including populating DropDownList manually, programmatically, through xml, database, arraylist, hashtable. I have also covered how to specify different background color of every items of the DropDownList and how to generate DropDownList on the fly. At last [...]
Filed under: Uncategorized | No Comments »
Hi, The other day I was facing problem while migrating my Sql Server database tables into MySql database. I tried to google it but couldn’t find any great solution that can do it through code easily. Thought to share this simple code to all of you.
Introduction
My problem was that I had a Sql Server database [...]
Filed under: Uncategorized | No Comments »