ListBox

aru

Member
when iam searching a table field in my database with a text box i want to Show Result in a ListBox Iused Some Methods But It is Not Success

any one can help me?
:sign0085:
 

aru

Member
Ihave Many Fields Like Student name,address,phone,mobile etc

when iam search the student name via a textbox i want to display the search result in the listbox
can you help me?
 

aru

Member
Ya I Downloaded The Progaram But it is not cleared my dout

this is my code

Command.AddParameter("STUDENT")
Command.SetParameter("STUDENT",STUDENT.Text)

Reader.New1

Command.CommandText = "select * from studentinfo where studentname=@STUDENT"
Connection.BeginTransaction
Reader.Value = Command.ExecuteReader

Do While Reader.ReadNextRow = True
'ListboxView1.Add(Reader.GetValue(1))

Loop
Reader.Close

Connection.EndTransaction

this is My concept is this possible 'ListboxView1.Add(Reader.GetValue(1))

I thing Now You Can Help Me
:sign0085:
 
Top