Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: what is the purpose of a interface(not talking about guis) Pin
Marc Clifton25-Sep-04 9:23
mvaMarc Clifton25-Sep-04 9:23 
Generalrich text bullets are not displayed in Crystal report. .net 2003 Pin
sundar_raj24-Sep-04 6:53
sundar_raj24-Sep-04 6:53 
GeneralC# Convolution Function Pin
ee9903524-Sep-04 6:27
ee9903524-Sep-04 6:27 
GeneralRe: C# Convolution Function Pin
yoaz26-Sep-04 3:59
yoaz26-Sep-04 3:59 
QuestionHow to read image files with extensions which are not predefined in C# Pin
Kiran Satish24-Sep-04 6:14
Kiran Satish24-Sep-04 6:14 
AnswerRe: How to read image files with extensions which are not predefined in C# Pin
Colin Angus Mackay24-Sep-04 6:54
Colin Angus Mackay24-Sep-04 6:54 
GeneralRe: How to read image files with extensions which are not predefined in C# Pin
Kiran Satish24-Sep-04 7:14
Kiran Satish24-Sep-04 7:14 
Generalfinding a record in a table Pin
steve_rm24-Sep-04 5:30
steve_rm24-Sep-04 5:30 
Hello

I want to be able to get one record from the teacher's table and still the record in the Database. The user will enter the ID number and then press a find button. The contents of this record can be
displayed in some text boxes.


Code:
cnnTeacher.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\IBS Library System\LibrarySystem.mdb;Persist Security Info=False";
OleDbDataAdapter daTeacher = new OleDbDataAdapter("SELECT * FROM Teacher WHERE teacherID = '" + txtIDNumber.Text + "' ",cnnTeacher);
OleDbCommandBuilder cbTeacher = new OleDbCommandBuilder(daTeacher);

daTeacher.Fill(dtTeacher);

txtName.text = //code to go here for display the name of the teacher from finding ID number



Many thanks in advance

GeneralRe: finding a record in a table Pin
Heath Stewart24-Sep-04 6:44
protectorHeath Stewart24-Sep-04 6:44 
GeneralRe: finding a record in a table Pin
Brian Delahunty24-Sep-04 12:34
Brian Delahunty24-Sep-04 12:34 
GeneralRe: finding a record in a table Pin
Heath Stewart24-Sep-04 15:01
protectorHeath Stewart24-Sep-04 15:01 
GeneralI remembered! Pin
eggie524-Sep-04 16:32
eggie524-Sep-04 16:32 
GeneralRe: I remembered! Pin
Heath Stewart25-Sep-04 9:19
protectorHeath Stewart25-Sep-04 9:19 
GeneralRe: I remembered! Pin
eggie525-Sep-04 11:08
eggie525-Sep-04 11:08 
GeneralRe: finding a record in a table Pin
Brian Delahunty25-Sep-04 0:04
Brian Delahunty25-Sep-04 0:04 
GeneralRe: finding a record in a table Pin
Heath Stewart25-Sep-04 9:24
protectorHeath Stewart25-Sep-04 9:24 
GeneralIE Hosted UserControl Pin
OBRon24-Sep-04 3:24
OBRon24-Sep-04 3:24 
GeneralRe: IE Hosted UserControl Pin
Heath Stewart24-Sep-04 6:02
protectorHeath Stewart24-Sep-04 6:02 
Generalinvisible items in combobox and listbox Pin
alvin@datell24-Sep-04 2:34
alvin@datell24-Sep-04 2:34 
GeneralRe: invisible items in combobox and listbox Pin
sreejith ss nair24-Sep-04 3:47
sreejith ss nair24-Sep-04 3:47 
GeneralRe: invisible items in combobox and listbox Pin
alvin@datell24-Sep-04 3:50
alvin@datell24-Sep-04 3:50 
GeneralRe: invisible items in combobox and listbox Pin
sreejith ss nair24-Sep-04 3:57
sreejith ss nair24-Sep-04 3:57 
GeneralRe: invisible items in combobox and listbox Pin
alvin@datell24-Sep-04 4:05
alvin@datell24-Sep-04 4:05 
GeneralRe: invisible items in combobox and listbox Pin
sreejith ss nair24-Sep-04 4:07
sreejith ss nair24-Sep-04 4:07 
GeneralRe: invisible items in combobox and listbox Pin
Filipe Peixinho11-Nov-04 10:19
Filipe Peixinho11-Nov-04 10:19 

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.