March 6th, 2009, 11:28 AM
What are the C# equivalent data types to Sql's varchar and datetime
I have varchar and datetime in a Sql database and I can't figure out what kind of datatypes to use when coding the sql statements in a C# application. Can anyone recommend anything? I tried using 'char' but it says that it can't convert from system.string to system.char...
March 6th, 2009, 12:12 PM
System.DateTime and System.String would be your equivalents. how are you coding the sql statements? are you just using sstring like
str_sql = "select * from persons"
or are you using somethihng like a SqlCommand object and adding parameters?
Use Graphical filters in columns.This feature enables the programmer to implement any graphical filter that can be used for interactive data filtering. Any graphical control placed in drop down box can be used as a filter.