Click here to Skip to main content
15,899,313 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? [modified] Pin
Tesic Goran30-May-11 0:00
professionalTesic Goran30-May-11 0:00 
AnswerRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
Luc Pattyn30-May-11 0:22
sitebuilderLuc Pattyn30-May-11 0:22 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
Tesic Goran30-May-11 0:26
professionalTesic Goran30-May-11 0:26 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
Tesic Goran30-May-11 0:57
professionalTesic Goran30-May-11 0:57 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
MicroVirus30-May-11 4:24
MicroVirus30-May-11 4:24 
AnswerRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
DaveyM6929-May-11 22:58
professionalDaveyM6929-May-11 22:58 
GeneralRe: How to pass .net (C#) string to unmanaged C++ dll? Pin
Tesic Goran29-May-11 23:07
professionalTesic Goran29-May-11 23:07 
QuestionDefault datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 21:32
LordZoster29-May-11 21:32 
Hallo
my application sports a dgv bound to a datatable, which has a column with default value to DateTime.Now.
When the user add a new row, that datetime column is correctly filled; when the user saves for the first time, it correctly saves. Any next time the user try saving the row, it gives a System.FormatException "String not recognized as valid DateTime value", and stops saving.
The DateTime in the DGV appears to be formatted according the locale Culture (italian, dd/MM/yyyy hh.mm)
The DataTable.Locale is System.Globalization.CultureInfo.InvariantCulture.
If I change it to System.Globalization.CultureInfo.CurrentCulture i get an obscure exception "Found unknown word starting at index 0".

Any help?
Thanks in advance!
AnswerRe: Default datetime.now in datatable and bound datagridview Pin
Andy_L_J29-May-11 21:37
Andy_L_J29-May-11 21:37 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 21:51
LordZoster29-May-11 21:51 
AnswerRe: Default datetime.now in datatable and bound datagridview Pin
Paramu197329-May-11 21:47
Paramu197329-May-11 21:47 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 22:07
LordZoster29-May-11 22:07 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
Paramu197329-May-11 22:13
Paramu197329-May-11 22:13 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 22:17
LordZoster29-May-11 22:17 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 22:37
LordZoster29-May-11 22:37 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
Andy_L_J29-May-11 22:47
Andy_L_J29-May-11 22:47 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
Paramu197329-May-11 22:41
Paramu197329-May-11 22:41 
GeneralRe: Default datetime.now in datatable and bound datagridview Pin
LordZoster29-May-11 23:14
LordZoster29-May-11 23:14 
QuestionCurious DataTable Problem…? Pin
Paramu197329-May-11 20:49
Paramu197329-May-11 20:49 
AnswerRe: Curious DataTable Problem…? Pin
Mycroft Holmes29-May-11 23:20
professionalMycroft Holmes29-May-11 23:20 
QuestionGeneric and Type of [modified] Pin
PozzaVecia29-May-11 10:09
PozzaVecia29-May-11 10:09 
AnswerRe: Generic and Type of Pin
Mark Salsbery29-May-11 10:12
Mark Salsbery29-May-11 10:12 
GeneralRe: Generic and Type of Pin
PozzaVecia29-May-11 10:57
PozzaVecia29-May-11 10:57 
AnswerRe: Generic and Type of PinPopular
AspDotNetDev29-May-11 10:33
protectorAspDotNetDev29-May-11 10:33 
GeneralRe: Generic and Type of Pin
PozzaVecia29-May-11 10:58
PozzaVecia29-May-11 10:58 

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.