I have an ASPX page where I am providing a datagrid with some values. I am dynamically creating bound colons in my code like backwards,
bound column iCustomer = new bound column (); ICustomer.HeaderText = "Customer"; ICustomer.DataField = "Customer Name"; DgridProspList.Columns.Add (iCustomer); DgridProspList.DataBind ();
This will show the customer name because I have assigned it to the Datafield property. Now I want to make some modifications on this customer name; I want to give it the value of the "customer name" and the function's return, I have to assign it as DATAField. Is there any way to do this?
If I've found the right end of your stick, the way you can do it, the datagrid's data Using the event. Within this event you have to choose a cell with the customer name (something like the line [3]) From here you should be able to set up the content you want
Hope this will help
Comments
Post a Comment