Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 24th, 2006, 10:16 AM
Registered User
 
Join Date: Jan 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Store problem in asp.net web application

I get a text from dataset. Now i need to store the data in a file so sombody can download it from page.

Where and how to store data?


VB amateur
 
Old January 24th, 2006, 03:24 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

You could write the text to a file then redirect the user to the file, but this could cause problems if there are many users.

A better option would be to just emit the text directly to the browser. This would also be faster than writing a file.

-Peter
 
Old January 31st, 2006, 07:30 AM
Registered User
 
Join Date: Jan 2006
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default


Question. How to emit the text directly to the browser.I try a fue times with webclient, caching data, ... but failed.
Then i try with saving data to file, but Peter had been wright (problem with many users).



VB amateur
 
Old February 1st, 2006, 12:56 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Build a web form with a single label control on it, then set the label control's .Text property to the value you want the user to see from the database.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP.NET Web Application Administration dcct84 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 7 September 24th, 2007 04:28 PM
ASP.NET Web Application swifty_programmer ASP.NET 2.0 Professional 14 July 20th, 2007 08:05 AM
Store ? in Oracle9i using asp.net web form nandini_net_in ASP.NET 2.0 Professional 0 October 17th, 2006 12:42 AM
Convert ASP web application to ASP.NET Steve777 ASP.NET 1.0 and 1.1 Basics 3 June 2nd, 2005 07:26 AM
Problem creating new ASP.NET web Application krishnabhargav VS.NET 2002/2003 5 July 10th, 2004 07:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.