Brief : I need to add Column1 + Column2 And Display Result In Column3
But I need to do it for all rows in column3 automatically. I need a very short code.
Thankyou.
Printable View
Brief : I need to add Column1 + Column2 And Display Result In Column3
But I need to do it for all rows in column3 automatically. I need a very short code.
Thankyou.
How are column1 and column2 going to be populated? Will the user be entering these values or will you be loading them from a database?
assuming you are using a data bound table to populate the grid, create a new column in the data table and set its expression property to "Column1 + Column2". Here is a link to the expression property documentation. http://msdn.microsoft.com/en-us/libr...v=vs.110).aspx
I will load data from a csv file.