深入剖析ASP.NET 2.0缓冲机制
作者 佚名技术
来源 NET编程
浏览
发布时间 2012-05-22
Button="True" /> <asp:BoundField ReadOnly="True" HeaderText="timestamp" DataField="timestamp" SortExpression="timestamp" /> <asp:BoundField ReadOnly="True" HeaderText="au_id" DataField="au_id" SortExpression="au_id" /> <asp:BoundField HeaderText="au_lname" DataField="au_lname" SortExpression="au_lname" /> <asp:BoundField HeaderText="au_fname" DataField="au_fname" SortExpression="au_fname" /> <asp:BoundField HeaderText="phone" DataField="phone" SortExpression="phone" /> <asp:BoundField HeaderText="address" DataField="address" SortExpression="address" /> <asp:BoundField HeaderText="city" DataField="city" SortExpression="city" /> <asp:BoundField HeaderText="state" DataField="state" SortExpression="state" /> <asp:BoundField HeaderText="zip" DataField="zip" SortExpression="zip" /> <asp:CheckBoxField HeaderText="contract" SortExpression="contract" DataField="contract" /> </Columns> </asp:GridView> <asp:SqlDataSource ID="SqlDataSource1" Runat="server" SelectCommand="SELECT DatePart(second, GetDate()) As timestamp, * FROM [authors]" ConnectionString="<%$ ConnectionStrings:Pubs %>" EnableCaching="True" DeleteCommand="DELETE FROM [authors] WHERE [au_id] = @original_au_id" InsertCommand="INSERT INTO [authors] ([au_id], [au_lname], [au_fname], [phone], [address], [city], [state], [zip], [contract]) VALUES (@au_id, @au_lname, @au_fname, @phone, @address, @city, @state, @zip, @contract)" UpdateCommand="UPDATE [authors] SET [au_lname] = @au_lname, [au_fname] = @au_fname, [phone] = @phone, [address] = @address, [city] = @city, [state] = @state, [zip] = @zip, [contract] = @contract WHERE [au_id] = @original_au_id" SqlCacheDependency="Pubs:authors"> <DeleteParameters> <asp:Parameter Name="original_au_id" /> </DeleteParameters> <UpdateParameters> <asp:Parameter Type="String" Name="au_lname" /> <asp:Parameter Type="String" Name="au_fname" /> <asp:Parameter Type="String" Name="phone" /> <asp:Parameter Type="String" Name="address" /> <asp:Parameter Type="String" Name="city" /> <asp:Parameter Type="String" Name="state" /> <asp:Parameter Type="String" Name="zip" /> <asp:Parameter Type="Boolean" Name="contract" /> <asp:Parameter Name="original_au_id" /> </UpdateParameters> <InsertParamet |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
关于深入剖析ASP.NET 2.0缓冲机制的所有评论