Click here to Skip to main content
15,911,360 members
Home / Discussions / Database
   

Database

 
AnswerRe: Rename Column Pin
Eric Dahlvang4-Aug-06 6:20
Eric Dahlvang4-Aug-06 6:20 
QuestionMSDE Install error [modified] Pin
Skanless3-Aug-06 20:16
Skanless3-Aug-06 20:16 
AnswerRe: MSDE Install error Pin
Ed.Poore4-Aug-06 0:07
Ed.Poore4-Aug-06 0:07 
GeneralRe: MSDE Install error Pin
Skanless4-Aug-06 5:45
Skanless4-Aug-06 5:45 
GeneralRe: MSDE Install error Pin
Ed.Poore4-Aug-06 13:39
Ed.Poore4-Aug-06 13:39 
AnswerRe: MSDE Install error Pin
Mike Dimmick5-Aug-06 16:49
Mike Dimmick5-Aug-06 16:49 
AnswerRe: MSDE Install error Pin
Skanless5-Aug-06 17:05
Skanless5-Aug-06 17:05 
Questionconn Pin
skyeddie3-Aug-06 20:15
skyeddie3-Aug-06 20:15 
hi all i have this pro on hand now.. i have downloaded some sample database applications from the internet..however when i want to debug it i gives me the error--An unhandled exception of type "system.Data.OleDb.OledbException" occurred in system.data.dll



does this errors occur due to where the dB file is located..is it correct? can someone out there help will this pro? and maybe guide me to correcting it ..thanks in advance..

an extract on of codes where the problem is highlighted is below:the pro is bold...thanks in advance

private void fclsMain_Load(object sender, System.EventArgs e)
{
m_cnADONewConnection.ConnectionString =
@"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\temp\contacts.mdb";
m_daDataAdapter =
new OleDbDataAdapter("Select * From Contacts",m_cnADONewConnection);
OleDbCommandBuilder m_cbCommandBuilder = new OleDbCommandBuilder(m_daDataAdapter);
m_daDataAdapter.Fill(m_dtContacts);
this.ShowCurrentRecord();

one of the ans i got is entering cnADONewConnection.Open();
before m_daDataAdapter.Fill(m_dtContacts);
but i got an error like this C:\Documents and Settings\STUDENT\Desktop\Database Example\Form1.cs(235): The type or namespace name 'cnADONewConnection' could not be found (are you missing a using directive or an assembly reference?)


can anyone please give me more detailed help as im really new to this


AnswerRe: conn Pin
Ed.Poore3-Aug-06 23:58
Ed.Poore3-Aug-06 23:58 
Questionpersisting changes in the database. Pin
urbane.tiger3-Aug-06 16:39
urbane.tiger3-Aug-06 16:39 
AnswerRe: persisting changes in the database. Pin
Ed.Poore4-Aug-06 0:01
Ed.Poore4-Aug-06 0:01 
GeneralRe: persisting changes in the database. Pin
urbane.tiger4-Aug-06 21:36
urbane.tiger4-Aug-06 21:36 
QuestionDataSet Error: Failed to add DataTable Pin
glima3-Aug-06 11:11
glima3-Aug-06 11:11 
AnswerRe: DataSet Error: Failed to add DataTable Pin
Stephen McGuire3-Aug-06 12:54
Stephen McGuire3-Aug-06 12:54 
GeneralRe: DataSet Error: Failed to add DataTable Pin
glima3-Aug-06 18:57
glima3-Aug-06 18:57 
QuestionSyntax for update statement Pin
leckey3-Aug-06 6:42
leckey3-Aug-06 6:42 
AnswerRe: Syntax for update statement Pin
Ennis Ray Lynch, Jr.3-Aug-06 8:23
Ennis Ray Lynch, Jr.3-Aug-06 8:23 
AnswerRe: Syntax for update statement Pin
Eric Dahlvang3-Aug-06 11:38
Eric Dahlvang3-Aug-06 11:38 
QuestionHow to seperate Date and Time in SQL Pin
ChennaiBabu3-Aug-06 2:06
ChennaiBabu3-Aug-06 2:06 
AnswerRe: How to seperate Date and Time in SQL Pin
WillemM3-Aug-06 3:34
WillemM3-Aug-06 3:34 
AnswerRe: How to seperate Date and Time in SQL Pin
albCode3-Aug-06 5:20
albCode3-Aug-06 5:20 
GeneralRe: How to seperate Date and Time in SQL Pin
Jayamaruthia3-Aug-06 19:46
Jayamaruthia3-Aug-06 19:46 
GeneralRe: How to seperate Date and Time in SQL Pin
albCode3-Aug-06 20:50
albCode3-Aug-06 20:50 
AnswerRe: How to seperate Date and Time in SQL Pin
KeesVer3-Aug-06 10:31
KeesVer3-Aug-06 10:31 
QuestionBACKUP DATABASE command syntax [modified] Pin
Steven J Jowett3-Aug-06 0:53
Steven J Jowett3-Aug-06 0:53 

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.