Stratafix SQL authemtication problem (SQL 2008)


Author
Message
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (2.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Everything is the same (using the same libraries), just use C# syntax:



Databasics.DataSources.Add(new SqlDataSourceItem("","server=MyServer;Integrated Security=SSPI;database=StrataFlix"));

Russell Scott Brown
Russell Scott Brown
StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)
Group: Forum Members
Posts: 124, Visits: 597
That is what I don't know - the C# syntax.  I can't seem to find an example for C# and almost all the documentation, Help files and training CDs, etc., show mostly examples in VB only.

I'm going through a BIG learning curve obviously.

Thanks again.

Russ Brown (Using C#2010/SQL Server 2008)

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (2.8K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
No problem, glad it helped! BigGrin
Russell Scott Brown
Russell Scott Brown
StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)StrataFrame User (258 reputation)
Group: Forum Members
Posts: 124, Visits: 597
Actually I have to admit that I looked at it half a dozen times before I realized that I used New instead of new - C# being case sensitive still trips me up constantly. 

Russ Brown (Using C#2010/SQL Server 2008)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search