|
-
Jun 14th, 2002, 10:17 AM
#1
Thread Starter
New Member
.net datagrid problem. Help!!!
I have written a dataset into a datagrid, when I click on a row in the datagrid I want to find the row and column number.
When I click on a row in the grid I trigger the CurrentCellChanged event and run the following two lines of code.
Dim colNum As Integer = DataGrid1.CurrentCell.ColumnNumber
Dim rowNum As Integer = DataGrid1.CurrentCell.RowNumber
The problem I have is that colNum and RowNum are passing back hexidecimal values that look like '&H3'..
Can anyone tell me why I am not just getting back plain integers?
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
|