Vikram Lakhotia
The Online Weblog of Vikram Lakhotia
Sign in
|
Join
Home
Contact
About
RSS
Atom
Search
Tags
.NET
.NET FAQ
301 Redirect
AJAX
API
ASP.NET
asp.Net 3.5
Asp.Net 3.5 extension
Asp.Net 4.0
Asp.Net Ajax Extension
Asp.net MVC
Atlas
Award
Base Class Library
BCL
C#
Caching
Certification
ClientScript
Community News
comparison
compression
Content Page
Cookies
Database
deployment
Design Pattern
Dropdownlist
Encode
Event Handler
EventHandler
FindControl
Formview
General Software Development
Goto
GridView
Historical Debugger
How To
HTML
HTML Encode
IE8
IIS
IN
Incremental Crawl
Javascript
Label
LINQ
ListBox
Machine.config
Master
Master Page
Meta Tag
Microsft
MVC
MVP
MYSQL
NET
NetBook
Network
News
Observer
Open Format
Open Offcie
Oracle
ParseControl
Performance
Personal
Release
Request Validation
Security
SEO
Session
Sharepoint
Silverlight
SQL Server
SQL Server 2008
StopWatch
TechDays
teched
Training
Virtual Techdays
visual studio
Visual Studio 2010
Web Config
Web Platform Installer
Web Platform Installer 2.0
web.config
Windows 7
Windows Application
windows Forms
Windows Server 2008
Word 2007
Word Automation
Wrap
Sponsors
advertise here
News
Recieved ASIA MVP Certification Hero Award 2009
Recieved MVP Award for the year 2009
For my previous Posts, do checkout
VikramLakhotia.com
Visitors Map
Twitter Feed
Navigation
Home
Blogs
Archives
January 2011 (1)
October 2010 (1)
September 2010 (1)
August 2010 (6)
July 2010 (1)
May 2010 (1)
April 2010 (13)
February 2010 (7)
January 2010 (2)
October 2009 (3)
September 2009 (5)
August 2009 (6)
July 2009 (3)
June 2009 (1)
May 2009 (4)
April 2009 (6)
March 2009 (8)
February 2009 (2)
January 2009 (4)
December 2008 (2)
October 2008 (2)
September 2008 (1)
August 2008 (1)
July 2008 (6)
June 2008 (2)
May 2008 (2)
April 2008 (4)
March 2008 (6)
February 2008 (15)
What I Follow
Joe
MY Personal site
ScottGu
Just Like That
Farghana
Why Not
MY MVP Profile
forums.asp.net
Recent Posts
7
Comments
Microsoft MVP for the year 2011
by
vik20000in
It’s been three year in a row now. I am MVP for the year 2011 also. It feels so great to get the news that I have been MVP again. Very big thanks to the MVP Team, My MVP Lead and Microsoft for giving the MVP award to me for 3 year in a row. Also a great...
Filed under:
Personal
,
ASP.NET
,
Award
,
MVP
Comments
Inserting 40,000 records in MYSQL from Asp.Net
by
vik20000in
Recently I got a task of importing about 40,000 records for a fixed length delimited file to MY SQL database. Copying the data into a list of Business object was not a problem, but to insert about 40000 records in MYSQL in an asp.net application looked...
Filed under:
.NET
,
ASP.NET
,
Database
,
MYSQL
Comments
Major Asp.Net security issue found - Temporary workaround provided
by
vik20000in
A new vulnerability in asp.net application was found last friday. This vulnerability exists include in all the Asp.net sites, including Asp.Net (All versions), Asp.Net MVC, SharePoint, Any framework in Asp.Net Like Dot Net nuke etc. An attacker of this...
Filed under:
ASP.NET
,
Security
,
asp.Net 3.5
Comments
LINQ to SQL and Case statement
by
vik20000in
Working with LINQ I realized that I had to use the simple case statement in my SQL query. There is no special keyword for this. To create a case statement like structure you will have to do it in the select section of the query. Below is an example of...
Filed under:
ASP.NET
,
LINQ
,
asp.Net 3.5
Comments
Converting double to integer using cast and convert statement
by
vik20000in
Check out the code below. double d = 13.6; int i1 = Convert.ToInt32(d); int i2 = (int)d; if (i1 == i2) { Console.WriteLine("Equal"); } else { Console.WriteLine("Not Equal"); } The output of the above program would be “Not Equal”. The reasons being different...
Filed under:
.NET
,
How To
1
Comments
Bankers Rounding in Math.Round Method
by
vik20000in
What would be the output of the following program? Console.Write(Math.Round(-0.5).ToString() + “~”); Console.Write(Math.Round(0.5).ToString()+ “~”); Console.Write(Math.Round(1.5).ToString()+ “~”); Console.Write(Math.Round(2.5).ToString()+ “~”); If you...
Filed under:
.NET
,
C#
,
How To
1
Comments
Using Enviroment.FastFail method to exit the corrupt application Process
by
vik20000in
Have you ever had some point in code where you want to exit the application immediately? Normally for this purpose you would use the Application.Exit method. But Microsoft has provided a better method for this purpose which not only just exits the application...
Filed under:
.NET
,
windows Forms
Comments
Convert string to uppercase when comparing after normalizing instead of lowercase
by
vik20000in
While doing string comparison after normalizing (converting both string to upper case or lower case) we should always use the upper case. Upper case is optimized for normalization. A small group of characters, when they are converted to lowercase, cannot...
Filed under:
.NET
,
BCL
Comments
Finding Network statistics in Dot Net
by
vik20000in
Last few days while working with my broadband network (downloading few stuff) I wanted to check the exact amount of download per minute. I tried to check the data from task manager and resource monitor. But these gave data in terms of percentage of network...
Filed under:
.NET
,
C#
,
Network
Comments
Community Tech days on 11th July in Kolkata
by
vik20000in
We are having community Tech day’s event in Kolkata on 11th of July 2010. Event will be held in Moksh Banquet Hall, Block-A, 22 Camac Street, Kolkata 700016. Click here to Register for this CTD Some of the key topics of discussion in the event and the...
Filed under:
.NET
,
ASP.NET
,
News
,
visual studio
,
Community News
,
Asp.Net 4.0
,
Visual Studio 2010
More Posts
Next page »