Click here to Skip to main content
16,006,605 members
Home / Discussions / C#
   

C#

 
GeneralRe: .NET 1.1 SP1 causes lots of problems! Pin
Pain_Elemental29-Sep-04 9:11
Pain_Elemental29-Sep-04 9:11 
Questionsliding toolbar?? Pin
wakkerjack29-Sep-04 2:12
wakkerjack29-Sep-04 2:12 
AnswerRe: sliding toolbar?? Pin
Jon G29-Sep-04 5:54
Jon G29-Sep-04 5:54 
Questioncannot invoke method via reflection...? Pin
jkersch29-Sep-04 1:58
jkersch29-Sep-04 1:58 
AnswerRe: cannot invoke method via reflection...? Pin
Nick Parker29-Sep-04 3:50
protectorNick Parker29-Sep-04 3:50 
AnswerRe: cannot invoke method via reflection...? Pin
Heath Stewart29-Sep-04 6:19
protectorHeath Stewart29-Sep-04 6:19 
GeneralRe: cannot invoke method via reflection...? Pin
jkersch29-Sep-04 9:22
jkersch29-Sep-04 9:22 
GeneralError with OleDb not found Pin
steve_rm29-Sep-04 1:19
steve_rm29-Sep-04 1:19 
Hello

I have a problem with the following code. It gives an error saying that the OleDb could not be found. I have included using System.OleDb at the top of my form. But still get the error.

[code=vb]
cnnTeacher.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\IBS Library System\LibrarySystem.mdb;Persist Security Info=False";

OleDbCommand cmdTeacher = cnnTeacher.CreateCommand();
cmdTeacher.CommandText = "Select * From Teacher Where TeacherID = txtIDNumber.text";

cmdTeacher.Parameters.Add("ID", OleDb.VarWChar, 40).Value = txtIDNumber.Text; //OleDb could not be found
OleDbDataAdapter daTeacher = new OleDbDataAdapter(cmdTeacher);
OleDbCommandBuilder cbTeacher = new OleDbCommandBuilder(daTeacher);

daTeacher.Fill(dtTeacher);
[/code]

Many thanks in advance,

Steve
GeneralRe: Error with OleDb not found Pin
smithriver29-Sep-04 12:22
smithriver29-Sep-04 12:22 
GeneralRe: Error with OleDb not found Pin
steve_rm30-Sep-04 0:58
steve_rm30-Sep-04 0:58 
GeneralRe: Error with OleDb not found Pin
smithriver30-Sep-04 6:16
smithriver30-Sep-04 6:16 
GeneralRe: Error with OleDb not found Pin
steve_rm8-Oct-04 20:18
steve_rm8-Oct-04 20:18 
GeneralWhy is "Refresh" needed?(Smooth Progress Bar User Control) Pin
Gary Perkin28-Sep-04 22:49
Gary Perkin28-Sep-04 22:49 
GeneralRe: Why is "Refresh" needed?(Smooth Progress Bar User Control) Pin
leppie29-Sep-04 1:00
leppie29-Sep-04 1:00 
GeneralRe: Why is "Refresh" needed?(Smooth Progress Bar User Control) Pin
kayhustle29-Sep-04 6:33
kayhustle29-Sep-04 6:33 
GeneralWSE 2.0 sp 1 problem Pin
sandu200428-Sep-04 22:35
sandu200428-Sep-04 22:35 
GeneralNO ONE KNOW THAT ??? what is the value ANY ONE REPLY ME PLZ Pin
MoustafaS28-Sep-04 22:26
MoustafaS28-Sep-04 22:26 
GeneralRe: NO ONE KNOW THAT ??? what is the value ANY ONE REPLY ME PLZ Pin
Stefan Troschuetz28-Sep-04 22:56
Stefan Troschuetz28-Sep-04 22:56 
GeneralRe: NO ONE KNOW THAT ??? what is the value ANY ONE REPLY ME PLZ Pin
benjymous29-Sep-04 2:27
benjymous29-Sep-04 2:27 
GeneralRe: NO ONE KNOW THAT ??? what is the value ANY ONE REPLY ME PLZ Pin
Nick Parker29-Sep-04 4:06
protectorNick Parker29-Sep-04 4:06 
GeneralRegistry and Eventlog!!! Pin
Member 140072028-Sep-04 21:38
Member 140072028-Sep-04 21:38 
GeneralRe: Registry and Eventlog!!! Pin
Rein Hillmann28-Sep-04 21:47
Rein Hillmann28-Sep-04 21:47 
GeneralI realy need help Pin
Sakkijha28-Sep-04 21:18
Sakkijha28-Sep-04 21:18 
GeneralRe: I realy need help Pin
Rein Hillmann28-Sep-04 21:27
Rein Hillmann28-Sep-04 21:27 
GeneralRe: I realy need help Pin
Sakkijha28-Sep-04 21:44
Sakkijha28-Sep-04 21:44 

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.