Tag: asp.net

How to connect .NET with mySQL?

mySQL is one of the most widely used open source databases around the world. Today this is the database engine driving up to 90% of PHP driven websites on the web. PHP has been the first love of mySQL and

Tagged with: ,

What to do if you get “It is an error to use a section registered as allowDefinition=’MachineToApplication’ beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS”

Please view the following URL for cause and resolution of this problem http://forums.asp.net/t/769696.aspx Most of the times this occurs if you have a more than web.config defined in your sub folders.

Tagged with: ,

How to create and use menu in ASP.NET?

To be frank I used to think that ASP.NET menu control was complex and hard to use. Boy was I wrong!!! ASP.NET provides a menu control which allows you set all its visual properties and menu items and voila start

Tagged with: ,

How to add a value to asp:Checkbox control and retrieve it on postback?

The <asp:Checkbox> is one of those controls in ASP.NET which does not have a default Value property in which you can store a value and retrieve it upon postback. This becomes a problem in cases where the value has to

Tagged with: ,

URL mapping in ASP.NET

I had a requirement from our SEO department for a website. They wanted to create some static URL sort of pages for a website they were working on and wanted those URLs to be placed on the website footer. Now,

Tagged with: , ,