Problem is here:
<asp:BoundField HeaderText="Item No"/>
<asp:BoundField HeaderText="Item Name" />
You use '
Item No
' and '
Item Name
' names to define headers. But in your (NOT-generic) class, you have only
INo
and
IName
. What it means? You have to define datafields to bind. See:
BoundField Class[
^]
<asp:BoundField HeaderText="Item No" datafield="INo"/>
<asp:BoundField HeaderText="Item Name" datafield="IName" />
Do not forget to define other properties/fields.