Click here to Skip to main content
15,913,854 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Get record info from a datagrid Pin
KreativeKai16-Feb-06 3:21
professionalKreativeKai16-Feb-06 3:21 
GeneralRe: Get record info from a datagrid Pin
New_Coder16-Feb-06 11:48
New_Coder16-Feb-06 11:48 
GeneralRe: Get record info from a datagrid Pin
KreativeKai17-Feb-06 2:10
professionalKreativeKai17-Feb-06 2:10 
Questionhow to use EOF or BOF in vb.net Pin
haripaddu15-Feb-06 11:21
haripaddu15-Feb-06 11:21 
AnswerRe: how to use EOF or BOF in vb.net Pin
KaptinKrunch15-Feb-06 11:29
KaptinKrunch15-Feb-06 11:29 
GeneralRe: how to use EOF or BOF in vb.net Pin
haripaddu15-Feb-06 11:38
haripaddu15-Feb-06 11:38 
GeneralRe: how to use EOF or BOF in vb.net Pin
haripaddu15-Feb-06 11:43
haripaddu15-Feb-06 11:43 
GeneralRe: how to use EOF or BOF in vb.net Pin
mayhem_rules15-Feb-06 17:21
mayhem_rules15-Feb-06 17:21 
hi, You have said "when i enter some value in the first text box and click the command button,it will be connected to the database and it should retrieve the values of the other two fields in the other two text boxes".

if this is the case, then you need to use the code below to search the dataset for the textbox1 value and retrieve the other corresponding values.
Firstly alter your sql statement and select the hotel name as well. the use the code below to retrieve the values:

Dim foundRows As DataRow()
Dim row As DataRow
foundRows = dataset.Table.Select("hotelname = '" & Trim(textbox1.text) & "')
For Each row In foundRows
AREA = row("area").ToString()
CATEGORY = row("category").ToString()
Next row

I hope this is helpful to you.

With Best Regards,

Mayur
QuestionUsing setFilePointer API Pin
IH8Microsoft15-Feb-06 10:18
IH8Microsoft15-Feb-06 10:18 
AnswerRe: Using setFilePointer API Pin
Dave Kreskowiak15-Feb-06 10:57
mveDave Kreskowiak15-Feb-06 10:57 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 11:32
IH8Microsoft15-Feb-06 11:32 
GeneralRe: Using setFilePointer API Pin
Dave Kreskowiak15-Feb-06 13:03
mveDave Kreskowiak15-Feb-06 13:03 
AnswerRe: Using setFilePointer API Pin
progload15-Feb-06 11:49
progload15-Feb-06 11:49 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 11:58
IH8Microsoft15-Feb-06 11:58 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 12:13
IH8Microsoft15-Feb-06 12:13 
GeneralRe: Using setFilePointer API Pin
progload15-Feb-06 12:37
progload15-Feb-06 12:37 
GeneralRe: Using setFilePointer API Pin
IH8Microsoft15-Feb-06 12:51
IH8Microsoft15-Feb-06 12:51 
QuestionCombobox Items Pin
kostasdiktia215-Feb-06 10:02
kostasdiktia215-Feb-06 10:02 
AnswerRe: Combobox Items Pin
Dave Kreskowiak15-Feb-06 10:45
mveDave Kreskowiak15-Feb-06 10:45 
GeneralRe: Combobox Items Pin
kostasdiktia215-Feb-06 13:35
kostasdiktia215-Feb-06 13:35 
AnswerRe: Combobox Items Pin
Steve Pullan15-Feb-06 11:50
Steve Pullan15-Feb-06 11:50 
GeneralRe: Combobox Items Pin
Dave Kreskowiak15-Feb-06 13:01
mveDave Kreskowiak15-Feb-06 13:01 
QuestionRegistry keys Pin
kostasdiktia215-Feb-06 9:50
kostasdiktia215-Feb-06 9:50 
AnswerRe: Registry keys Pin
Dave Kreskowiak15-Feb-06 10:43
mveDave Kreskowiak15-Feb-06 10:43 
GeneralRe: Registry keys Pin
kostasdiktia215-Feb-06 13:39
kostasdiktia215-Feb-06 13:39 

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.