Monthly Archives: June 2012

Object reference not set to an instance of an object in MVC

This is the common error in MVC when you navigate to a View, “Object reference not set to an instance of an object”.   When you right click go to the controller then you will see the code like below. … Continue reading

Posted in .Net | Tagged | 1 Comment

Add a button to ASP.NET MVC View

I have seen many users struggle in how to put the button and add the handle to it in MVC. The following steps are doing this.   1. Add html input button into the View Page.   <inputid=”Button1″type=”button”value=”button”/>   2. … Continue reading

Posted in .Net | Tagged | 1 Comment

Updating using SqlCommandBuilder

This is no longer something new. It is still one of the very handy ways to update the data in SQL database, despite it is SyBase, MS SQl or Oracle. You need no to implicitly specify InsertCommand, UpdateCommand, or DeleteCommand … Continue reading

Posted in .Net | Tagged | Leave a comment