您现在的位置是:首页
>
编写存储过程的目的是 关于ASP.NET2.0编写扩展存储过程
关于ASP.NET2.0编写扩展存储过程 SqlPi e 类 C# 复制代码 [Micro oft SqlServer Server SqlProcedure ] u lic tatic void S

关于ASP.NET2.0编写扩展存储过程
SqlPipe 类 C# 复制代码 [Microsoft SqlServer Server SqlProcedure()] public static void StoredProcExecuteCommand(int rating) { // Connect through the context connection using (SqlConnection connection = new SqlConnection( context connection=true )) { connection Open(); SqlCommand mand = new SqlCommand( SELECT VendorID AccountNumber Name FROM Purchasing Vendor + WHERE CreditRating <= @rating connection); mand Parameters AddWithValue( @rating rating); // Execute the mand and send the results directly to the client SqlContext Pipe ExecuteAndSend(mand); } 以上存储过程的执行结果怎么样在ASP NET 应用程序端来调用? 如果想把以上存储过程的返回结果体现在DataList控件中 应用程序端的调用代码是什么样的? ; lishixinzhi/Article/program/net/201311/12644 很赞哦! (1068)