G
Guest
My datareader looks like this where dtrItemList is the datareader and
chklExceptionList is my checkboxlist. the rows come in just fine, but I need
help also including the name of the columns for my rows. I need them listed
only one time on top. Any idea? Thanks in advance.
while (dtrItemList.Read())
{
chklExceptionList.Items.Add(dtrItemList["item_id"].ToString() + " " +
dtrItemList "item_name"].ToString());
}
chklExceptionList is my checkboxlist. the rows come in just fine, but I need
help also including the name of the columns for my rows. I need them listed
only one time on top. Any idea? Thanks in advance.
while (dtrItemList.Read())
{
chklExceptionList.Items.Add(dtrItemList["item_id"].ToString() + " " +
dtrItemList "item_name"].ToString());
}