The MYSQLWrapper Class is a small and simple to use solution for accessing serverside MySQL Databases at a standard webspace that supports php and mysql.
I thought it would be useful because many of you have got those cheep php/mysql supported sites and want to use data at client side.
SQL queries and non query commands proceed as follows:

  1. The client side c# programm passes the needed sql command to the serversided script using http request.
  2. The serversided script performs sql statement an returns the result, if there is any, back to the client
  3. Now the client parses returned data and creates a Resultset that behaves simliar to the sqlDataReader

The Code Project C# MYSQLWrapper Class and PHPWrapper-Script

Powered by ScribeFire.