Click here to Skip to main content
15,909,242 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Asking for mail reception confirmation with SMTPClient Pin
Mycroft Holmes19-Nov-09 2:10
professionalMycroft Holmes19-Nov-09 2:10 
QuestionConversion from string "18/8/2009" to type Date is not valid... Pin
Johnkokk18-Nov-09 23:36
Johnkokk18-Nov-09 23:36 
AnswerRe: Conversion from string "18/8/2009" to type Date is not valid... Pin
Richard MacCutchan18-Nov-09 23:48
mveRichard MacCutchan18-Nov-09 23:48 
GeneralRe: Conversion from string "18/8/2009" to type Date is not valid... Pin
Johnkokk18-Nov-09 23:59
Johnkokk18-Nov-09 23:59 
GeneralRe: Conversion from string "18/8/2009" to type Date is not valid... Pin
Johnkokk19-Nov-09 0:24
Johnkokk19-Nov-09 0:24 
GeneralRe: Conversion from string "18/8/2009" to type Date is not valid... Pin
TheDudeJuan19-Nov-09 1:25
TheDudeJuan19-Nov-09 1:25 
GeneralRe: Conversion from string "18/8/2009" to type Date is not valid... Pin
Richard MacCutchan19-Nov-09 6:21
mveRichard MacCutchan19-Nov-09 6:21 
GeneralRe: Conversion from string "18/8/2009" to type Date is not valid... Pin
Luc Pattyn19-Nov-09 1:36
sitebuilderLuc Pattyn19-Nov-09 1:36 
it seems you don't have a clue.

the only thing that could go wrong in tempor=Month(dgv1(0, counter).Value.ToString) is a NullReferenceException due to dgv1 or Value being null.

if there is a problem, it is bound to be in a different line. Look at the entire exception.ToString() output, tell your IDE to show line numbers, and get the line at fault.

Most likely it is about date formatting. The first thing about it is you have to decide whether you want a user-selected format (through Regional Settings), or a fixed format (specified explicitly in your conversions, see the Parse/TryParse method overloads that take explicit format info).

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


AnswerRe: Conversion from string "18/8/2009" to type Date is not valid... Pin
Mycroft Holmes19-Nov-09 2:19
professionalMycroft Holmes19-Nov-09 2:19 
GeneralRe: Conversion from string "18/8/2009" to type Date is not valid... Pin
Johnkokk19-Nov-09 4:42
Johnkokk19-Nov-09 4:42 
GeneralRe: Conversion from string "18/8/2009" to type Date is not valid... Pin
Richard MacCutchan19-Nov-09 6:20
mveRichard MacCutchan19-Nov-09 6:20 
GeneralRe: Conversion from string "18/8/2009" to type Date is not valid... Pin
Mycroft Holmes19-Nov-09 11:41
professionalMycroft Holmes19-Nov-09 11:41 
QuestionRead sms from any gsm mobile Pin
sanjay.gujarkar18-Nov-09 18:11
sanjay.gujarkar18-Nov-09 18:11 
AnswerRe: Read sms from any gsm mobile Pin
Ashfield19-Nov-09 1:35
Ashfield19-Nov-09 1:35 
QuestionRe..............SMS Send Pin
sanjay.gujarkar18-Nov-09 18:09
sanjay.gujarkar18-Nov-09 18:09 
AnswerRe: Re..............SMS Send Pin
Ashfield19-Nov-09 1:34
Ashfield19-Nov-09 1:34 
QuestionPreventing SecurityException when deploying application using Office PIA Pin
User 1278218-Nov-09 16:50
User 1278218-Nov-09 16:50 
RantSqlParameterCollection (ADO.NET) Pin
dojohansen18-Nov-09 3:24
dojohansen18-Nov-09 3:24 
GeneralRe: SqlParameterCollection (ADO.NET) Pin
Abhishek Sur18-Nov-09 9:55
professionalAbhishek Sur18-Nov-09 9:55 
QuestionBrowser - autorefresh - background render - c#.net Pin
DirkVDW17-Nov-09 23:56
DirkVDW17-Nov-09 23:56 
AnswerRe: Browser - autorefresh - background render - c#.net Pin
Simon P Stevens18-Nov-09 1:18
Simon P Stevens18-Nov-09 1:18 
GeneralRe: Browser - autorefresh - background render - c#.net Pin
DirkVDW20-Nov-09 4:17
DirkVDW20-Nov-09 4:17 
QuestionHow to emebed a html file in another html file Pin
Member 305788717-Nov-09 23:19
Member 305788717-Nov-09 23:19 
AnswerRe: How to emebed a html file in another html file Pin
Simon P Stevens18-Nov-09 1:12
Simon P Stevens18-Nov-09 1:12 
GeneralRe: How to emebed a html file in another html file Pin
The Man from U.N.C.L.E.18-Nov-09 2:52
The Man from U.N.C.L.E.18-Nov-09 2:52 

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.