Data Types from Datareader
-
Hi guys I'm quite new to c# I'm writing a little jobby to spit the contents of a SqlDataReader out into an HTML table as a string. How can I find the datatype of each field in the data reader so that I can format it correctly? (dates, money etc) Thanks :-D
If your wife wants to learn to drive, don't stand in her way...
-
Hi guys I'm quite new to c# I'm writing a little jobby to spit the contents of a SqlDataReader out into an HTML table as a string. How can I find the datatype of each field in the data reader so that I can format it correctly? (dates, money etc) Thanks :-D
If your wife wants to learn to drive, don't stand in her way...
SqlDataReader.GetDataTypeName : Gets a string representing the data type of the specified column
-
Hi guys I'm quite new to c# I'm writing a little jobby to spit the contents of a SqlDataReader out into an HTML table as a string. How can I find the datatype of each field in the data reader so that I can format it correctly? (dates, money etc) Thanks :-D
If your wife wants to learn to drive, don't stand in her way...
-
Hi guys I'm quite new to c# I'm writing a little jobby to spit the contents of a SqlDataReader out into an HTML table as a string. How can I find the datatype of each field in the data reader so that I can format it correctly? (dates, money etc) Thanks :-D
If your wife wants to learn to drive, don't stand in her way...
Unsy wrote:
a little jobby
You're not in Scotland, are you? This has quite a different meaning there. Although it's usually referred to as 'a wee jobby'. :)
Regards David R --------------------------------------------------------------- "Every program eventually becomes rococo, and then rubble." - Alan Perlis The only valid measurement of code quality: WTFs/minute.