how to create connection using class file in C# for windows application?... how to develop Data access layer... regarding 3-tire architecture using mysql databases
i want to bind image in image control but according to the value in Eval
if Eval == True
then
imageurl = "image1"
else
imageurl = "image"
how to write if condition with eval to get above output
I am using C# code for inserting record and datetimepicker control for Date
I want to insert Date like 24-05-2010 in MySQL Database
What Datatype i have to use for that in MySQL table
and how to right insert query for to insert date?