how to connect my guizduino to MySql Database using C# programming langguage?

Good Day!

I'm asking for help to anybody who has knowledge or an idea on how do I connect my gizduino on a mysql databe using C#. what i want to do is to be able to compare data from my database and to the current data readings from my gizduino. If it helps, the data will be temperature readings of the soil, if the reading I get from the gizduino is higher than the one stored at the data base. The system will sprinkle water.that is pretty much what i wanted to do.

PLEASE HELP ME!! =(

(deleted)

Hi, im using a database so I can add data and store it for a period of time.

(deleted)

i need to compare data from the database and also store data.i nid to store data to it so in will compare it thru the database.. is it possible?or I'am I explaining poorly? dont worry sir. any reply is appreciated, positive or negative :)

(deleted)