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