Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:255115
More Search Options
RSS Available
Matching Posts
Re: DataSet Faster than DataReader?
Maybe it is an optimization issue Scott. I originally thought it was because the Web Services were on a different server and the DataReader kept doing round-trips to the Database for every Read, but I tried running them on the same server and the DataSet still won out, though not by much. I wonder if I'm misunderstanding - Everytime I call Read() on a SQLDataReader it goes back to the database to get the next record. If this is true, it should be a lot slower if your calling the Read() from a
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
msbcgsch
on 8/27/2008
DataSet Faster than DataReader?
I thought DataSets were much slower than DataReaders but my DataSet is faster. Why? I timed a call to a SQL Server 2005 StoredProc with a DataSet/SQLDataAdapter and then with a SQLDataReader/ExecuteReader. Both calls went from a Windows Form through a Web Service and then to the Database. The Web Service and the Database were on separate servers (is this the problem?). The DataReader took 0.0781 Seconds, the DataSet took 0.03125 seconds. I called the DataSet, then the DataReader, then the DataSet
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
msbcgsch
on 8/27/2008
Re: Can I modify HTML before rendering
Thank you Young Fang I'm reading through the article, but it's somewhat advanced for me. If I'm rendering the HTML code inside of an .ascx module, do I put the StreamReader code (that you wrote) in the same .ascx file?
Posted to
Data Presentation Controls
(Forum)
by
msbcgsch
on 5/3/2007
Re: Can I modify HTML before rendering
Thank you Girijesh. I am trying to make it work with PreRender.
Posted to
Data Presentation Controls
(Forum)
by
msbcgsch
on 5/3/2007
Can I modify HTML before rendering
I'm sucking in some information from a government page. The problem is I don't want all of it. Is there a way to intercept the html and trim off data BEFORE it gets rendered?
Posted to
Data Presentation Controls
(Forum)
by
msbcgsch
on 4/30/2007
Re: How do I strip query string parameters format (%2C+) from strings?
Thank you Raymond. That worked perfectly. Mark
Posted to
Web Forms
(Forum)
by
msbcgsch
on 12/28/2006
Re: How do I strip query string parameters format (%2C+) from strings?
Thank you very much for your help, but didn't work for me. I"m reading a response from PayPal (using their script) like this -------- Dim IPNResponseStream As Stream = strResponse.GetResponseStream Dim encode As Encoding = System.Text.Encoding.GetEncoding( "utf-8" ) Dim readStream As New StreamReader(IPNResponseStream, encode) 'read the response intoa String variable "temp" temp = readStream.ReadToEnd Dim item As String = HttpUtility.HtmlDecode(temp) ' This is not PayPal generated, but it doesn't
Posted to
Web Forms
(Forum)
by
msbcgsch
on 12/28/2006
How do I strip query string parameters format (%2C+) from strings?
I am getting query string parameters that have embedded "+" instead of spaces and "%2c" instead of commas. Is there an easy way in VB to convert these to human readable strings? Thank you.. Mark
Posted to
Web Forms
(Forum)
by
msbcgsch
on 12/27/2006
Can't login to db after I do a db backup in SQL Express
I have a working dnn site. I've created several modules and corresponding tables in the database and everything works great. Then, I open SQL Server Management Studio Express, attach to the database, backup the database, detach from the database and I can no longer run my site (error shown below which says I cannot login to db). I can open the database from Visual Studio and see my tables, but I cannot run the application. Rebooting doesn't help. I've even tried copying over the database with a prior
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
msbcgsch
on 12/5/2006
Re: page_load event fires multiple times when I display my ascx file.
I had three ObjectDataSource controls in my ascx file. Each one had a OnInit="Page_Load" in its properties. I'm still not sure what this does, but it was the cause of the extra Page_Load calls. I removed them and it works as I originally expected it to work. Just a matter of copying some code as a template and not going through it carefully enough to fully understand what it was doing. I hope I'm not the only moron to do something like this. Thanks for the help guys. I really appreciate it. Your
Posted to
Web Forms
(Forum)
by
msbcgsch
on 12/1/2006
Page 1 of 5 (50 items) 1
2
3
4
5
Next >
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Channel 9:
Peer to Peer Series Part 7: PeerChannel Basics
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
IIS.NET:
URL Rewriter and Reverse Proxy
TechNet Edge:
Forefront Secure Endpoint Demo and Interview
ASP.NET:
Resizing images from the server using WPF/WIC instead of GDI+
Silverlight:
Deploying your Silverlight and WCF RIA Services application
Channel 9:
Juan Chen and Nikhil Swamy: FINE, a Compiler for End-to-End Security Verification
IIS.NET:
DebugFinder
Channel 10:
Get the Outlook Hotmail Connector Beta
Channel 10:
MSN to Launch New Lifestyle Site from Wonderwall Creator
Channel 10:
Behind the Windows 7 Startup Animation
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online