Click here to Skip to main content
15,889,702 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHelp on Datasets Pin
Pete Newman20-Nov-06 23:27
Pete Newman20-Nov-06 23:27 
QuestionHow to BindingData to RadioButton Pin
kindman_nb20-Nov-06 23:17
kindman_nb20-Nov-06 23:17 
AnswerNo one tried to aid me << my project is sopped Pin
kindman_nb21-Nov-06 3:37
kindman_nb21-Nov-06 3:37 
GeneralRe: No one tried to aid me << my project is sopped Pin
Kevin Nicol21-Nov-06 3:46
Kevin Nicol21-Nov-06 3:46 
GeneralRe: No one tried to aid me << my project is sopped Pin
kindman_nb21-Nov-06 3:56
kindman_nb21-Nov-06 3:56 
AnswerRe: No one tried to aid me << my project is sopped Pin
Kevin Nicol21-Nov-06 4:04
Kevin Nicol21-Nov-06 4:04 
GeneralRe: No one tried to aid me << my project is sopped Pin
kindman_nb21-Nov-06 4:11
kindman_nb21-Nov-06 4:11 
AnswerRe: No one tried to aid me << my project is sopped Pin
Kevin Nicol21-Nov-06 7:48
Kevin Nicol21-Nov-06 7:48 
That was pretty vague but if I understand correctly there are 3 fields in a table in the database, and you want to use the radio buttons to choose which field to select from?

<br />
dim Field as string<br />
IF rdb1.checked THEN<br />
field = 'field name<br />
else if rdb2.checked THEN<br />
field = 'field name 2<br />
else<br />
field = 'field name 3<br />
end if<br />


Thas pretty bad programing style but for purpose of explination it will suffice
Now you perform the select statement

<br />
SomeAdapter.SelectCommand.CommandText = "SELECT " & Field & " FROM some table WHERE somecontraints<br />


hope that helps
Questionvb.net Pin
saju sandeep samuel20-Nov-06 23:00
saju sandeep samuel20-Nov-06 23:00 
AnswerRe: vb.net Pin
Christian Graus20-Nov-06 23:20
protectorChristian Graus20-Nov-06 23:20 
AnswerRe: vb.net Pin
jsampsonPC22-Nov-06 10:11
jsampsonPC22-Nov-06 10:11 
Questionvb.net Pin
saju sandeep samuel20-Nov-06 22:59
saju sandeep samuel20-Nov-06 22:59 
AnswerRe: vb.net Pin
jsampsonPC21-Nov-06 11:36
jsampsonPC21-Nov-06 11:36 
QuestionChange systemdate in vb.net Pin
kavithapuranik20-Nov-06 22:29
kavithapuranik20-Nov-06 22:29 
AnswerRe: Change systemdate in vb.net Pin
Steven J Jowett22-Nov-06 23:22
Steven J Jowett22-Nov-06 23:22 
Questiontoolbar control in vb 6.0 Pin
bony_baba20-Nov-06 20:58
bony_baba20-Nov-06 20:58 
QuestionMenu Colour Pin
Tj.20-Nov-06 20:48
Tj.20-Nov-06 20:48 
AnswerRe: Menu Colour Pin
jsampsonPC22-Nov-06 10:06
jsampsonPC22-Nov-06 10:06 
Questionhow to print billings using visual basic Pin
shazzney20-Nov-06 20:21
shazzney20-Nov-06 20:21 
AnswerRe: how to print billings using visual basic Pin
Christian Graus20-Nov-06 21:53
protectorChristian Graus20-Nov-06 21:53 
AnswerRe: how to print billings using visual basic Pin
nsurendran21-Nov-06 21:59
nsurendran21-Nov-06 21:59 
GeneralRe: how to print billings using visual basic Pin
shazzney22-Nov-06 20:53
shazzney22-Nov-06 20:53 
Questionparallel input with less windows dependency Pin
vidante20-Nov-06 17:55
vidante20-Nov-06 17:55 
AnswerRe: parallel input with less windows dependency Pin
Christian Graus20-Nov-06 19:42
protectorChristian Graus20-Nov-06 19:42 
GeneralRe: parallel input with less windows dependency Pin
vidante21-Nov-06 19:15
vidante21-Nov-06 19:15 

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.