Posted 17 August 2018, 2:33 pm EST
Hi,I don't know how i can assign a field of datatable as row caption.
now after set Datasource do like this.
for (int i = 0; i < Rows.Count; i++)
{
if (Rows[i].DataSource != null)
Rows[i].Caption = ((DataRowView)Rows[i].DataSource).Row.ItemArray[1].ToString();
}
I need show a field value as row caption, this method is a bit slow.
I forgot to day I need Merge the caption too.
Thanks.