CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP.NET - InMotion Framework

 Parsing Time

Print topic Send  topic

Author Message
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 !
View profile  Send private message
cesario1977

Posts: 27
Posted: 10/06/2009, 11:19 AM

See this..
ToString()..


_________________
César Castro
CodeCharge Studio Developer
View profile  Send private message
duplo1

Posts: 67
Posted: 10/08/2009, 6:11 AM

What do you mean by "ToString().." ????
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.