-- Eliyahu Goldin, Software Developer & Consultant Microsoft MVP [ASP.
NET] "igotyourdotnet" Hi Mike, As Eliyahu has suggested, you can programmatically access those autogenerated columsn in Grid View and adjust their properties.
Is this compatible with copying data from excel and pasting it in the gridview you are providing us?
Grid View Update Event Args) Handles grid System Look Up Values. Please feel free to tell me more about your code if that thread doesn't help. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. Please feel free to let me know if there's anything else I can help. ================================================== This posting is provided "AS IS" with no warranties, and confers no rights. The e parameter relies on a design time datasource to populate these values.
Recently, a reader asked me how to get at the controls inside a Grid View during the Row Data Bound event.
Retrieving Display Data The answer depends on two things: the state of Grid View and whether the column you want is templated.
For instance, to retrieve the value of a cell that isn't in edit mode and is in a column that isn't templated, you can use the view's Rows and Cells collection to access any Cell.
Based on my test, the autogenerated columns has been accessible in the following events: Init, Load, Pre Render... ======================== protected void Grid View1_Init(object sender, Event Args e) ===================== Hope this helps.
Sincerely, Steven Cheng Microsoft MSDN Online Support Lead This posting is provided "AS IS" with no warranties, and confers no rights.