We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Binder.NameToRowIndex(string name)

Hi! I am trying to use the following code: this.gdbBonds.Binder.NameToRowIndex(string name) to find the index of a row, however I cannot assign a name to the row in the DataBoundGrid. So what kind of parameter (string name) it means? I do not quite understand how this method works. Could you help please. Thanks in advance.

1 Reply

AD Administrator Syncfusion Team August 11, 2004 03:53 PM UTC

This is a virtual member that does not really have any implementation. (other than if you pass in the name "123" it will return the row index 123. The default implementation does an int.Parse to get the return value.) So, this method in not useful unless you deribe GridModel and override it, giving it some non-trivial implementation.

Live Chat Icon For mobile
Up arrow icon