> > Untuk DataGrid yang menggunakan koneksi ADO apa coloum headernya
bisa
> > diganti text nya ?
> >
> > Kalau bisa tolong dong kasih tahu caranya
Dim rs As Object
Dim cn As Object
Set cn = CreateObject("ADODB.Connection")
cn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Program Files\Microsoft Visual Studio\VB98
\NWIND.MDB;Persist Security Info=False"
cn.cursorLocation = 3
cn.open
Set rs = cn.execute("SELECT * FROM Customers")
With DataGrid1
Set .DataSource = rs
.Columns.Item(0).Caption = "Kode"
.Columns.Item(1).Caption = "Nama"
.Columns.Item(4).Caption = "Alamat"
End With
Untuk berhenti berlangganan kirim email kosong ke : [EMAIL PROTECTED]
Ikuti juga forum diskusi VB.net dengan
mengirim email kosong ke [EMAIL PROTECTED]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indoprog-vb/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/