I cannot quite fathom why you would do this, but I think an ideal place to do this kind of thing would be in the event handler for the RowDataBound event of the GridView. Use the GridViewRowEventArgs parameter to access the GridViewRow and it's consituent Cells.
On Nov 8, 3:57 am, Stacie <[EMAIL PROTECTED]> wrote: > I'm using a gridview in a web form and have made one of my fields a > template field. I then added a dropdown list in my edititemtemplate > for this field. I would like to populate this dropdown list with data > based on another field (textbox) in the gridview. How do I reference > the textbox field located in my gridview for my sql data source code?
