Keyword not supported

D

Danijel Valentic

Hello!

I'm trying to make a new SqlConnection with predefined connection string.
When I try to do this:

public class SelectZ

{

private SqlConnection conn;

public SelectZ()

{

conn =new SqlConnection(Connection.connString);

}

, where Connection is a Class:

public class Connection

{

public static string connString =
ConfigurationSettings.AppSettings["dbConnectionString"];

}



I get the error message: Keyword not supported:'tag with column collation
when possible'

on line

conn =new SqlConnection(Connection.connString);



Any ideas?

Thanks in advanced, d
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top