Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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

Posted

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

Software bugs are impossible to detect by anybody except the end user.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...