Hi,
I don't think you got what I was trying to convey. I was databinding a object to a cell meaning any changes done in the cell should automatically posted back to the object and vice versa.
I am now using the cellvalue property only but everytime my business object changes I have to set back the cellvalue. If I have a winform textbox then I can directly databind the object then all the intractions will be done automatically.
Hope I am clear this time.
thanks
tahnvir
>Hi Thanvir,
Thank you for posting query to us.
You can use CellValue property of GridControl to set value to particular cell instead of using DataSource property.
Here is the code snippets:
clsData c1 = new clsData();
c1.Name = "Test";
gridControl1[2, 2].CellValue = c1.Name;
Please refer the sample in the link to illustrate this:
http://websamples.syncfusion.com/samples/Grid.Windows/69770/main.htmPlease try this and let me know if this helps.
Regards,
Jisha