如何在ASP.Net中使用DataReader [英] How to use DataReader in ASP.Net
本文介绍了如何在ASP.Net中使用DataReader的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在asp.net中使用DataReader使用C#
How to use DataReader in asp.net using C#
推荐答案
http://csharp-station.com/Tutorial/AdoDotNet/Lesson04 [ ^ ]
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.read.aspx [ ^ ]
http://msdn.microsoft.com/en-us/ library / haa3afyz.aspx [ ^ ]
http://csharp-station.com/Tutorial/AdoDotNet/Lesson04[^]
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.read.aspx[^]
http://msdn.microsoft.com/en-us/library/haa3afyz.aspx[^]
这是一个只有DataReader的链接。 http://msdn.microsoft.com/library/windows/apps/br208119 [ ^ ]
你真正想要使用的是一个SqlDataReader http:// msdn .microsoft.com / zh-cn / library / system.data.sqlclient.sqldatareader.aspx [ ^ ]。它们非常适合快速访问一行或多行数据。
Here's a link to just DataReader. http://msdn.microsoft.com/library/windows/apps/br208119[^]
What you may actually want to use is a SqlDataReader http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldatareader.aspx[^]. They are very good for quick access to a row or rows of data.
这篇关于如何在ASP.Net中使用DataReader的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文