|
-
Feb 16th, 2006, 08:30 AM
#1
Thread Starter
Fanatic Member
Getting selected row ID
Guys,
I am using a C1TrueGrid (ARGHHHH). I am trying to get the id of the selected row, I have grouping applied so the normal methods are giving me the grouped row ID. Really annoying. In their manual, they give this code, but I can't get this working. I'm getting the error at the bottom of the code.
I know its difficult when I'm using non standard controls, but can anybody see the problem ? C1support are not good at giving fast and concise solutions to these issues.
Thanks in advance,
Bob
VB Code:
Dim dv As System.Data.DataView()
Dim cm As CurrencyManager
cm = CType(Me.BindingContext.Item(Me._tgDocLog.DataSource, Me._tgDocLog.DataMember), CurrencyManager)
dv = cm.List
Dim dr As System.Data.DataRow = Me._tgDocLog(Me._tgDocLog.Row)
'ERROR - Value of type 'IList' cannot be converted to '1-dimensional array of DataView'.
"I dislike 7 am. If 7 am were a person, I would punch 7 am in the biscuits." - Paul Ryan, DailyRamblings
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
|