Archive for the ‘Visual Studio’ Category

If in a table, some columns occasionally contain null values, then while trying to retrieve the values, the following error is shown:

Conversion from type ‘DBNull’ to type ‘String’ is not valid.

To solve this problem, we can check if the Datareader has a null value for the column, and if yes, then just getting the TextBox to show an empty string.

If DBNull.Value.Equals(dataReader1(“Column_Name”)) Then

TextBox.Text = “”

Else

TextBox.Text = dataReader1(“Column_Name”)

End If


Share, Socialize:
  • Digg
  • del.icio.us
  • Technorati
  • Mixx
  • Facebook
  • Google Bookmarks
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • YahooMyWeb

Koders.com is a leading open source code search engine from Black Duck Software. It enables software developers to easily search and browse source code in thousands of projects posted at hundreds of open source repositories.

These guys have a really cool plugin for Visual Studio IDE that lets the developer search for code directly within the IDE without the need of a browser. What’s even more exciting is that as a developer types in the terms, the plugin performs a SmartSearch in the background, identifies results based on the term, and displays them right in the IDE. To further learn about how the SmartSearch works, watch this demonstration video.

You can get the Koders plugin for Visual studio here.

Share, Socialize:
  • Digg
  • del.icio.us
  • Technorati
  • Mixx
  • Facebook
  • Google Bookmarks
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • YahooMyWeb

Microsoft today revealed details of Visual Studio 2010 (code-named “Rosario”) and .NET framework 4.0. This next generation ‘Integrated Development Environment’ focuses on the following five points as given in the Visual Studio 2010 webpage.

  • Democratizing Application Lifecycle Management
  • Enabling emerging trends
  • Inspiring developer delight
  • Riding the next generation platform wave
  • Breakthrough Departmental Applications

In related news, Scott Guthrie yesterday announced on his blog that from now on  jQuery will be distributed with Visual Studio (including jQuery intellisense, snippets, examples, and documentation). This is a real exciting news since jQuery is a great lightweight library for Javascript, widely used by developers.

Share, Socialize:
  • Digg
  • del.icio.us
  • Technorati
  • Mixx
  • Facebook
  • Google Bookmarks
  • Reddit
  • Slashdot
  • StumbleUpon
  • Live
  • YahooMyWeb

About



Hello, I am Pushkar Singh Arora. I am currently a Computer Science student and I love to learn new technologies, specially in software programming.

This Blog is my portal to online world where I put in my thoughts, Mac tips, exciting new things I learn (or already learned), links to articles I find interesting as well as lots of random stuff.


Home Office Furniture with Free Shipping


I now work for Wholesale Furniture Brokers as a programmer and I highly recommend that you check out our selection of home office furniture if you are looking for office chairs, filing cabinets, or even computer desks. We offer free shipping on everything and I’ve actually seen the furniture in person and the quality is better than I imagined.