Home

Difference between Label and Literal control in Asp.Net

Posted by admin | On: Dec 01 2012 | Comments (0)
Most of us are always confused with Label and Literal controls while working with them. Following is the main difference between them: Label control always render text in span tag and thus styles can be applied to it. But, Literal control always render simple text...

Add options to an HTML select box with Javascript

Posted by admin | On: Nov 26 2012 | Comments (1)
To add Text or Option to html select (dropdown) through javascript: var select = document.getElementById("example-select"); select.options[select.options.length] = new Option('Text 1', 'Value1'); To reset the html select: var select = document.getElementById("example-select"); select.options.length...

Stored Procedure For Filtered Search

Posted by admin | On: Nov 03 2012 | Comments (2)
Hi Friends, Today I got struck into a problem and wasted my 1 hour for creating stored procedure for Filtered Search. Search results which are to be fetched from database are based on different parameters sent through dropdowns. Problem arises where any dropdown...

Restore or Move Sql Server 2008 database to Sql Server 2005

Posted by admin | On: Oct 15 2012 | Comments (1)
Hi Friends, Sometimes we need to restore Sql Server 2008 database to 2005 but mostly backups are incompatible. To accomplish this task SQL Server 2008′s Generate SQL Server Scripts Wizard is very helpful. Following are the steps to generate the script which...

Redesigning website by replacing old css with new one

Posted by admin | On: Oct 12 2012 | Comments (2)
Hi Friends, Sometimes we need to redesign the existing websites. This may be due to following of latest website trends or client’s requirement. Main issue which creates problem is conflicting of old css classes with new css classes. Following steps make redesigning...

Set your web application run on specific port on Local host

Posted by admin | On: Oct 11 2012 | Comments (1)
Hi Friends, Let’s learn how to set your web application run on specific port on local host. Following are the steps which are to be followed: Right click on your Project in solution explorer. Click on Properties. Select WEB Select the radio button for Specific...

Facebook authentication with Asp.Net

Posted by admin | On: Oct 11 2012 | Comments (1)
Hi friends, Let’s learn how to login your Asp.Net website using Facebook login button. Following are the steps to achieve this: Firstly create a Facebook application by visiting http://developers.facebook.com/setup/  Following window will be displayed   After...

Welcome to WithAsp.Net

Posted by admin | On: Oct 10 2012 | Comments (2)
  Welcome to this website. It was unknown to me that by the end of day I will be having a new website WithAsp.Net today. All happened in few minutes Hope it will help all of us in learning new concepts and coding practices.