|
-
May 23rd, 2007, 12:25 PM
#1
Thread Starter
Lively Member
Error 166 System.DateTime.TryParse(string, out System.DateTime)
Hi,
I get this error when i write the following line of code:
if (DateTime.TryParse(drow[dt.DateCol.Caption].ToString(), resub))
this line executes well on another machine in our network which has the same version of framework as mine. but shows the following error in my machine.
Error 166 The best overloaded method match for 'System.DateTime.TryParse(string, out System.DateTime)' has some invalid arguments
Error 167 Argument '2' must be passed with the 'out' keyword
please help me how to get rid of this
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|