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

does GridDataBoundGrid has Item Property

Thread ID:





41427 Mar 1,2006 04:53 PM UTC Mar 2,2006 05:36 AM UTC WinForms 1
Tags: GridControl
Asked On March 1, 2006 04:53 PM UTC

I see it in the documentation, but when I use RefGrid.Item[3,4] it gives me an error of: Syncfusion.Windows.Forms.Grid.GridDataBoundGrid does nto contain a definition for ''Item''? if this is the case, how do I get the text value of a cell? Thanks, Maggie

Administrator [Syncfusion]
Replied On March 2, 2006 05:36 AM UTC

Hi Maggie, In C#, this property is the indexer for the GridDataBoundGrid class and it returns the GridStyleInfo object which holds all information stored for a cell. The indexer provides you with a very simple way to query and change cell contents. Below is a code snippet. cellValue = this.gridDataBoundGrid1.Model[1,1].Text; or cellValue = this.gridDataBoundGrid1[1,1].Text Regards, Calvin.


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