Wrox Programmer Forums
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional 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 June 3rd, 2006, 10:39 AM
Authorized User
Join Date: Apr 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default instead of junk tables

Hello once again,

My last question concerns (temporary) tables. In a web form (VWD Express, Asp,Net 2.0, VB, .mdf db, Ajax) I have two gridviews. One gets its data from textboxes and dropdownlists as the user clicks an ok button. This data is then sent to a "junk" table in the db. The other gridview retrieves this data "automatically" and displays the data, filtered and grouped by some SQL statements. When the user finally clicks an Insert record button, the data from this second gridview gets inserted in another table in the db and the data from the first "junk" table is disposed.

I guess it shouldn't be necessary to insert, retrieve, and delete the data in and from the "junk" table. Even though it does work like a charm, I guess it would be better if I could do it with some kind of "temporary table", array or the like so that the db wouldn't need to be updated to this extent. Still, I really like the simplicity of using gridviews and the rest of the page's code is complex enough, so I don't really want to substitute this behaviour for tons of hand-written, hard-to-follow, and hard-to-integrate code.

What are my options? Any help would be greatly appreciated.


Coding is indeed a nine-to-five job; nine pm to five am.
Coding is indeed a nine-to-five job; nine pm to five am.

Similar Threads
Thread Thread Starter Forum Replies Last Post
DWH JUNK Dimensions maruthi.vm SQL Server 2005 0 December 14th, 2007 02:42 AM
Getting junk bstr values in C# dll from VC++ dotnetuncle Visual C++ 2005 0 July 4th, 2007 10:41 AM
Getting junk bstr values in C# dll from VC++ dotnetuncle C# 0 July 4th, 2007 10:40 AM
Getting junk bstr values in managed C# DLL from VC dotnetuncle C++ Programming 0 July 4th, 2007 10:38 AM
Junk tags kilika Forum and Wrox.com Feedback 2 June 30th, 2003 04:57 PM

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