Click here to Skip to main content
15,906,766 members
Home / Discussions / C#
   

C#

 
Questionconnection string Pin
rcwoods19-Feb-09 7:40
rcwoods19-Feb-09 7:40 
AnswerProper Design Pin
Ennis Ray Lynch, Jr.19-Feb-09 7:42
Ennis Ray Lynch, Jr.19-Feb-09 7:42 
GeneralRe: Proper Design Pin
rcwoods22-Feb-09 20:25
rcwoods22-Feb-09 20:25 
QuestionSqlConnection vs. OdbcConnection Pin
CodingYoshi19-Feb-09 7:08
CodingYoshi19-Feb-09 7:08 
AnswerRe: SqlConnection vs. OdbcConnection Pin
Ennis Ray Lynch, Jr.19-Feb-09 7:25
Ennis Ray Lynch, Jr.19-Feb-09 7:25 
GeneralRe: SqlConnection vs. OdbcConnection Pin
CodingYoshi19-Feb-09 7:32
CodingYoshi19-Feb-09 7:32 
GeneralRe: SqlConnection vs. OdbcConnection Pin
Ennis Ray Lynch, Jr.19-Feb-09 7:40
Ennis Ray Lynch, Jr.19-Feb-09 7:40 
AnswerRe: SqlConnection vs. OdbcConnection Pin
Wendelius19-Feb-09 7:27
mentorWendelius19-Feb-09 7:27 
AFAIK SqlConnection cannot use ODBC DSN as a connection (never tested though). Also ODBC drivers cannot handle all the functionality that exists in SqlClient namespace (and it's classes) via SqlConnection.

But even if this would be possible, what's the point to add one layer to the connection. When you connect using ODBC, you still connect to the database using a native library. The ODBC is just a layer on top of that.

So if you don't need cross database functionality (which actually requires a much more than just changing a connection type) I just can't see the point.

CodingYoshi wrote:
worked fine but lately everything is acting up.


If this means performance problems etc, ODBC certainly isn't a solution.

The need to optimize rises from a bad design.My articles[^]

AnswerRe: SqlConnection vs. OdbcConnection Pin
PIEBALDconsult19-Feb-09 7:29
mvePIEBALDconsult19-Feb-09 7:29 
QuestionDetect a white bloc on string Pin
abbd19-Feb-09 6:58
abbd19-Feb-09 6:58 
AnswerRe: Detect a white bloc on string Pin
led mike19-Feb-09 8:03
led mike19-Feb-09 8:03 
GeneralRe: Detect a white bloc on string Pin
Garth J Lancaster19-Feb-09 10:15
professionalGarth J Lancaster19-Feb-09 10:15 
QuestionForm is not visible Pin
Patricia Cuadra19-Feb-09 6:46
Patricia Cuadra19-Feb-09 6:46 
AnswerRe: Form is not visible Pin
Calin Tatar19-Feb-09 8:35
Calin Tatar19-Feb-09 8:35 
GeneralRe: Form is not visible Pin
Patricia Cuadra19-Feb-09 8:50
Patricia Cuadra19-Feb-09 8:50 
GeneralRe: Form is not visible Pin
Patricia Cuadra19-Feb-09 9:35
Patricia Cuadra19-Feb-09 9:35 
GeneralRe: Form is not visible Pin
Jimmanuel19-Feb-09 11:05
Jimmanuel19-Feb-09 11:05 
QuestionTimer Pin
bar300019-Feb-09 5:55
bar300019-Feb-09 5:55 
AnswerRe: Timer Pin
Dave Kreskowiak19-Feb-09 6:02
mveDave Kreskowiak19-Feb-09 6:02 
GeneralRe: Timer Pin
bar300019-Feb-09 6:10
bar300019-Feb-09 6:10 
GeneralRe: Timer Pin
musefan19-Feb-09 6:16
musefan19-Feb-09 6:16 
GeneralRe: Timer Pin
Dave Kreskowiak19-Feb-09 6:16
mveDave Kreskowiak19-Feb-09 6:16 
AnswerRe: Timer Pin
PIEBALDconsult19-Feb-09 6:15
mvePIEBALDconsult19-Feb-09 6:15 
GeneralRe: Timer Pin
bar300019-Feb-09 6:18
bar300019-Feb-09 6:18 
GeneralRe: Timer Pin
PIEBALDconsult19-Feb-09 6:20
mvePIEBALDconsult19-Feb-09 6:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.