I have a ASPX page where i am rendering a Datagrid with some values. I am creating BoundCoulmns dynamically in my code behind like the following,
BoundColumn iCustomer = new BoundColumn();
iCustomer.HeaderText = "Customer";
iCustomer.DataField = "CustomerName";
dgridProspList.Columns.Add(iCustomer);
dgridProspList.DataBind();
This will show the CustomerName as i have assigned it to the datafield property.Now i want to do some modification on this CustomerName.ie; I want to pass this "CustomerName" and the return value of the function ,i need to assign as the DAtaField.Is there any way to do it ?