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.
Unfortunately, activation email could not send to your email. Please try again.

Searching for value in DataBound Grid

Thread ID:

Created:

Updated:

Platform:

Replies:

62808 Jun 22,2007 05:11 AM Jun 22,2007 02:12 PM Windows Forms 1
loading
Tags: GridControl
Aaron Chambers
Asked On June 22, 2007 05:11 AM

I have a databound grid that has a large number of records. I want to be able to search for a particular string in one of the columns and have the row/col information returned. How can I do this? Thanks.

Rajagopal [Syncfusion]
Replied On June 22, 2007 02:12 PM

Hi Aaron,

You couls do this by using GridFindReplaceDialogSink class, which has a find method to search through the grid content and return the GridRangeInfo for the first matched cell. The row index and column index can be retrieved from this matched cell. Please refer the below sample for more information.

Here is a sample GDBG_SearchText.zip

Regards,
Rajagopal

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;