Click here to Skip to main content
15,884,472 members
Home / Discussions / Database
   

Database

 
AnswerRe: How can I optimize this SQL Query? Pin
Ben Fair5-Dec-08 4:09
Ben Fair5-Dec-08 4:09 
GeneralRe: How can I optimize this SQL Query? Pin
Rafferty Uy8-Dec-08 17:18
Rafferty Uy8-Dec-08 17:18 
QuestionHow to access *.dbf file using c# Pin
Kumaran Jeyasingam4-Dec-08 14:32
Kumaran Jeyasingam4-Dec-08 14:32 
AnswerRe: How to access *.dbf file using c# Pin
PIEBALDconsult4-Dec-08 15:33
mvePIEBALDconsult4-Dec-08 15:33 
AnswerRe: How to access *.dbf file using c# Pin
Mycroft Holmes4-Dec-08 21:45
professionalMycroft Holmes4-Dec-08 21:45 
GeneralRe: How to access *.dbf file using c# Pin
Wendelius5-Dec-08 8:24
mentorWendelius5-Dec-08 8:24 
GeneralRe: How to access *.dbf file using c# Pin
Mycroft Holmes5-Dec-08 14:07
professionalMycroft Holmes5-Dec-08 14:07 
GeneralRe: How to access *.dbf file using c# Pin
Kumaran Jeyasingam14-Dec-08 14:58
Kumaran Jeyasingam14-Dec-08 14:58 
Thanks fo ryour reply,

FYI, I have using the ODBC connection to connect the *.dbf file before and it's working fine ,and i don't know why know , suddently i have problem to connecting to the database.
I have attached my source code for your refference.Plzzzzzzzz guide me on how to solve tyhis problem

using System.Data.Odbc;

string thisConnection = @"Driver={Microsoft dBASE Driver (*.dbf)};SourceType=DBF;SourceDB=C:\data\;Exclusive=No; Collate=Machine;NULL=NO;DELETED=NO;BACKGROUNDFETCH=NO;";
string sql = @"SELECT * FROM C:\data\QC.dbf";
OdbcConnection conn = new OdbcConnection(thisConnection);
OdbcCommand cmd = new OdbcCommand(sql);
cmd.Connection = conn;
OdbcDataReader reader = null;
try
{
conn.Open();
reader = cmd.ExecuteReader();
while (reader.Read())
{
MessageBox.Show(reader[1].ToString());
}
reader.Close();
}
catch (OdbcException err)
{
MessageBox.Show(err.Message);
}
finally
{
conn.Close();
}
QuestionProgram Design - Master DataSet/Adapter for program? Pin
David Hovey4-Dec-08 8:53
David Hovey4-Dec-08 8:53 
AnswerRe: Program Design - Master DataSet/Adapter for program? Pin
Wendelius4-Dec-08 9:25
mentorWendelius4-Dec-08 9:25 
GeneralRe: Program Design - Master DataSet/Adapter for program? Pin
David Hovey4-Dec-08 10:56
David Hovey4-Dec-08 10:56 
GeneralRe: Program Design - Master DataSet/Adapter for program? Pin
Wendelius5-Dec-08 7:50
mentorWendelius5-Dec-08 7:50 
QuestionDatabase Problem Pin
sajjadlashari3-Dec-08 22:50
sajjadlashari3-Dec-08 22:50 
AnswerRe: Database Problem Pin
J4amieC3-Dec-08 23:08
J4amieC3-Dec-08 23:08 
AnswerRe: Database Problem Pin
Wendelius4-Dec-08 7:40
mentorWendelius4-Dec-08 7:40 
QuestionNot able to see the Access database structure behind the form Pin
Brendan Vogt3-Dec-08 22:37
Brendan Vogt3-Dec-08 22:37 
AnswerRe: Not able to see the Access database structure behind the form Pin
ChandraRam4-Dec-08 1:59
ChandraRam4-Dec-08 1:59 
AnswerRe: Not able to see the Access database structure behind the form Pin
Jerry Hammond4-Dec-08 6:36
Jerry Hammond4-Dec-08 6:36 
Questionproblem creating database role... Pin
rajkumar.33-Dec-08 22:33
rajkumar.33-Dec-08 22:33 
AnswerRe: problem creating database role... Pin
Wendelius4-Dec-08 3:54
mentorWendelius4-Dec-08 3:54 
QuestionTime out only the first time Pin
samerh3-Dec-08 21:02
samerh3-Dec-08 21:02 
AnswerRe: Time out only the first time Pin
Wendelius4-Dec-08 4:03
mentorWendelius4-Dec-08 4:03 
QuestionNeed to execute a query when postgres service starts Pin
krishnan.s3-Dec-08 20:45
krishnan.s3-Dec-08 20:45 
AnswerRe: Need to execute a query when postgres service starts Pin
Wendelius4-Dec-08 7:06
mentorWendelius4-Dec-08 7:06 
QuestionTo apply a search on every table in a database Pin
rahuladya3-Dec-08 19:49
rahuladya3-Dec-08 19:49 

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.