In my database the time datatype is nvarchar, and I m storing time in that field like Jan 1 1900 2:28PM.
Now I want to featch only time. for that i did as follows.
DateTime departureTime = Convert.ToDateTime( dt.Rows["Departure_Date"]);
so now I want to split this time into three string variables st1 ,st2, st3.
so that I can get those like this
st1 = 02
how to do this.
please le me know
View Complete Post