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
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