Datagrid / DataList to create table with an "add record" input row (VB)
Posted on 2008-11-20
I have (or should say had) a datagrid (before I swapped it for a datalist) which is databound to a datasource.
I want to have the effect of a table containing a header, the rows of data and a single "add record" row with textboxes and an "add" button.
How do I do this or achieve the same effect?
PLEASE SUPPLY SAMPLE CODE IF POSSIBLE.
I swapped over to a datalist with header/footers, thinking I could move my textbox inputs into the footer but the a) the code does not validate and b) the resulting output adds in additional <table> tags where I don't want them.