Click here to Skip to main content
15,560,618 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to work on toggle button when two text fields in which we need one field require and save data and another second filed control toggle button. Pin
OriginalGriff7-Sep-16 22:58
mveOriginalGriff7-Sep-16 22:58 
Questionnoob need some help Pin
jimboo12327-Sep-16 8:31
jimboo12327-Sep-16 8:31 
AnswerRe: noob need some help Pin
OriginalGriff7-Sep-16 9:06
mveOriginalGriff7-Sep-16 9:06 
QuestionEntity Framework: How to migrate a change for specific table Pin
Tridip Bhattacharjee7-Sep-16 3:51
professionalTridip Bhattacharjee7-Sep-16 3:51 
AnswerRe: Entity Framework: How to migrate a change for specific table Pin
Dave Kreskowiak7-Sep-16 4:49
mveDave Kreskowiak7-Sep-16 4:49 
GeneralRe: Entity Framework: How to migrate a change for specific table Pin
Tridip Bhattacharjee12-Sep-16 22:39
professionalTridip Bhattacharjee12-Sep-16 22:39 
GeneralRe: Entity Framework: How to migrate a change for specific table Pin
Dave Kreskowiak13-Sep-16 3:34
mveDave Kreskowiak13-Sep-16 3:34 
QuestionC# windows forms With MS SQL DataBase Pin
Zeyad Jalil7-Sep-16 0:56
professionalZeyad Jalil7-Sep-16 0:56 
Hi,

I Have a C# windows application and it is connected to MS SQL database using direct connection, the database is in server and the application in a client machine (other PC).

My question is when I save a transaction from client PC with datetime to a table in the sql databse on the server (DateTime.Now) get the client datetime, I need to insert the Server datetime not the client, please let me know is it possible to do this.

Insert into XYZ(ID,Name,InsertDate) Values (1,'Test',DateTime.Now)

I need DateTime.Now to be server datetime, and Don't need to use getDate() sql.

Thank You
AnswerRe: C# windows forms With MS SQL DataBase Pin
Garth J Lancaster7-Sep-16 1:14
professionalGarth J Lancaster7-Sep-16 1:14 
GeneralRe: C# windows forms With MS SQL DataBase Pin
Zeyad Jalil7-Sep-16 1:17
professionalZeyad Jalil7-Sep-16 1:17 
AnswerRe: C# windows forms With MS SQL DataBase Pin
OriginalGriff7-Sep-16 1:46
mveOriginalGriff7-Sep-16 1:46 
AnswerRe: C# windows forms With MS SQL DataBase Pin
Pete O'Hanlon7-Sep-16 2:16
mvaPete O'Hanlon7-Sep-16 2:16 
QuestionCreate a static class to return properties Pin
Mycroft Holmes6-Sep-16 23:02
professionalMycroft Holmes6-Sep-16 23:02 
AnswerRe: Create a static class to return properties Pin
#realJSOP7-Sep-16 2:19
mva#realJSOP7-Sep-16 2:19 
AnswerRe: Create a static class to return properties Pin
Pete O'Hanlon7-Sep-16 3:10
mvaPete O'Hanlon7-Sep-16 3:10 
GeneralRe: Create a static class to return properties Pin
Mycroft Holmes7-Sep-16 3:48
professionalMycroft Holmes7-Sep-16 3:48 
AnswerRe: Create a static class to return properties Pin
Richard Deeming7-Sep-16 3:17
mveRichard Deeming7-Sep-16 3:17 
GeneralRe: Create a static class to return properties Pin
BillWoodruff7-Sep-16 6:08
professionalBillWoodruff7-Sep-16 6:08 
GeneralRe: Create a static class to return properties Pin
Richard Deeming7-Sep-16 7:59
mveRichard Deeming7-Sep-16 7:59 
Questionhow to add localdb in console apps using vs2013 Pin
Tridip Bhattacharjee6-Sep-16 0:18
professionalTridip Bhattacharjee6-Sep-16 0:18 
AnswerRe: how to add localdb in console apps using vs2013 Pin
OriginalGriff6-Sep-16 0:31
mveOriginalGriff6-Sep-16 0:31 
AnswerRe: how to add localdb in console apps using vs2013 Pin
ZurdoDev6-Sep-16 5:12
professionalZurdoDev6-Sep-16 5:12 
GeneralRe: how to add localdb in console apps using vs2013 Pin
Eddy Vluggen6-Sep-16 6:20
professionalEddy Vluggen6-Sep-16 6:20 
GeneralRe: how to add localdb in console apps using vs2013 Pin
ZurdoDev6-Sep-16 6:53
professionalZurdoDev6-Sep-16 6:53 
Questionreceive values from a listbox Pin
eli stein2005-Sep-16 7:05
eli stein2005-Sep-16 7:05 

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.