Hi,

I just wrote my first LINQ to SQL C# code and encounter an error when
performing an ADD and SELECT call.  I written a sliver to WCF to SQL
Server code. I created the DataClasses.dbml code with the designer
instead of SQL Metal. In the WCF cocde,  The ADD method

DataClassesDataContext db = new DataClassesDataContext();

Table<Log> LogTable = db.GetTable<Log>();

LogTable.InsertOnSubmit(Log);

LogTable.Context.SubmitChanges();





On the SubmitChanges method, an SqlException is thrown stating Invalid
Object '+'.

Here is my connection string:

connectionstring]"Data source=152.265.264.21;Initial
Catalog=MyLogDB;User ID=john123;Password=MyPassword
providerName="System.Data.SqlClient"

I read on other forum, that their connection string has an error, but
I can see anything is wrong.

Any help is appreciated in getting my LINQ to SQL to work.



Thanks


-- 
To unsubscribe, reply using "remove me" as the subject.

Reply via email to