在这个叶面上,有一个列表,最下面有一个全部入库的按钮,当我点击这个按钮时,先刷新叶面,因为要确保这个列表里没有已经入库过的记录,刷新后进行入库的相应操作。
也就是点击这个按钮,做两件事情,一个是刷新,然后是入库。应该怎么写代码?
aspx:
<asp:ImageButton ID="ibtnInput" runat="server" ImageUrl="~/picture/jobcn_f5.gif"
OnClick="ibtnInput_Click" />c#
protected void ibtnInput_Click(object sender, ImageClickEventArgs e)
{
???? }
也就是点击这个按钮,做两件事情,一个是刷新,然后是入库。应该怎么写代码?
aspx:
<asp:ImageButton ID="ibtnInput" runat="server" ImageUrl="~/picture/jobcn_f5.gif"
OnClick="ibtnInput_Click" />c#
protected void ibtnInput_Click(object sender, ImageClickEventArgs e)
{
???? }
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货