Click here to Skip to main content
15,907,392 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionMail Option in vb.net??? Pin
JC.KaNNaN22-Dec-09 22:55
JC.KaNNaN22-Dec-09 22:55 
AnswerRe: Mail Option in vb.net??? Pin
Md. Marufuzzaman23-Dec-09 0:10
professionalMd. Marufuzzaman23-Dec-09 0:10 
GeneralRe: Mail Option in vb.net??? Pin
JC.KaNNaN23-Dec-09 1:38
JC.KaNNaN23-Dec-09 1:38 
GeneralRe: Mail Option in vb.net??? Pin
Jay Royall23-Dec-09 2:02
Jay Royall23-Dec-09 2:02 
GeneralRe: Mail Option in vb.net??? Pin
Md. Marufuzzaman23-Dec-09 2:08
professionalMd. Marufuzzaman23-Dec-09 2:08 
QuestionCallbacks on same page causing a problem [modified] Pin
plecco22-Dec-09 8:33
plecco22-Dec-09 8:33 
AnswerRe: Callbacks on same page causing a problem Pin
Md. Marufuzzaman22-Dec-09 11:25
professionalMd. Marufuzzaman22-Dec-09 11:25 
QuestionDatabase search in vb6 Pin
offroaderdan22-Dec-09 8:08
offroaderdan22-Dec-09 8:08 
Experts, i need your help Frown | :(

I have got so far with a search option however it doesn't seem to work.

I have a simple database of a person, the fields are labeled up ID, First_Name, Surname etc etc

if for example bob wants to know how many points he scored in maths test A i want to be able to search for bob and got bob you scored 0

this is so far how much i have done.
Adodc1.RecordSource = "SELECT * From datagrid1 WHERE [First_Name] = 'bob'"



eventually i will add a text box instead of hard coding bob.
so it may look something along the line of this

<pre>Adodc1.RecordSource = "SELECT * From datagrid1 WHERE [First_Name] = 'txtSearch.text'"</pre>

i again tried this and nothing worked Frown | :(

it would really help me if someone could tell me where i have gone wrong. Every thing else works apart from this.

Many thanks

Dan
AnswerRe: Database search in vb6 Pin
Luc Pattyn22-Dec-09 8:20
sitebuilderLuc Pattyn22-Dec-09 8:20 
GeneralRe: Database search in vb6 Pin
offroaderdan22-Dec-09 8:29
offroaderdan22-Dec-09 8:29 
GeneralRe: Database search in vb6 Pin
offroaderdan22-Dec-09 8:32
offroaderdan22-Dec-09 8:32 
GeneralRe: Database search in vb6 Pin
Luc Pattyn22-Dec-09 8:36
sitebuilderLuc Pattyn22-Dec-09 8:36 
GeneralRe: Database search in vb6 Pin
offroaderdan22-Dec-09 8:40
offroaderdan22-Dec-09 8:40 
GeneralRe: Database search in vb6 Pin
Eddy Vluggen22-Dec-09 9:39
professionalEddy Vluggen22-Dec-09 9:39 
GeneralRe: Database search in vb6 Pin
offroaderdan22-Dec-09 10:59
offroaderdan22-Dec-09 10:59 
GeneralRe: Database search in vb6 Pin
offroaderdan22-Dec-09 11:09
offroaderdan22-Dec-09 11:09 
GeneralRe: Database search in vb6 Pin
Md. Marufuzzaman22-Dec-09 11:22
professionalMd. Marufuzzaman22-Dec-09 11:22 
GeneralRe: Database search in vb6 Pin
Eddy Vluggen22-Dec-09 11:57
professionalEddy Vluggen22-Dec-09 11:57 
GeneralRe: Database search in vb6 Pin
offroaderdan22-Dec-09 23:24
offroaderdan22-Dec-09 23:24 
GeneralRe: Database search in vb6 Pin
Eddy Vluggen23-Dec-09 0:39
professionalEddy Vluggen23-Dec-09 0:39 
GeneralRe: Database search in vb6 Pin
offroaderdan23-Dec-09 7:20
offroaderdan23-Dec-09 7:20 
Question[Message Deleted] Pin
manisghouri22-Dec-09 5:06
manisghouri22-Dec-09 5:06 
AnswerRe: Technical documentation of a software [modified] Pin
Dr.Walt Fair, PE22-Dec-09 5:48
professionalDr.Walt Fair, PE22-Dec-09 5:48 
QuestionWriting the content of a text file Pin
hvgyufg28fh38tyr78hf22-Dec-09 2:38
hvgyufg28fh38tyr78hf22-Dec-09 2:38 
AnswerRe: Writing the content of a text file Pin
Ashfield22-Dec-09 2:42
Ashfield22-Dec-09 2:42 

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.