Click here to Skip to main content
15,890,897 members
Home / Discussions / C#
   

C#

 
AnswerRe: create form like ICQ Pin
Nader Elshehabi21-Aug-06 3:06
Nader Elshehabi21-Aug-06 3:06 
QuestionSend and Receive Email Pin
M Riaz Bashir21-Aug-06 0:49
M Riaz Bashir21-Aug-06 0:49 
AnswerRe: Send and Receive Email Pin
Christian Graus21-Aug-06 2:07
protectorChristian Graus21-Aug-06 2:07 
AnswerRe: Send and Receive Email Pin
Nader Elshehabi21-Aug-06 2:09
Nader Elshehabi21-Aug-06 2:09 
QuestionError in: Insert Date Value into Access Database Pin
M Riaz Bashir21-Aug-06 0:36
M Riaz Bashir21-Aug-06 0:36 
AnswerRe: Error in: Insert Date Value into Access Database Pin
Nader Elshehabi21-Aug-06 2:12
Nader Elshehabi21-Aug-06 2:12 
AnswerRe: Error in: Insert Date Value into Access Database Pin
Guffa21-Aug-06 2:29
Guffa21-Aug-06 2:29 
AnswerRe: Error in: Insert Date Value into Access Database Pin
Andrei Ungureanu21-Aug-06 2:42
Andrei Ungureanu21-Aug-06 2:42 
Hi,
Your problem is the DateTime format that the database requires. The Access database uses the Culture as it's set in the Regional Options. If you want to force your application to use a certain culture use something like:
<br />
Application.CurrentCulture = new System.Globalization.CultureInfo("en-US");<br />

An easier way is to extract the Month,Day,Year and create the string in the way that the database expects.
<br />
DateTime now = DateTime.Now;<br />
string s = String.Format("{0}/{1}/{2}",now.Day,now.Month,now.Year);<br />


Do your best to be the best

QuestionChange the Color of Indicator in Radio Button Pin
Sunny H21-Aug-06 0:24
Sunny H21-Aug-06 0:24 
AnswerRe: Change the Color of Indicator in Radio Button Pin
Nader Elshehabi21-Aug-06 2:28
Nader Elshehabi21-Aug-06 2:28 
QuestionCustom message box Pin
engsrini21-Aug-06 0:24
engsrini21-Aug-06 0:24 
AnswerRe: Custom message box Pin
Divyang Mithaiwala21-Aug-06 2:20
Divyang Mithaiwala21-Aug-06 2:20 
AnswerRe: Custom message box Pin
Coding C#21-Aug-06 21:30
Coding C#21-Aug-06 21:30 
QuestionWord Doc Link [modified] Pin
mlebrock21-Aug-06 0:22
mlebrock21-Aug-06 0:22 
AnswerRe: Word Doc Link Pin
thunderbirdje21-Aug-06 3:02
thunderbirdje21-Aug-06 3:02 
GeneralRe: Word Doc Link Pin
mlebrock21-Aug-06 3:27
mlebrock21-Aug-06 3:27 
QuestionReduce the width of datagrid colum?? Pin
sikandarhayat21-Aug-06 0:20
sikandarhayat21-Aug-06 0:20 
AnswerRe: Reduce the width of datagrid colum?? Pin
fmardani21-Aug-06 3:14
fmardani21-Aug-06 3:14 
QuestionFind Row in Datagrid Pin
freshonlineMax21-Aug-06 0:13
freshonlineMax21-Aug-06 0:13 
AnswerRe: Find Row in Datagrid Pin
MHASSANF21-Aug-06 0:30
MHASSANF21-Aug-06 0:30 
AnswerRe: Find Row in Datagrid Pin
sikandarhayat21-Aug-06 0:33
sikandarhayat21-Aug-06 0:33 
AnswerRe: Find Row in Datagrid Pin
sikandarhayat21-Aug-06 0:40
sikandarhayat21-Aug-06 0:40 
QuestionAssiging name to label dynamic way ??? Pin
sikandarhayat20-Aug-06 23:58
sikandarhayat20-Aug-06 23:58 
AnswerRe: Assiging name to label dynamic way ??? Pin
Christian Graus21-Aug-06 0:20
protectorChristian Graus21-Aug-06 0:20 
AnswerRe: Assiging name to label dynamic way ??? Pin
freshonlineMax21-Aug-06 0:26
freshonlineMax21-Aug-06 0:26 

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.