Click here to Skip to main content
15,892,072 members
Home / Discussions / C#
   

C#

 
GeneralRe: Unmanaged memory issue Pin
PIEBALDconsult1-Sep-11 14:53
mvePIEBALDconsult1-Sep-11 14:53 
Generalwindow application Pin
ashishchourey29-Aug-11 0:06
ashishchourey29-Aug-11 0:06 
GeneralRe: window application Pin
Blue_Boy29-Aug-11 0:31
Blue_Boy29-Aug-11 0:31 
GeneralRe: window application Pin
BillWoodruff29-Aug-11 0:59
professionalBillWoodruff29-Aug-11 0:59 
GeneralRe: window application Pin
Hari Om Prakash Sharma29-Aug-11 1:47
Hari Om Prakash Sharma29-Aug-11 1:47 
AnswerRe: window application Pin
Abhinav S29-Aug-11 1:49
Abhinav S29-Aug-11 1:49 
GeneralRe: window application PinPopular
Goutam Patra29-Aug-11 3:07
professionalGoutam Patra29-Aug-11 3:07 
Questionhow to connect to dbf database Pin
goldsoft28-Aug-11 22:19
goldsoft28-Aug-11 22:19 
i try to connect to dbf database using C# (i try 3 types of connection)

C#
string connectionString = @"Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=c:\employees.dbf;";
    string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\employees.dbf;Extended Properties=dBASE IV;";
string connectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\employees.dbf;Extended Properties=dBASE IV;User ID=Admin;Password=;";

                using (OdbcConnection connection = new OdbcConnection(connectionString))
                {
                    connection.Open();
                }

and i got error

error1:

C#
ERROR [HY024] [Microsoft][ODBC dBase Driver] '(unknown)' is not a valid path.  Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed
ERROR [HY024] [Microsoft][ODBC dBase Driver] '(unknown)' is not a valid path.  Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.

or error2:

C#
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

what can be the problem ?

thanks in advance
AnswerRe: how to connect to dbf database Pin
Wayne Gaylard28-Aug-11 22:28
professionalWayne Gaylard28-Aug-11 22:28 
AnswerRe: how to connect to dbf database Pin
phil.o28-Aug-11 23:28
professionalphil.o28-Aug-11 23:28 
AnswerRe: how to connect to dbf database Pin
Eddy Vluggen29-Aug-11 0:28
professionalEddy Vluggen29-Aug-11 0:28 
AnswerRe: how to connect to dbf database Pin
V.29-Aug-11 3:32
professionalV.29-Aug-11 3:32 
QuestionAsp.net Pin
prabhatkumartiwari28-Aug-11 19:32
prabhatkumartiwari28-Aug-11 19:32 
Question[SPAM, almost] Pin
gsue28-Aug-11 19:06
gsue28-Aug-11 19:06 
QuestionXML File -> DataGridView - One additional row of data Pin
TheBlindWatchmaker28-Aug-11 18:21
TheBlindWatchmaker28-Aug-11 18:21 
QuestionHow can i get year, month different from calendar? Pin
buffering8328-Aug-11 15:17
buffering8328-Aug-11 15:17 
AnswerRe: How can i get year, month different from calendar? Pin
PIEBALDconsult28-Aug-11 16:52
mvePIEBALDconsult28-Aug-11 16:52 
AnswerRe: How can i get year, month different from calendar? Pin
Anthony Mushrow28-Aug-11 17:08
professionalAnthony Mushrow28-Aug-11 17:08 
Questionjust woundering about random numbers? Pin
stephen.darling28-Aug-11 12:02
stephen.darling28-Aug-11 12:02 
AnswerRe: Just wondering about random numbers Pin
DaveyM6928-Aug-11 13:06
professionalDaveyM6928-Aug-11 13:06 
JokeRe: just woundering about random numbers? Pin
PIEBALDconsult28-Aug-11 14:10
mvePIEBALDconsult28-Aug-11 14:10 
GeneralRe: just woundering about random numbers? Pin
stephen.darling28-Aug-11 14:57
stephen.darling28-Aug-11 14:57 
GeneralRe: just woundering about random numbers? Pin
PIEBALDconsult28-Aug-11 16:50
mvePIEBALDconsult28-Aug-11 16:50 
AnswerRe: just woundering about random numbers? Pin
ljupcecar28-Aug-11 22:55
ljupcecar28-Aug-11 22:55 
AnswerRe: just woundering about random numbers? [modified] Pin
GParkings1-Sep-11 6:33
GParkings1-Sep-11 6:33 

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.