Click here to Skip to main content
12,758,341 members (32,084 online)
   

C#

 
AnswerRe: can we Record the Phone call using C#.net Pin
RaviRanjankr15-May-11 3:50
memberRaviRanjankr15-May-11 3:50 
QuestionDetect mouse over & out on minimize SDI window in MDI application c# Pin
Tridip Bhattacharjee12-May-11 2:30
memberTridip Bhattacharjee12-May-11 2:30 
AnswerRe: Detect mouse over & out on minimize SDI window in MDI application c# Pin
BobJanova12-May-11 2:38
memberBobJanova12-May-11 2:38 
AnswerRe: Detect mouse over & out on minimize SDI window in MDI application c# Pin
SilimSayo12-May-11 3:41
memberSilimSayo12-May-11 3:41 
QuestionRe: Detect mouse over & out on minimize SDI window in MDI application c# Pin
Eddy Vluggen12-May-11 4:30
memberEddy Vluggen12-May-11 4:30 
AnswerRe: Detect mouse over & out on minimize SDI window in MDI application c# Pin
Eddy Vluggen12-May-11 4:31
memberEddy Vluggen12-May-11 4:31 
Question"Input string was not in a correct format." when updating datatable... [modified] Pin
pradeep45511-May-11 20:07
memberpradeep45511-May-11 20:07 
AnswerRe: "Input string was not in a correct format." when updating datatable... Pin
rushijoshi11-May-11 20:42
memberrushijoshi11-May-11 20:42 
I think you are getting error when trying to convert DateTime values.

A DateTime value "{6/1/1998 12:00:00 AM}" has a space and it tries to convert to "{6/1/1998% 12:00:00 AM}" which is not valid.

Change to below code to resolve this.

if (row[column].ToString().Contains(" ") &&  column.DataType != Type.GetType("System.DateTime") )
                    {
                        temp = row[column].ToString().Replace(" ", "%");
                        row[column] = temp; //getting error in this line...
                    }


Regards
Rushi
GeneralRe: "Input string was not in a correct format." when updating datatable... Pin
pradeep45511-May-11 21:03
memberpradeep45511-May-11 21:03 
AnswerRe: "Input string was not in a correct format." when updating datatable... Pin
Subin Mavunkal11-May-11 20:55
memberSubin Mavunkal11-May-11 20:55 
GeneralRe: "Input string was not in a correct format." when updating datatable... [modified] Pin
pradeep45511-May-11 21:05
memberpradeep45511-May-11 21:05 
AnswerRe: "Input string was not in a correct format." when updating datatable... Pin
Subin Mavunkal11-May-11 22:35
memberSubin Mavunkal11-May-11 22:35 
AnswerRe: "Input string was not in a correct format." when updating datatable... Pin
OriginalGriff11-May-11 22:44
mvpOriginalGriff11-May-11 22:44 
AnswerRe: "Input string was not in a correct format." when updating datatable... Pin
OriginalGriff11-May-11 22:42
mvpOriginalGriff11-May-11 22:42 
GeneralRe: "Input string was not in a correct format." when updating datatable... Pin
pradeep45512-May-11 1:49
memberpradeep45512-May-11 1:49 
AnswerRe: "Input string was not in a correct format." when updating datatable... Pin
Luc Pattyn12-May-11 1:57
mvpLuc Pattyn12-May-11 1:57 
GeneralRe: "Input string was not in a correct format." when updating datatable... [modified] Pin
pradeep45515-May-11 20:43
memberpradeep45515-May-11 20:43 
AnswerRe: "Input string was not in a correct format." when updating datatable... Pin
Luc Pattyn16-May-11 0:09
mvpLuc Pattyn16-May-11 0:09 
AnswerRe: "Input string was not in a correct format." when updating datatable... Pin
BobJanova12-May-11 3:03
memberBobJanova12-May-11 3:03 
Questionproblem with unicode. [modified] Pin
prasadbuddhika11-May-11 6:48
memberprasadbuddhika11-May-11 6:48 
AnswerRe: problem with unicode Pin
Luc Pattyn11-May-11 6:51
mvpLuc Pattyn11-May-11 6:51 
GeneralRe: problem with unicode. Pin
prasadbuddhika11-May-11 7:30
memberprasadbuddhika11-May-11 7:30 
GeneralRe: problem with unicode. Pin
Luc Pattyn11-May-11 7:54
mvpLuc Pattyn11-May-11 7:54 
GeneralRe: problem with unicode. Pin
prasadbuddhika11-May-11 8:15
memberprasadbuddhika11-May-11 8:15 
AnswerRe: problem with unicode. Pin
David198711-May-11 7:05
memberDavid198711-May-11 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.


Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 24 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid