G
Guest
I have a project in VS.net using C
In a code-behind page I am able to create a dataset from an Access database and then use the dataset to populate a datagrid
I am trying to follow some examples in a book and would like to remove the code from the code-behind page and place it in server-side script
The following line runs in code-behind but generates an error when used in the scrip
ConnStr = @"Provider=Microsoft.Jet.OLEDB.4.0; " + @"Data Source=" + @"C:\Documents and Settings\Jim McGivney\My Documents\DMORT04\Win0401.mdb;" + ";"
The error I get is: CS1519: Invalid token '=' in class, struct, or interface member declaratio
Any help would be appreciated
Thanks
Ji
In a code-behind page I am able to create a dataset from an Access database and then use the dataset to populate a datagrid
I am trying to follow some examples in a book and would like to remove the code from the code-behind page and place it in server-side script
The following line runs in code-behind but generates an error when used in the scrip
ConnStr = @"Provider=Microsoft.Jet.OLEDB.4.0; " + @"Data Source=" + @"C:\Documents and Settings\Jim McGivney\My Documents\DMORT04\Win0401.mdb;" + ";"
The error I get is: CS1519: Invalid token '=' in class, struct, or interface member declaratio
Any help would be appreciated
Thanks
Ji