repeader Header
-
hi, I have a repeater that displays some data. I am using stored procedure to get the data from the DB. Now, the nature of the content being displayed as a header requires me to store the header information also in the DB table. As a result, I am pulling the header of repeader ( it is column Header name and header URL) from table along with the other records that is going to be displayed on the repeater. HeaderName and HeaderURL are two seperate columns that are part of other records returened by the repeater Question is asp:repeater won't let me use <#%Container.dataItem("Column1")%> in the header of the repeater. It gives me null reference exception also stating "Object variable or With block variable not set" does anybody know how to do it? Thanks Needy
-
hi, I have a repeater that displays some data. I am using stored procedure to get the data from the DB. Now, the nature of the content being displayed as a header requires me to store the header information also in the DB table. As a result, I am pulling the header of repeader ( it is column Header name and header URL) from table along with the other records that is going to be displayed on the repeater. HeaderName and HeaderURL are two seperate columns that are part of other records returened by the repeater Question is asp:repeater won't let me use <#%Container.dataItem("Column1")%> in the header of the repeater. It gives me null reference exception also stating "Object variable or With block variable not set" does anybody know how to do it? Thanks Needy