tuxp3 Posted April 16, 2004 Posted April 16, 2004 Hi, I have a problemwith using the DataGrid Control, i want to add data and specifiy which row AND column the data is to be put. just like in VB6 MSFlexGrid.TextMatrix(row,col) = "data" i dont want the DataGrid to be bound to a database, i want to interact (mostly writing to the datagrid) directly Thanks, Andrew Quote
AlexCode Posted April 16, 2004 Posted April 16, 2004 If you stick with DataGrid you'll stick with that problem either! :p DataGrid is in no way comparable with MSFlexGrid in VB6. DataGrid have to be connected with a datasource thru the DataSource property. With this in mind you can: 1- Still use the datagrid and put the data where you want but not on the grid but on the datasource table. Note that this solution is only "real" if you need to edit the data thru the grid. 2- You can use the ListView control and there you have a non bindable control but fully customizable like you want... Alex :p Quote Software bugs are impossible to detect by anybody except the end user.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.