Advertisement

01.20.2008 at 07:28PM PST, ID: 23097391
[x]
Attachment Details

asp.net / c# / date time -- variable settings

Asked by amillyard in Microsoft Visual C#.Net, .NET Framework 2.0, Visual Studio 2008

Tags: c#, asp.net 2.x

I use an aspx form to collect the date (3rd party date control) and hours and minutes via 2 seperate dropdown menus.

These are updating a database via a stored procedure process as follows:

scCommand.Parameters.AddWithValue("@ManualDate", DatePicker_ProspectCallBack.SelectedDate);
scCommand.Parameters.AddWithValue("@ManualHour", DropDownList_ManualHour.Text);
scCommand.Parameters.AddWithValue("@ManualMinutes", DropDownList_ManualMinutes.Text);

My question is how get all these 3 entries into 1 field (smalldatetime) -- so I can add that as a single entry within the database table.

Thank you in advance for your time and efforts with this enquiryStart Free Trial
[+][-]01.20.2008 at 08:10PM PST, ID: 20703829

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.20.2008 at 08:22PM PST, ID: 20703872

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.20.2008 at 08:26PM PST, ID: 20703884

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.20.2008 at 09:00PM PST, ID: 20704003

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.21.2008 at 03:35AM PST, ID: 20705118

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.22.2008 at 03:13PM PST, ID: 20719421

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.22.2008 at 09:16PM PST, ID: 20720979

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Visual C#.Net, .NET Framework 2.0, Visual Studio 2008
Tags: c#, asp.net 2.x
Sign Up Now!
Solution Provided By: sachintana
Participating Experts: 2
Solution Grade: A
 
 
[+][-]01.24.2008 at 04:52PM PST, ID: 20739183

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628