using sql data source, i have to call procedure ,not select or update..
I guess you mean you will execute stored procedures to select and display data and also one to save data. Do as below:
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:AllTestConnectionString %>"
UpdateCommand="sp_test" UpdateCommandType="StoredProcedure">
<UpdateParameters>
<asp:Parameter Name="" Type="" />
<asp:Parameter Name="" Type="" />
</UpdateParameters>
</asp:SqlDataSource> put in the names of the stored procedure, parameters their types etc
im not sure in calling this update method....wats the exact code???
that will be the id of the SqlDataSource object (say s1) dot Update, ie, s1.Update(); in the button click event.