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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Searching for value in DataBound Grid

Thread ID:





62808 Jun 22,2007 09:11 AM UTC Jun 22,2007 06:12 PM UTC WinForms 1
Tags: GridControl
Aaron Chambers
Asked On June 22, 2007 09:11 AM UTC

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 06:12 PM UTC

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



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon