Click here to Skip to main content
15,922,630 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Events Button Pin
Dave Kreskowiak31-Mar-06 13:19
mveDave Kreskowiak31-Mar-06 13:19 
QuestionResize jpeg files Pin
Dennis Huisman31-Mar-06 5:59
Dennis Huisman31-Mar-06 5:59 
Questiongettinig insert error and need help Pin
MeterMan31-Mar-06 5:53
MeterMan31-Mar-06 5:53 
AnswerRe: gettinig insert error and need help Pin
Paradise Bride31-Mar-06 6:35
Paradise Bride31-Mar-06 6:35 
GeneralRe: gettinig insert error and need help Pin
MeterMan31-Mar-06 8:38
MeterMan31-Mar-06 8:38 
AnswerRe: gettinig insert error and need help Pin
Dave Kreskowiak31-Mar-06 9:23
mveDave Kreskowiak31-Mar-06 9:23 
GeneralRe: gettinig insert error and need help Pin
MeterMan31-Mar-06 16:22
MeterMan31-Mar-06 16:22 
Questiondealing with more than table Pin
Paradise Bride31-Mar-06 5:02
Paradise Bride31-Mar-06 5:02 
hello friends....how r u?
well i've 3 tables in access and i wanna connect with them by vb.net .....any help plzzzzzzzzzzz
see my codes...
in buttun btnsearch , i used select command to search about information about patiend by his name then display that in textboxes as......
Private Sub Btnsearch_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Btnsearch.Click<br />
       Dim Sel As New OleDbCommand<br />
       Dim R As OleDbDataReader<br />
       Sel.Connection = OleDbConnection1<br />
       Sel.CommandText = "select* from [patients appointment] where ([patient_name]=" & TxtName.Text & ")"<br />
       OleDbConnection1.Open()<br />
       R = Sel.ExecuteReader<br />
       If R.Read Then<br />
           TxtName.Text = R.GetValue(0)<br />
           TxtFleNum.Text = R.GetValue(1)<br />
           TxtDate.Text = R.GetValue(2)<br />
           TxtDoName.Text = R.GetValue(3)<br />
           TxtClinic.Text = R.GetValue(4)<br />
           TxtNote.Text = R.GetValue(5)<br />
       Else<br />
           MsgBox("we can't find any date about the selected name")<br />
       End If<br />
       OleDbConnection1.Close()<br />
       R.Close()<br />
   End Sub


well... i used up to search about patient and display his information from 1 table, but that patient have another information in another table and i wanna display that in textbox...how can i do that in button of search??

i hope u understood me and i can find answersSmile | :)



Sally>>>><<<<take me="" 2="" ur="" paradise="">>>><<<
QuestionCalling unmanaged function Pin
mosquitooth31-Mar-06 4:45
mosquitooth31-Mar-06 4:45 
Questionbarcode scanner Pin
SVb.net31-Mar-06 3:30
SVb.net31-Mar-06 3:30 
AnswerRe: barcode scanner Pin
J4amieC31-Mar-06 3:43
J4amieC31-Mar-06 3:43 
Question[Message Deleted] Pin
campbells31-Mar-06 2:42
campbells31-Mar-06 2:42 
GeneralRe: cant add data to access??? Pin
Guffa31-Mar-06 4:37
Guffa31-Mar-06 4:37 
AnswerRe: cant add data to access??? Pin
Vikrant Badhai31-Mar-06 21:07
Vikrant Badhai31-Mar-06 21:07 
GeneralRe: cant add data to access??? Pin
MohammadAmiry31-Mar-06 22:25
MohammadAmiry31-Mar-06 22:25 
QuestionRemoving Visual Studio 2003 Pin
MatthysDT31-Mar-06 1:43
MatthysDT31-Mar-06 1:43 
AnswerRe: Removing Visual Studio 2003 Pin
CWIZO31-Mar-06 2:17
CWIZO31-Mar-06 2:17 
GeneralRe: Removing Visual Studio 2003 Pin
MatthysDT31-Mar-06 2:26
MatthysDT31-Mar-06 2:26 
GeneralRe: Removing Visual Studio 2003 Pin
J4amieC31-Mar-06 2:33
J4amieC31-Mar-06 2:33 
GeneralRe: Removing Visual Studio 2003 Pin
Dave Kreskowiak31-Mar-06 5:35
mveDave Kreskowiak31-Mar-06 5:35 
GeneralRe: Removing Visual Studio 2003 Pin
MatthysDT2-Apr-06 20:27
MatthysDT2-Apr-06 20:27 
Questionregarding datagrid scrolling downwards Pin
Pravin H31-Mar-06 1:39
Pravin H31-Mar-06 1:39 
Questionerror msg while closing vb.net project Pin
Pravin H31-Mar-06 1:37
Pravin H31-Mar-06 1:37 
QuestionConnecting to SQL Server Pin
dikshit0531-Mar-06 0:07
dikshit0531-Mar-06 0:07 
AnswerRe: Connecting to SQL Server Pin
CWIZO31-Mar-06 1:26
CWIZO31-Mar-06 1:26 

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.