Click here to Skip to main content
15,886,857 members
Home / Discussions / C#
   

C#

 
GeneralRe: combobox datasource problem Pin
V.3-Aug-06 21:43
professionalV.3-Aug-06 21:43 
QuestionXmlReader problem when XML has non foreign special characters [modified] Pin
Andreas X3-Aug-06 20:51
professionalAndreas X3-Aug-06 20:51 
AnswerRe: XmlReader problem when XML has non foreign special characters Pin
Guffa3-Aug-06 22:40
Guffa3-Aug-06 22:40 
GeneralRe: XmlReader problem when XML has non foreign special characters [modified] Pin
lmoelleb3-Aug-06 22:56
lmoelleb3-Aug-06 22:56 
AnswerRe: XmlReader problem when XML has non foreign special characters [modified] Pin
eggie55-Aug-06 21:02
eggie55-Aug-06 21:02 
QuestionTo Add a User to Windows programtically Pin
Deepa N3-Aug-06 20:48
Deepa N3-Aug-06 20:48 
AnswerRe: To Add a User to Windows programtically Pin
Shajeel3-Aug-06 21:10
Shajeel3-Aug-06 21:10 
QuestionoledBconnection error Pin
skyeddie3-Aug-06 19:27
skyeddie3-Aug-06 19:27 
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: oledBconnection error Pin
Expert Coming3-Aug-06 19:47
Expert Coming3-Aug-06 19:47 
GeneralRe: oledBconnection error Pin
skyeddie3-Aug-06 20:01
skyeddie3-Aug-06 20:01 
GeneralRe: oledBconnection error Pin
Expert Coming3-Aug-06 20:30
Expert Coming3-Aug-06 20:30 
Questionhi Pin
santhoshalakshmi3-Aug-06 18:42
santhoshalakshmi3-Aug-06 18:42 
AnswerRe: hi Pin
Expert Coming3-Aug-06 19:07
Expert Coming3-Aug-06 19:07 
QuestionMethod Returns Twice Pin
Expert Coming3-Aug-06 18:18
Expert Coming3-Aug-06 18:18 
AnswerRe: Method Returns Twice Pin
Guffa3-Aug-06 19:02
Guffa3-Aug-06 19:02 
GeneralRe: Method Returns Twice Pin
Expert Coming3-Aug-06 19:06
Expert Coming3-Aug-06 19:06 
GeneralRe: Method Returns Twice Pin
Daniel Turini3-Aug-06 20:21
Daniel Turini3-Aug-06 20:21 
AnswerRe: Method Returns Twice Pin
Guffa5-Aug-06 13:36
Guffa5-Aug-06 13:36 
QuestionRe: Method Returns Twice Pin
Shajeel3-Aug-06 20:20
Shajeel3-Aug-06 20:20 
AnswerRe: Method Returns Twice Pin
Expert Coming3-Aug-06 20:27
Expert Coming3-Aug-06 20:27 
GeneralRe: Method Returns Twice Pin
Shajeel3-Aug-06 20:38
Shajeel3-Aug-06 20:38 
GeneralRe: Method Returns Twice [modified] Pin
lmoelleb3-Aug-06 20:44
lmoelleb3-Aug-06 20:44 
AnswerRe: Method Returns Twice Pin
Christian Graus3-Aug-06 20:52
protectorChristian Graus3-Aug-06 20:52 
GeneralRe: Method Returns Twice Pin
Expert Coming3-Aug-06 21:31
Expert Coming3-Aug-06 21:31 
GeneralRe: Method Returns Twice Pin
Guffa5-Aug-06 13:45
Guffa5-Aug-06 13:45 

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.