S
sakieboy
I have dynamically added controls using a Placeholder to a form. This form
is data driven thus I never know how many records will be retrieve. My form
looks like this
txtKey0=1111, txtBox0, txtDate0, btnEdit0
txtKey1=2323, txtBox1, txtDate1, btnEdit1
txtKey2=4343, txtBox2, txtDate2, btnEdit2
etc.
When I select a button I need to find out what my txtkey value is so that I
can pass it to a Querystring and display another page. Of course, currently
I only have one btnEdit_Click event which seems pretty lost. How do I get my
key values depending upon the button that I select. Or would I be better off
putting this in a datagrid control?
is data driven thus I never know how many records will be retrieve. My form
looks like this
txtKey0=1111, txtBox0, txtDate0, btnEdit0
txtKey1=2323, txtBox1, txtDate1, btnEdit1
txtKey2=4343, txtBox2, txtDate2, btnEdit2
etc.
When I select a button I need to find out what my txtkey value is so that I
can pass it to a Querystring and display another page. Of course, currently
I only have one btnEdit_Click event which seems pretty lost. How do I get my
key values depending upon the button that I select. Or would I be better off
putting this in a datagrid control?