duplo1
Posts: 67
|
Posted: 10/03/2009, 8:38 AM |
|
Could someone please help me with parsing the time in an ASP.net C# Project ? I need to insert values of a Time Filed.
Here is what I have got so far:
string StartX = Project_Activities.GetControl<MTTextBox>("Time_Start").Text.ToString();
insert.Parameters["Time_Start"].Value = DateTime.Parse(StartX, CultureInfo.InvariantCulture);
With these two parameters it inserts the date portion only, but on the TIME. It inserts 2009-10-03 00:00:00.000.
What am I doing wrong ??????
Please help !
|
|
|
cesario1977
Posts: 27
|
Posted: 10/06/2009, 11:19 AM |
|
See this..
ToString()..
_________________
César Castro
CodeCharge Studio Developer
|
|
|
duplo1
Posts: 67
|
Posted: 10/08/2009, 6:11 AM |
|
What do you mean by "ToString().." ????
|
|
|
|