|
-
Feb 13th, 2008, 03:36 AM
#1
Thread Starter
Addicted Member
Datagrid
Me again about grids:
I have in vb6 mobile pocket pc :
GridCtrl1.Row
GridCtrl1.AddItem
GridCtrl1.Row = GridCtrl1.Rows - 1
GridCtrl1.Col = 1
GridCtrl1.ColWidth(0) = 500
-------------------------
I got on another forum how to use Grid command:
DirectCast(DataGrid1.DataSource,System.Data.DataTable).Rows.Item(index)
The cast depends on the type of your DataSource
-------------------------
I tried like this:
directcast(DataGrid1).Rows.item etc.
But show me error :
Syntax error in cast operator; two arguments separated by comma are required.
-------------------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|