Link to home
Start Free TrialLog in
Avatar of Tom Knowlton
Tom KnowltonFlag for United States of America

asked on

formatting a column from result set

SqlDataReader runInfo = oCM.ExecuteReader(CommandBehavior.CloseConnection);
...
...
runInfo["checkdate"]



I want to make sure this displays as yyyyMMdd


(It is a DateTime field in a SQL Server table.)
ASKER CERTIFIED SOLUTION
Avatar of Thogek
Thogek
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial