vb.net - How to set <ItemTemplate> to a datasource? -


how can set datasource of itemtemplate? right have 1 wrapped datarepeater , how databind it.

 <asp:repeater id="rpttotal" runat="server">         <itemtemplate>             <tr>                 <td>one</td>             <td>two</td>             <td>three</td>             <td>four</td>                 </tr>         </itemtemplate> </asp:repeater> 

you cant set datasource item template, can set repeater in code behind using

rpttotal.datasource = datasourcename 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -