Archive for May, 2009

List all the Logical Drive in the Computer : Windows Application, C#

Using System.Management name space we can read the all operating system details and we query System_Win32 database in the following example I am trying to read all the logical drives in the computer and list them in a ListBox and select a drive and you can browse all the files in the drive. So lets [...]

What’s New In Visual Studio 2010 ASP.NET 4.0

Microsoft has released Visual Studio 2010 and ASP.NET 4.0 beta 1 recently, I felt there are some amazing features which can help developers improve productivity. Please have look at screen shot of new feature below. 1) New Start page where you have 3 tabs, one is Welcome where we can find welcome note, feedback etc, [...]

Read & Write ListBox Item into File: Windows Application

Normally some projects will have very small requirement of storing data, so going to have database and storing small amount of data into database is not suitable answer, you can go for storing data into XML or txt file, in following example I am trying to read and write Listbox items into txt file. I [...]

Using SMOs, Read Tables Script using C#.NET

SQL Server Management Objects (SMOs) are used manipulate database for DBA activities via an application build by you, you can automate some of the DBA tasks by using SMOs in the application. In this article I am try to explain how we can use SMO to retrieve all the Table listed in Nortwind database and [...]

Search Files in a Directory : Windows Application

Following example I am trying to search files in a directory using a criteria, using DirectoryInfo.GetFiles() method we can search files with Criteria and you can use * to find all files those are starting with the some string. So lets start building example, create a windows forms application and add one label, text box, [...]

TechEd 2009 India Experience

I have attended Microsoft TechEd 2009 at Hyderabad HICC from 13 to 15 May 2009; it was great experience and a great chance to learn new technologies. Day 1 Experience: It was awesome to Steve Ballmer speaking at TechEd, he mentioned about present and future opportunities in the market and he mentioned that we need [...]

SQL Server 2008 Developer Training Kit Available

The training kit offers the following benefits: Learn how to build web applications that exploit the unique features and capabilities of SQL Server 2008. Provides a comprehensive set of presentations, demos and hands-on labs Designed for web developers who are already familiar with SQL Server application development. Easy to download and install and works on [...]