Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

data Grid & recordset

Status
Not open for further replies.

nnmmss

Programmer
Sep 7, 2004
123
IR
I have a data Grid which is bound to a Recordset named (rstDG), the only difference is that datagrid has a one more field named (Item) which is the first column. after setting the datasource of the datagrid to rstDG, i want to fill the item cell to Row Id.
so i did so
grdGood.Columns(0).Text = "1"
but it gives me the error "Column not found, |1", i could change any field but the first one , which does not exist in rstDG and also is not bind to any field in rstDG.

any clue for solving this problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top