Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4.5.1 > BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
|
BOOK: Beginning ASP.NET 4.5.1 : in C# and VB
This is the forum to discuss the Wrox book Beginning ASP.NET 4.5.1: in C# and VB by Imar Spaanjaars; ISBN: 978-1-118-84677-3
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP.NET 4.5.1 : in C# and VB 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 September 14th, 2014, 07:54 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Quote:
So they might want to randomly pick 26 of the 2000m
Randomly? Or based on some query logic?

In the later case, like I suggest earlier, create a query UI that lets them find the right customers. Then provide a button like "add current" and then rerun the query again on the server and insert the IDs of the records found in your junction table. That way you can add multiple selections for the same report and even provide a way to remove specific users again afterwards.

Cheers,

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
DatabaseGoddess (September 14th, 2014)
 
Old September 14th, 2014, 10:53 AM
Authorized User
 
Join Date: Aug 2014
Posts: 16
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Thanks, I appreciate your continued help. Yes, I'm afraid the choice by the users will be random. Not randomized but random based on whoever they want to select for whatever reason they have at the time. Really not based on anything I can use to subset the list of choices.

I was hoping that I could convince them to embed something in the file names to be uploaded so that they could merely upload all the files while I would have code to grab the token from the filename and add it to a column in the database table so that it could be used to filter the files so that each recipient could see only his own files (on another page).

The users who would upload the files en masse for the recipients are using a utility program that splits their Microsoft Access reports by recipient so I was hoping they could name their files so that the recipient name would be part of the file name like:

Qtrly_Report_Card_Jones_Kelly_2014Q2.pdf

but they have been noncommittal so far.

Thanks again.
 
Old September 14th, 2014, 11:00 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

>> ot randomized but random based on whoever they want to select for whatever reason they have at the time. Really not based on anything I can use to subset the list of choices.

Then give them a filter to find these users and an "add to selection" button that adds the selected users' IDs to the junction table.

Imar
__________________
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Follow me on Twitter

Author of Beginning ASP.NET 4.5 : in C# and VB, Beginning ASP.NET Web Pages with WebMatrix
and Beginning ASP.NET 4 : in C# and VB.
Did this post help you? Click the button below this post to show your appreciation!
The Following User Says Thank You to Imar For This Useful Post:
DatabaseGoddess (September 14th, 2014)





Similar Threads
Thread Thread Starter Forum Replies Last Post
ListView Gridview question vbboyd BOOK: Beginning ASP.NET 4 : in C# and VB 1 April 18th, 2012 05:05 PM
Chapter 2 or 4 ToDoList. How to have lists to show up in ListView ? Ahmad Mobasseri BOOK: Professional Android 2 Application Development 3 August 23rd, 2010 03:21 PM
Need to Log When Edit Occurs in Gridview JB4375 BOOK: Professional ASP.NET 3.5 : in C# and VB ISBN: 978-0-470-18757-9 0 April 15th, 2009 10:10 AM
Get GridView Cell Value Based on GridView Column stublair C# 2008 aka C# 3.0 0 September 4th, 2008 08:30 AM
Howto:Transfer or show display Excel data into lis jikadawe VS.NET 2002/2003 0 March 30th, 2006 01:03 AM





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