Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataBound GridView - accessing fields in RowBound method
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01310810
Message ID:
01310851
Views:
9
>>>>Hi everybody,
>>>>
>>>>How can I access fields my GridView is bound to in its RowBound method?
>>>>
>>>
>>>Look at the e.Row.DataItem object.
>>
>>I'm looking at it, but it doesn't show anything in the Intellisense except 4 main methods of any object.
>
>Set a breakpoint on that RowBound event, then use the debugger to view the object - the layout of the object depends on what you're bound to.

In the debugger I saw DataItem\Row\ItemsArray but I could not use it in c# code and it was not much better anyway since it was an array.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform