By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,528 Members | 1,291 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,528 IT Pros & Developers. It's quick & easy.

how to Locate cell in the datagrid control

P: n/a
Hi all,

I want to use the datagrid to display the data in the table format
The attached code only refers to the column in the table, how do I move to
the next row after each iteration of the loop?

DataGrid1.Columns(1).Text = rs![firstfield]
DataGrid1.Columns(2).Text = rs![secondfield]
Loop While Not (rs.EOF)
Assume that rs is defined as recordset, and firstfield, secondfield are the
fields in the corresponding access table.

Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.