Click here to Skip to main content
15,887,343 members
Home / Discussions / C#
   

C#

 
GeneralRe: login authentication Pin
Dave Kreskowiak9-May-13 1:37
mveDave Kreskowiak9-May-13 1:37 
GeneralRe: login authentication Pin
geo thomas9-May-13 19:00
professionalgeo thomas9-May-13 19:00 
Questionrunning asp.net website in a windows application Pin
mrkeivan7-May-13 22:25
mrkeivan7-May-13 22:25 
AnswerRe: running asp.net website in a windows application Pin
Dave Kreskowiak8-May-13 2:06
mveDave Kreskowiak8-May-13 2:06 
AnswerRe: running asp.net website in a windows application Pin
Abhinav S8-May-13 21:22
Abhinav S8-May-13 21:22 
QuestionIIS security settings and different permission Pin
ashabhatt27077-May-13 19:52
ashabhatt27077-May-13 19:52 
SuggestionRe: IIS security settings and different permission Pin
Richard MacCutchan7-May-13 21:14
mveRichard MacCutchan7-May-13 21:14 
Questionsave time with the desired date Pin
demoninside97-May-13 18:38
demoninside97-May-13 18:38 
hi all,
below is my aspx code

<pre lang="HTML"><MKB:TimeSelector ID="TimeFrom" runat="server" DisplaySeconds="False">
</MKB:TimeSelector></pre>

and a text box which is having a date.

<pre lang="HTML">VehicleBookingDate.Text</pre>

I want to save date and time in my database. for that if I want to do like below

<pre lang="HTML"> string t1 = tsTimeFrom.Hour.ToString() + ":" + tsTimeFrom.Minute.ToString() + " " + tsTimeFrom.AmPm.ToString();

DateTime Time_From = Convert.ToDateTime(t1);</pre>

It saves time with current date, where as I want to save this time with this date which is in VehicleBookingDate.Text.

how can I do that.

Thanks
AnswerRe: save time with the desired date Pin
demoninside97-May-13 20:05
demoninside97-May-13 20:05 
AnswerRe: save time with the desired date Pin
Richard MacCutchan7-May-13 21:06
mveRichard MacCutchan7-May-13 21:06 
QuestionUser defined functions for Excel 2010 in .NET: args linked to cells don't work Pin
PozzaVecia7-May-13 11:02
PozzaVecia7-May-13 11:02 
AnswerRe: User defined functions for Excel 2010 in .NET: args linked to cells don't work Pin
Dave Kreskowiak7-May-13 15:10
mveDave Kreskowiak7-May-13 15:10 
AnswerRe: User defined functions for Excel 2010 in .NET: args linked to cells don't work Pin
PozzaVecia7-May-13 18:48
PozzaVecia7-May-13 18:48 
GeneralRe: User defined functions for Excel 2010 in .NET: args linked to cells don't work Pin
Dave Kreskowiak8-May-13 2:14
mveDave Kreskowiak8-May-13 2:14 
QuestionSolution Explorer to be shown on the toolbar Pin
indian1437-May-13 7:15
indian1437-May-13 7:15 
AnswerRe: Solution Explorer to be shown on the toolbar Pin
Dave Kreskowiak7-May-13 7:41
mveDave Kreskowiak7-May-13 7:41 
GeneralRe: Solution Explorer to be shown on the toolbar Pin
T Pat7-May-13 20:00
T Pat7-May-13 20:00 
AnswerRe: Solution Explorer to be shown on the toolbar Pin
Pete O'Hanlon7-May-13 8:16
mvePete O'Hanlon7-May-13 8:16 
AnswerRe: Solution Explorer to be shown on the toolbar Pin
Anna King8-May-13 3:07
professionalAnna King8-May-13 3:07 
GeneralRe: Solution Explorer to be shown on the toolbar Pin
Pete O'Hanlon8-May-13 3:47
mvePete O'Hanlon8-May-13 3:47 
QuestionBackground worker with progress bar timing issue Pin
Blubbo7-May-13 5:02
Blubbo7-May-13 5:02 
AnswerRe: Background worker with progress bar timing issue Pin
Eddy Vluggen7-May-13 9:28
professionalEddy Vluggen7-May-13 9:28 
AnswerRe: Background worker with progress bar timing issue Pin
Matt T Heffron7-May-13 11:31
professionalMatt T Heffron7-May-13 11:31 
GeneralRe: Background worker with progress bar timing issue Pin
Blubbo8-May-13 8:18
Blubbo8-May-13 8:18 
SuggestionRe: Background worker with progress bar timing issue Pin
Matt T Heffron8-May-13 8:50
professionalMatt T Heffron8-May-13 8:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.