Click here to Skip to main content
15,891,513 members
Home / Discussions / C#
   

C#

 
GeneralRe: Class inheritance, forcing new classes to implement certain functions Pin
ExoticmE4-Oct-11 9:52
ExoticmE4-Oct-11 9:52 
AnswerRe: Class inheritance, forcing new classes to implement certain functions Pin
Ian Shlasko4-Oct-11 9:45
Ian Shlasko4-Oct-11 9:45 
AnswerRe: Class inheritance, forcing new classes to implement certain functions Pin
Pete O'Hanlon4-Oct-11 10:19
mvePete O'Hanlon4-Oct-11 10:19 
AnswerRe: Class inheritance, forcing new classes to implement certain functions Pin
jschell4-Oct-11 10:53
jschell4-Oct-11 10:53 
AnswerRe: Class inheritance, forcing new classes to implement certain functions Pin
Eddy Vluggen4-Oct-11 12:43
professionalEddy Vluggen4-Oct-11 12:43 
GeneralRe: Class inheritance, forcing new classes to implement certain functions Pin
ExoticmE4-Oct-11 16:38
ExoticmE4-Oct-11 16:38 
AnswerRe: Class inheritance, forcing new classes to implement certain functions Pin
BobJanova4-Oct-11 22:43
BobJanova4-Oct-11 22:43 
QuestionC# and SQL Server - Display Breakdown By Type Pin
Matt U.4-Oct-11 9:01
Matt U.4-Oct-11 9:01 
In SQL Server 2008, I have a table with several columns. One of the columns is "Item Type". My application currently generates a basic report which says something like this:

# Units Received            100

# Units Tested               85

# Units Shipped              60

# Units Awaiting Shipping    25


I have been instructed to change this report in a way that will break the units down by the "Item Type" field. I have received a printed example which was created in MS Excel 2007 which looks like this:

                                 Total
# Units Received                  100
        Laptop         50          50% (Percent of total)
        Netbook        30          30%
        Desktop        20          20%

# Units Tested                    100
        ...           Amt         Pct%

etc., etc.


I am using LINQ To SQL (C#, .NET 4.0, VS2010). Should I read all of the necessary records into a collection in memory and then create collections based on each type, by category (received, tested, etc.)? Or is there a better way to do this?
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.

AnswerRe: C# and SQL Server - Display Breakdown By Type Pin
dan!sh 4-Oct-11 9:29
professional dan!sh 4-Oct-11 9:29 
GeneralRe: C# and SQL Server - Display Breakdown By Type Pin
Matt U.4-Oct-11 9:43
Matt U.4-Oct-11 9:43 
GeneralRe: C# and SQL Server - Display Breakdown By Type Pin
dan!sh 4-Oct-11 10:32
professional dan!sh 4-Oct-11 10:32 
AnswerRe: C# and SQL Server - Display Breakdown By Type Pin
BobJanova4-Oct-11 22:45
BobJanova4-Oct-11 22:45 
GeneralRe: C# and SQL Server - Display Breakdown By Type Pin
Matt U.6-Oct-11 2:08
Matt U.6-Oct-11 2:08 
AnswerRe: C# and SQL Server - Display Breakdown By Type Pin
Shameel4-Oct-11 23:50
professionalShameel4-Oct-11 23:50 
QuestionHow do I generate a Unique AlphaNumeric ID in C# Pin
ebukaegonu24-Oct-11 1:50
ebukaegonu24-Oct-11 1:50 
AnswerRe: How do I generate a Unique AlphaNumeric ID in C# Pin
Not Active4-Oct-11 2:26
mentorNot Active4-Oct-11 2:26 
AnswerRe: How do I generate a Unique AlphaNumeric ID in C# Pin
BobJanova4-Oct-11 2:56
BobJanova4-Oct-11 2:56 
AnswerRe: How do I generate a Unique AlphaNumeric ID in C# Pin
Ian Shlasko4-Oct-11 5:18
Ian Shlasko4-Oct-11 5:18 
AnswerRe: How do I generate a Unique AlphaNumeric ID in C# Pin
Matt Meyer4-Oct-11 6:40
Matt Meyer4-Oct-11 6:40 
QuestionHow do I add row data directly to a DataGrid Class? Pin
Xarzu4-Oct-11 1:24
Xarzu4-Oct-11 1:24 
AnswerRe: How do I add row data directly to a DataGrid Class? Pin
Pete O'Hanlon4-Oct-11 1:29
mvePete O'Hanlon4-Oct-11 1:29 
GeneralRe: How do I add row data directly to a DataGrid Class? Pin
Xarzu4-Oct-11 18:38
Xarzu4-Oct-11 18:38 
GeneralRe: How do I add row data directly to a DataGrid Class? Pin
Pete O'Hanlon4-Oct-11 22:03
mvePete O'Hanlon4-Oct-11 22:03 
GeneralRe: How do I add row data directly to a DataGrid Class? Pin
Xarzu5-Oct-11 6:16
Xarzu5-Oct-11 6:16 
GeneralRe: How do I add row data directly to a DataGrid Class? Pin
Pete O'Hanlon5-Oct-11 7:33
mvePete O'Hanlon5-Oct-11 7:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.