How to trigger subroutine???

I’m the beginner of ASP.net.
The subroutine “updatedb” cannt be triggered when I click the botton in asp:repeater. Why? what’s wrong?

<%@ Import Namespace=“System.Data.OleDb” %>
<%@ Import Namespace=“System.Data” %>

<asp:Repeater id=“product” runat=“server” OnItemCommand=“updatedb”>

ABC Company 
PID PDesc Price Quantity
/> /> /> />

</asp:Repeater>

Try updating the button code to include an action to start your subroutine on -

<asp:Button id=“btn0” Text=“Update” runat=“server” class=“botton” OnClick=“updatedb”/>

Paul

This is pretty much page 1 of any ASP.NET book. You need to understand how to create an event trigger and setup an event handler for the button.
-Dave

Try it from the code behind page…It should work