Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to do data binding for particular columns in Dev Express XtraGridControl?

In .net grid view Control we have a Property called "DataPropertyName" where we can specify column name which you want to bind

example Code:

dataGridView1.Columns[index].DataPropertyName=
myDataSource.Tables[index].Columns[index].ColumnName);

Any body please help me how to do this in DevExpress Extra Grid Control

Thanks in advance

like image 975
Renju Vinod Avatar asked Nov 27 '25 07:11

Renju Vinod


1 Answers

The corresponding Property on DevExpress columns is called FieldName

like image 196
Sven Künzler Avatar answered Nov 29 '25 19:11

Sven Künzler



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!