How to create own DataColumn Aggregate function

W

whiteboy

I want to create my own Aggregate function to be used in the
DataColumn.Expression property.

So for example,
DataColumn col = new DataColumn("foo", typeof(String));
col.Expression = "my_custom(Child.Test)";

Anyone done this before? Any suggestions on where to start?

thanks
 
M

Miha Markic [MVP C#]

I would implement ColumnChanged and RowChanged event and do the calculation
there.
What exactly do you need?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top