Adding Custom Column in DataGrid
I need to add a column which will display the total of two fields. I am using a typed dataset, could you please help me with that? THanks.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Andrzej WegierskiPosted Sep 19, 2005, 4:31 AM
myDataTable.Columns.Add("newcolumn",typeof(Decimal),"column1+column2");
In typed DataSet I can't get such field, syntax used below causes an error. May be change something in it: