Click here to Skip to main content
15,897,113 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: executereader inquiry Pin
Dave Kreskowiak20-Feb-06 4:25
mveDave Kreskowiak20-Feb-06 4:25 
GeneralRe: executereader inquiry Pin
maytel20-Feb-06 16:49
maytel20-Feb-06 16:49 
GeneralRe: executereader inquiry Pin
Dave Kreskowiak21-Feb-06 13:20
mveDave Kreskowiak21-Feb-06 13:20 
QuestionMissingFieldException Unhandled!! Pin
Devraj Raut17-Feb-06 8:39
Devraj Raut17-Feb-06 8:39 
AnswerRe: MissingFieldException Unhandled!! Pin
progload18-Feb-06 7:39
progload18-Feb-06 7:39 
Questionnew window service in .net Pin
natDD17-Feb-06 8:09
natDD17-Feb-06 8:09 
AnswerRe: new window service in .net Pin
Joshua Quick17-Feb-06 8:25
Joshua Quick17-Feb-06 8:25 
QuestionHow can I choose specific row on a listview? Pin
wliong17-Feb-06 8:00
wliong17-Feb-06 8:00 
Hi,

I'm trying to query some data into a listview.
When there is more than one row of data on the listview, how can I choose a specific row to be displayed into a new form?


-----------------------------------------
MyQuery1 = "SELECT Date, Author, Comments, Ratings FROM [books] WHERE [name] = '" & txtbooksname.Text & "' "

Do While Not rs1.EOF
Set anItem1 = lvwRvw.ListItems.Add(, , rs1(0) & vbNullString)
For m = 1 To rs1.Fields.Count - 1
anItem1.SubItems(m) = rs1(m) & vbNullString
Next m
rs1.MoveNext
Loop
------------------------------------------

example:

Row Date Author Comments Ratings
1 01/01/2005 aaa romance B-
2 01/02/2004 bbb advanture B+
3 01/02/2005 bbb advanture B

How can I get the details of row 2 to be displayed on a new form?

Thank you very much.
AnswerRe: How can I choose specific row on a listview? Pin
Ray Cassick17-Feb-06 8:06
Ray Cassick17-Feb-06 8:06 
AnswerRe: How can I choose specific row on a listview? Pin
Mekong River18-Feb-06 15:26
Mekong River18-Feb-06 15:26 
QuestionExecuting stored procedure through VB.net Pin
vilasjain17-Feb-06 7:15
vilasjain17-Feb-06 7:15 
AnswerRe: Executing stored procedure through VB.net Pin
ToddHileHoffer17-Feb-06 7:25
ToddHileHoffer17-Feb-06 7:25 
GeneralRe: Executing stored procedure through VB.net Pin
vilasjain17-Feb-06 16:48
vilasjain17-Feb-06 16:48 
GeneralRe: Executing stored procedure through VB.net Pin
ToddHileHoffer19-Feb-06 17:56
ToddHileHoffer19-Feb-06 17:56 
QuestionHow do I populate combo box with tableadapter? Pin
bradbritton17-Feb-06 6:44
bradbritton17-Feb-06 6:44 
AnswerRe: How do I populate combo box with tableadapter? Pin
Mekong River18-Feb-06 15:34
Mekong River18-Feb-06 15:34 
QuestionInteresting Problem with ShowFolderList Pin
Quecumber25617-Feb-06 6:20
Quecumber25617-Feb-06 6:20 
AnswerRe: Interesting Problem with ShowFolderList Pin
Dave Kreskowiak17-Feb-06 9:41
mveDave Kreskowiak17-Feb-06 9:41 
GeneralRe: Interesting Problem with ShowFolderList Pin
Quecumber25617-Feb-06 16:14
Quecumber25617-Feb-06 16:14 
GeneralRe: Interesting Problem with ShowFolderList Pin
Dave Kreskowiak17-Feb-06 16:23
mveDave Kreskowiak17-Feb-06 16:23 
Questionquestions about vb6.0 Pin
rajanit17-Feb-06 2:06
rajanit17-Feb-06 2:06 
AnswerRe: questions about vb6.0 Pin
Duncan Edwards Jones17-Feb-06 2:44
professionalDuncan Edwards Jones17-Feb-06 2:44 
QuestionUsing Winsock in VB .Net Pin
MatthysDT17-Feb-06 1:29
MatthysDT17-Feb-06 1:29 
AnswerRe: Using Winsock in VB .Net Pin
progload18-Feb-06 7:20
progload18-Feb-06 7:20 
GeneralRe: Using Winsock in VB .Net Pin
MatthysDT19-Feb-06 21:43
MatthysDT19-Feb-06 21:43 

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.