Last post Jan 21, 2007 05:31 PM by mbanavige
Jan 19, 2007 05:49 PM|kevinof|LINK
I have an app (web site) that I have converted from asp 1.1 to 2.0. However its giving me undefined on datarow (type 'datarow' is not defined) , datagrid etd. To fix it I have to preface with data.datarow and data.datagrid and so on. Its not a big problem
as I can do a global replace but I'd like to know why this is happening.
Jan 19, 2007 09:28 PM|mbanavige|LINK
It looks like you're missing an import statement. For vb, you can add it to the page or to the project.
For C#, i believe you need to add it to every page as required:
Jan 21, 2007 05:12 PM|kevinof|LINK
thanks but thats not it. I have included system.data in the project already so it must be something else.
Jan 21, 2007 05:31 PM|mbanavige|LINK
if you are using C#, then remember that it is case-sensitive.
try changing: datarow