Programming / Coding, Technology »

[17 Nov 2010 | No Comment | 2,594 views]

If you get this error
the page cannot be displayed because an internal server error has occurred
most possible source of error would be something is wrong on your web.config settings.

Read more...

Programming / Coding »

[8 Nov 2010 | One Comment | 2,171 views]

With IIS 7 you can set the default document on your web.config file easily. Here is a demonstration how you can set Test.aspx as your default document.

Read more...

Programming / Coding »

[27 Oct 2010 | No Comment | 1,383 views]

This exception happens in your implementation of the Application_Start method in the global.asax file if you attempt to access the HttpContext of the request that started the application.

Read more...

Programming / Coding »

[21 Oct 2010 | No Comment | 1,790 views]

Sometimes if you save data to MS SQL by importing from external sources e.g. Excel file, or from user inputs on multi-column text field RTRIM might not work as you would expect it trim the right empty space.

Read more...

Programming / Coding »

[8 Oct 2010 | No Comment | 2,042 views]

If you want to select a comma separated list values for different rows for a column here is a simple approach of doing it.

Read more...

Programming / Coding »

[7 Oct 2010 | No Comment | 1,985 views]

Lets say you have a stored procedure that makes multiple select statements to return multiple sets of data. And you like to get them on your Asp .Net code.

Read more...

Programming / Coding »

[30 Sep 2010 | No Comment | 1,201 views]

If you place a AutoCompleteExtender with a page method placed in the code behind of the web user control, it doesnt seem to work.

Read more...

Programming / Coding »

[22 Sep 2010 | No Comment | 1,477 views]

If you need to use a CASE statement with the order by in Row_Number this is how you could do that.

Read more...

Programming / Coding »

[17 Sep 2010 | No Comment | 1,310 views]

This is a well-known problem with ie6. If you have an inner div with negative margin, placed within another div ie 6 cuts off the negative margin part.

Read more...

Programming / Coding »

[16 Sep 2010 | No Comment | 1,217 views]

f you have Skype browser plugin installed you will find the phone numbers on a webpage you are visiting getting replaced by a easy click to call through skype like thing.

Read more...