J.J.Baxter - My place on the web - interests, hobbies, thoughts & ruminations
Home / Blog
Books
Links
Images
Aug Sep-2010 Oct
SMTWTFS
2930311234
567891011
12131415161718
19202122232425
262728293012
3 4 5 6 7 8 9
Reset Calendar
Snorg Girls
Programming Tips
Sherlock Holmes
Mythbusters
Gallipoli
Nova Science Now
Ajax Loading Images
The Girls of Dr. Who
Keratosis Pilaris (KP)
Amazing Water
Buy me a drink? I'll have a Cappuccino, thanks.
Random Images
Random Link
Cute Overload
Random Book
Deep Six
by Jack McDevitt






All Rights Reserved 2008
JJBaxter.com

J.J.Baxters Development Tips & Snippets
backBack
 return the DateTime value from a recordset (c# : 27-Jun-2007)
DateTime dLaunch = oRs.GetDateTime(oRs.GetOrdinal("launch_date"));

or use this function to make it easier to read

public static DateTime GetDateTime(OleDbDataReader reader,string colName) {
    return reader.GetDateTime(reader.GetOrdinal(colName));
}
DateTime dLaunch = GetDateTime(oRs,"launch_date");