it would only do a query once user enters strings to textbox or enters text file to parse. Also, i already did the msgbox() to output controls in gridview in row updating event to make sure the gridview is in edititemtemplate (or so i think it is) and didn't show any control id.
Also, the fourth column is already a template field.
Replace("'", "''") & "'" End If End If Also if i use that, then upon loading of the page, it executes the SELECT command w/c gets all the data from the sql db. user either input strings or upload a text file with strings to parse. page would read the strings from either text box or text file then do a SELECT FROM from the sql db what i would like is upon loading, it wouldn't query the sql db.
the datagrid wouldn't show up since it doesn't have any data in it.
It will not find it, you need to be more specific than that.
A very important note, in order to get the control in the Edit Item Template, then the Grid View must be in Edit mode.
For the user to be able to check the checkbox, it needs to be a Template Field.