Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
175
How to use the FromDataKey method?
posted

I want to pick out a specific row in my UltraWebGrid based on the value in a column. That column corresponds to the primary key of the SQL database  table the grid is databound to. I think I would do that with the this reference:

UltraWebGrid1.Rows.FromDataKey()

My question is what exactly do I put into the parentheses for the FromDataKey method? I know it can't simply be the string value of the primary key. I have to pass some sort of object array. I'm not sure how that object array is built.