i need to add a column to the item data. i've added it in the table itself, just an nvarchar, and gone through the App_Code files item.vb, sqlcatalogprovider.vb adn category.vb and basically just duplicated what's in those files for the "description" column. i placed the column, both in the table and in the .vb pages, in the same order, right before the "description" column/references.
when i run it, i get an error:
IndexOutOfRangeException was unhandled by user code
code
and it points to a line in SqlCatalogProvider.vb:
curr.Code = Util.ReturnEmptyStringIfDbNull(r(
"code"))
which is a line i added above the same line for "description". the tips on the error refer to index issues that in my limited experience i'm not familiar with.
can anyone help me sort this out or point me to something that'll help get past this? i've looked over the forum and found a number of posts about adding columns to the DisplayAd starter kit but I couldn't quite apply them, and I've seen other's finished work which sure looks like they've added columns but i haven't seen how they did it.
much appreciated.