Loading

how to connect databse from MS Access to Listview?

5 posts / 0 new
Last post
Offline
Joined: 07/20/2010
how to connect databse from MS Access to Listview?

we have tried a tutorial in youtube and it didn't work.. can anyone give a codes that can connect ADODB in list view pls help!

Anonymous
Hey

I know a code but it's a listbox ^_^

renz09's picture
Offline
Joined: 10/24/2009
brewratz26

hello!

try to this code...

sub list ()
dim strCriteria as String

listview1.listitems.clear

set rs = ADODB.Recordset

with rs

strCriteria = "Select * from tblSample order by ItemDescription asc"

.open strCriteria, conn, 3, 3

listview1.ListIems.add, , "collumn", 1, 1
End with

set rs = nothing

End Sub

Form_Load
list
End sub

kinulangan q yung codes........
uhmp...try to study the codes by line......discover your self.........happy coding! gud lck!

Anonymous
database to listview

you can download Code Storagre V1.0.0, there's a function Fill Listview there you can use

Offline
Joined: 08/11/2010
to listview from access

download Code Storage, there's a function FillListview that you can use.

http://cad3dmdd.ucoz.com
http://www.cad3dmdd.com

Pages

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.