Click here to Skip to main content
15,905,419 members
Home / Discussions / C#
   

C#

 
Questionseprating axis swept; Pin
Isawyouoo14-Sep-15 12:58
Isawyouoo14-Sep-15 12:58 
QuestionRe: seprating axis swept; Pin
Matt T Heffron14-Sep-15 13:17
professionalMatt T Heffron14-Sep-15 13:17 
AnswerRe: seprating axis swept; Pin
Isawyouoo14-Sep-15 13:57
Isawyouoo14-Sep-15 13:57 
QuestionUrgently need C# code for pushing files from one server to another server Pin
Naga Nanda Kishore14-Sep-15 6:59
Naga Nanda Kishore14-Sep-15 6:59 
AnswerRe: Urgently need C# code for pushing files from one server to another server Pin
Eddy Vluggen14-Sep-15 7:29
professionalEddy Vluggen14-Sep-15 7:29 
AnswerRe: Urgently need C# code for pushing files from one server to another server Pin
OriginalGriff14-Sep-15 8:09
mveOriginalGriff14-Sep-15 8:09 
AnswerRe: Urgently need C# code for pushing files from one server to another server Pin
Gerry Schmitz14-Sep-15 9:26
mveGerry Schmitz14-Sep-15 9:26 
JokeRe: Urgently need C# code for pushing files from one server to another server Pin
Eddy Vluggen14-Sep-15 9:38
professionalEddy Vluggen14-Sep-15 9:38 
GeneralRe: Urgently need C# code for pushing files from one server to another server Pin
Gerry Schmitz14-Sep-15 9:54
mveGerry Schmitz14-Sep-15 9:54 
GeneralRe: Urgently need C# code for pushing files from one server to another server Pin
Eddy Vluggen14-Sep-15 10:05
professionalEddy Vluggen14-Sep-15 10:05 
GeneralRe: Urgently need C# code for pushing files from one server to another server Pin
Gerry Schmitz14-Sep-15 10:29
mveGerry Schmitz14-Sep-15 10:29 
QuestionSerializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
BillWoodruff14-Sep-15 5:06
professionalBillWoodruff14-Sep-15 5:06 
QuestionRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
Eddy Vluggen14-Sep-15 7:32
professionalEddy Vluggen14-Sep-15 7:32 
AnswerRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
BillWoodruff15-Sep-15 6:42
professionalBillWoodruff15-Sep-15 6:42 
GeneralRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
Eddy Vluggen15-Sep-15 7:55
professionalEddy Vluggen15-Sep-15 7:55 
AnswerRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
Bernhard Hiller15-Sep-15 5:44
Bernhard Hiller15-Sep-15 5:44 
GeneralRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
Richard Deeming15-Sep-15 5:58
mveRichard Deeming15-Sep-15 5:58 
GeneralRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
BillWoodruff16-Sep-15 0:22
professionalBillWoodruff16-Sep-15 0:22 
GeneralRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
Richard Deeming16-Sep-15 2:04
mveRichard Deeming16-Sep-15 2:04 
GeneralRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
BillWoodruff16-Sep-15 7:37
professionalBillWoodruff16-Sep-15 7:37 
GeneralRe: Serializing a Dictionary of Items where the Value member is a List of instances of an Interface Pin
BillWoodruff15-Sep-15 6:58
professionalBillWoodruff15-Sep-15 6:58 
QuestionGridView Export to Excel keeping the date format Pin
Member 1180079714-Sep-15 3:34
Member 1180079714-Sep-15 3:34 
hi,

I have written the following code to export data from Excel
string tempPath = System.IO.Path.Combine(System.IO.Path.GetTempPath(), "Report.csv");
GView.SelectAllCells();
GView.ClipboardCopyMode = DataGridClipboardCopyMode.IncludeHeader;
ApplicationCommands.Copy.Execute(null, GView);
String result = (string)Clipboard.GetData(DataFormats.CommaSeparatedValue);
GView.UnselectAllCells();
System.IO.StreamWriter file1 = new System.IO.StreamWriter(tempPath);
file1.WriteLine(result);
file1.Close();
Excel.Application app = new Excel.Application();
Excel.Workbook workbook = app.Workbooks.Open(tempPath);

Excel.Worksheet ws = workbook.Worksheets[1];

I have 2 columns contain dates. both of them looks dd/MM/yyyy on the data grid which is correct.
once out on excel they change to american date format!?
the weired thing is, before the 13th of every month they are in american format. after the 13th they show UK format.

can some guru help me please
AnswerRe: GridView Export to Excel keeping the date format Pin
Richard MacCutchan14-Sep-15 6:31
mveRichard MacCutchan14-Sep-15 6:31 
QuestionWhat is it like working as a .NET developer? Pin
Jason Smith14-Sep-15 0:54
Jason Smith14-Sep-15 0:54 
AnswerRe: What is it like working as a .NET developer? Pin
Richard MacCutchan14-Sep-15 1:01
mveRichard MacCutchan14-Sep-15 1:01 

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.