need2progm
Programmer
I am using a stringbuilder to add a button at the end of a dynamically sized data grid. EditAnswer is a sub that will add row for editing. When I run my app the button appears but the onclick doesn't work. Thoughts?
Dim sbAdd As New StringBuilder()
sbAdd.Append("<INPUT id='btnAddAnswer'type='button' Width=197px Height=34px "
sbAdd.Append(" value='Add Answers'"
sbAdd.Append(" name='btnAnswer'"
sbAdd.Append(" runat='server'"
sbAdd.Append(" onclick='EditAnswer()'>"
sbAdd.Append(" >"
Dim sbAdd As New StringBuilder()
sbAdd.Append("<INPUT id='btnAddAnswer'type='button' Width=197px Height=34px "
sbAdd.Append(" value='Add Answers'"
sbAdd.Append(" name='btnAnswer'"
sbAdd.Append(" runat='server'"
sbAdd.Append(" onclick='EditAnswer()'>"
sbAdd.Append(" >"