ASP.net C# javascript

  • Thread starter Thread starter Peter
  • Start date Start date
Sorry guys.. I am so dumb on this..please ignore.

Peter

Peter said:
Thanks guys.. I managed to get the Dictionary and OleDb thing working but Mark, any comments on the error below.

Peter

---

Compiler Error Message: CS0103: The name 'MyCreateDataSetMethod' does not exist in the current context

Source Error:



Line 194: logEntriesTable = logEntriesDataSet.Tables[0];
Line 195:
Line 196: DataSet MyDataSet = MyCreateDataSetMethod() ;
Line 197: DataTable MyDataTable= MyDataSet.Tables[0] ;
Line 198: DataRow MyDataRow = MyDataTable.NewRow();


Source File: s:\WebRoot\Logging\Report.aspx Line: 196
 
Hi Mark

Sorry for the trouble but one last question, I think.   Can you write me the
MyConnectionString syntax for accessing a local .mdb file ?

Thanks
Peter






- Show quoted text -
you can go to http://www.connectionstrings.com to get a sample of
connection strings. Pulling from the site.

Server=.\SQLExpress;AttachDbFilename=c:\mydbfile.mdf;Database=dbname;
Trusted_Connection=Yes;
 
Thank you so much guys, especially Mark, for giving me a big hand. I managed to perform what I need to do with Dictionary and
looping/creating my own dataset. I really appreciated it.

Peter

you can go tohttp://www.connectionstrings.comto get a sample of
connection strings. Pulling from the site.

Server=.\SQLExpress;AttachDbFilename=c:\mydbfile.mdf;Database=dbname;
Trusted_Connection=Yes;

yup, that's what I meant...
http://www.connectionstrings.com/access
http://www.connectionstrings.com/access-2007

depends on version of Access and OLE
 
Back
Top