databind to datatable.rows.count
-
Hi. I have a label which I would like to Databind to the count property of a rows collection in a datatable: label1.DataBindings.Add("Text", MyDataTable.Rows, "Count"); The label gets the first time i put data into the table. But when i clear() the table and put new data into it, the label does not get the changes. Why is that?
-
Hi. I have a label which I would like to Databind to the count property of a rows collection in a datatable: label1.DataBindings.Add("Text", MyDataTable.Rows, "Count"); The label gets the first time i put data into the table. But when i clear() the table and put new data into it, the label does not get the changes. Why is that?
-
no that's not it. think it has something to do with datatable.rows.count not sending notifications.... but i cant see how i can find out if it is supposed to send notifications....