Yanesh Tyagi on ASP.Net
Technical blog of Yanesh Tyagi
-
K-MUG Presentation on Visual Studio Productivity Tips
Today I delivered a presentation on the Visual Studio Productivity Tips on the K-MUG meeting. The points that I discussed in the presentation was: Death by thousand tiny cuts Using keyboard … more
-
Dealing with multiple instance of Excel (or any other COM object)
In an application, I have to call many functions of Excel for my financial and statistical calculation. For this, I created an class named ExcelObject. This class has static members like … more
-
Implementing Delete Confirmation Dialog in List View (ASP.Net) – Part 2
In my previous blog post I described how to implementing delete confirmation dialog in ListView Control of ASP.Net. In one comment Dan Gilleland asked how to get the localized message text from … more
-
.NET Framework FX 4 Beta 1 – What’s New
Today, Microsoft launched Visual Studio 2010 and .Net FX 4 Beta 1. This is available to the MSDN subscribers only. Don’t loose heart. It will be available to everybody on Wednesday. .Net Framework 4. … more
-
Code Snippet for Automatically Implemented Property
Code snippets allows programmers to extend auto-complete feature of Visual Studio. Code snippets enables a programmer to create an auto-complete that will appear in the intellisense. It also allows a … more
-
Mystery of Not Operator in VB.Net
(Not 2) = -3. Strange! Read below. In VB.Net, non-zero integer is evaluated as True and an integer whose value is zero is evaluated as False. This is known fact since earliest version of Visual … more
-
Implementing Sorting in Generic List (List<T>)
How to sort a generic list? Well, generic list provides a sort method itself in the form List<T>.Sort(). But wait a sec. This method requires you to implement sorting mechanism in your type. … more
-
Implementing Delete Confirmation Dialog in ListView Control (ASP.Net)
Listview control is one of my favorite controls added in asp.net version 3.5. It provides easy way to implement view (list), update, insert and delete functionality. Using SQL Data Source or LINQ … more
-
Converting Text into Image On-The-Fly
Sometimes we need to convert text into the images on the fly. This code converts the text into image and displays it onto the web page without saving it into a file on the disk. It also takes care of … more
-
Ajax Control Toolkit - Controls Disabled in Tool Box
Having my PC broken, I had to work on another machine. I downloaded Visual Web Express and Ajax Control Toolkit. I installed the toolkit as described by Nannette. But nothing appeared on my toolbox. … more