P
pvong
Doing this in VB.NET w VS2008.
In my Sql, I have a SmallDateTime datatype. I have a simple TextBox1. I
have a simple DataReader set up to pull this value. All I want is the time
piece and it's coming over as the whole thing of 1/1/1900 2:45 PM. I only
want 2:45. Can someone help me format this? This is my line.
Textbox1.Text = dr.item("Time")
Thanks!
Phil
In my Sql, I have a SmallDateTime datatype. I have a simple TextBox1. I
have a simple DataReader set up to pull this value. All I want is the time
piece and it's coming over as the whole thing of 1/1/1900 2:45 PM. I only
want 2:45. Can someone help me format this? This is my line.
Textbox1.Text = dr.item("Time")
Thanks!
Phil