How to connect ASP.NET application to use MySQL

Read more about How to connect ASP.NET application to use MySQL article

A very easy way to connect ASP.NET application to use MySQL database is to use the MySQL Net Connector. With just the following lines of code, you can easily hookup your ASP.NET application to any MySQL db.

How to solve unique group name for radio buttons

Read more about How to solve unique group name for radio buttons article

When using radio button in a repeater item template, there's a problem of grouping them to a unique name. Solution can be found: http://www.developer.com/net/asp/article.php/3623096

How to check if Constraint exist

Read more about How to check if Constraint exist article

A very useful statement to check if a constraint exists before do something to it. Note, we can never edit a constraint before deleting it and re-create. SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE CONSTRAINT_SCHEMA='dbo' AND CONSTRAINT_NAME='FK_37_Page_FK' AND TABLE_NAME='PageContent'

How to create Gradient effect background using C#

Read more about How to create Gradient effect background using C# article

Ever wanted to create a gradient image dynamically? This can easily be done using C# with the following snipplet of code. We can also specify the width, height, gradient direction (horizontal or vertical), and the two colors. By using LinearGradientMode class, a beautiful gradient image can be drawn in a sec.

Creating a XML based Dynamic Sitemap

Read more about Creating a XML based Dynamic Sitemap  article

Having a working sitemap in an ASP.NET application can't be anymore important. You can use it for navigations, breadcrumbs, etc. The default web.sitemap file is an XML file which provides the root node of the site, the SiteMapProvider used, and tracks the provider objects. System.Web.SiteMap inherits from System.Object. The default provider XMLSiteMapProvider works through the Web.sitemap. Besides being useful for site navigation, the sitemap also provides a easy way for search engines to look for pages on the site.

Make Firefox show fonts nicely as Internet Explorers

Read more about Make Firefox show fonts nicely as Internet Explorers article

I found something very interesting to know this morning, that is Firefox's always shown fonts in web page a little differently than IE browsers. IE tends to show fonts more smooth and nice. There's actually a way to change the settings so that Firefox could show fonts and lines more nicely like Internet Explorer. To do that...

DataBinder.Eval: 'System.Data.DataRow' does not contain a property

Read more about DataBinder.Eval: 'System.Data.DataRow' does not contain a property  article

For some reason, DataBinder.Eval(Container.DataItem, "id") will not work in li tag within the item template of a repeater. I had to use this: ((System.Data.DataRow)Container.DataItem)["id"].ToString()

Doroton, Leading French Food Manufacturer Website Up

Read more about Doroton, Leading French Food Manufacturer Website Up article

Doroton, a leading adelaide based food manufacturer specialising in wholeselling french tarts & patisserie has contracted Xplore to power their website. The website will showcase their wide range of popular products for leads and enquiries.

How to call parent and get data from usercontrol

Read more about How to call parent and get data from usercontrol article

UserControls are great, particularly in making the code more eye friendly, seperating big bunch of codes into different parts and be able to re-use them throughout the application. However, there are times when we need to reference something in the parent page or control from the usercontrol level. That's when I had an issue today, and finally solved it using the brilliant delegate.

Regular Expression for validating Australian phone numbers

Read more about Regular Expression for validating Australian phone numbers article

A very useful regular expression for validation Australian wide phone number, including mobile phones. This would accepts all forms of Australian phone numbers in different formats (area code in brackets, no area code, spaces between 2-3 and 6-7th digits, +61 international dialing code).