Link to home
Start Free TrialLog in
Avatar of awolarczuk
awolarczukFlag for Australia

asked on

query from a listview result, code used in vb6 not working in vb.net --- help ---

Hey guys i am trying to query based from the result from the listview box, i am using the code that works in vb6 but doesnt want to work in .net

some help would be great

        sql = "select * from [stock_card] where [stockid] =   " & ListView1.SelectedItems.Item(1)
ASKER CERTIFIED SOLUTION
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of awolarczuk

ASKER

didnt have to .text that wasnt neededin the vb6 one thanks for that