Click here to Skip to main content
13,005,798 members (77,857 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have a datagrid with 4 columns(A B C D) and they are added data, and then I add a new column (F)into this datagrid(A B F C D) and column F is set type is button( Datagrid1.columns(2).button=true) to when click on button of column F a listbox appeared to choose data and update this data for column F.

The problem in here is when I choose data from listbox to update, application it shows an error " run-time error 6147: column not found, |1 "

I think column index of datagrid1 is changed because when I use " Datagrid1.columns(3).button=true", the type of columns C doesn't change to button that the type of column D become button.

I don't know why.
Would you help me to resolve this problem to update data for column F?
Posted 20-Dec-10 21:32pm
Updated 20-Dec-10 21:34pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Please Provide few more details Such as few line of sample code where the error is occurring. Also mention whether the Column are Bound to any data source or not if so then whether the data field property is properly set or not.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.170627.1 | Last Updated 2 Jan 2011
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100