Click here to Skip to main content
15,884,975 members
Home / Discussions / C#
   

C#

 
SuggestionRe: print the largest sum along with the sequence of numbers Pin
Matt T Heffron25-Feb-15 7:55
professionalMatt T Heffron25-Feb-15 7:55 
GeneralRe: print the largest sum along with the sequence of numbers Pin
Pete O'Hanlon25-Feb-15 8:38
mvePete O'Hanlon25-Feb-15 8:38 
AnswerRe: print the largest sum along with the sequence of numbers Pin
OriginalGriff25-Feb-15 6:04
mveOriginalGriff25-Feb-15 6:04 
SuggestionRe: print the largest sum along with the sequence of numbers Pin
Rob Philpott26-Feb-15 2:25
Rob Philpott26-Feb-15 2:25 
QuestionDataGridView Pin
Member 1147904025-Feb-15 2:08
Member 1147904025-Feb-15 2:08 
AnswerRe: DataGridView Pin
manchanx25-Feb-15 2:16
professionalmanchanx25-Feb-15 2:16 
AnswerRe: DataGridView Pin
Pete O'Hanlon25-Feb-15 3:35
mvePete O'Hanlon25-Feb-15 3:35 
AnswerRe: DataGridView Pin
Keith Barrow25-Feb-15 3:37
professionalKeith Barrow25-Feb-15 3:37 
C#
ds.Tables[0]

is where the exception is happening - ds has a an array of tables called Tables.
The exception is being caused by the array being empty. Why it's empty I can't know, this line:
C#
ds = bl.Totall(f,t);

is the closest anyone can get. Setting aside the mis-spelling of "Totall" which you might want to fix, the bl.Totall(...) method isn't returning an array with anything in it - so that method is your problem. As you haven't provided the code for that method, we can't tell why it's returning an empty array. If you want further help, you'll need to post the code for that method and anything else associated with it that is relevant.
KeithBarrow.net[^] - It might not be very good, but at least it is free!

Questionmouse simulation code c# Pin
Omarkkk24-Feb-15 21:55
Omarkkk24-Feb-15 21:55 
AnswerRe: mouse simulation code c# Pin
OriginalGriff24-Feb-15 22:07
mveOriginalGriff24-Feb-15 22:07 
GeneralRe: mouse simulation code c# Pin
Omarkkk24-Feb-15 22:11
Omarkkk24-Feb-15 22:11 
GeneralRe: mouse simulation code c# Pin
OriginalGriff24-Feb-15 22:13
mveOriginalGriff24-Feb-15 22:13 
GeneralRe: mouse simulation code c# Pin
Omarkkk24-Feb-15 22:16
Omarkkk24-Feb-15 22:16 
GeneralRe: mouse simulation code c# Pin
Omarkkk24-Feb-15 22:18
Omarkkk24-Feb-15 22:18 
GeneralRe: mouse simulation code c# Pin
OriginalGriff24-Feb-15 22:44
mveOriginalGriff24-Feb-15 22:44 
GeneralRe: mouse simulation code c# Pin
Omarkkk26-Feb-15 0:52
Omarkkk26-Feb-15 0:52 
GeneralRe: mouse simulation code c# Pin
OriginalGriff26-Feb-15 1:05
mveOriginalGriff26-Feb-15 1:05 
GeneralRe: mouse simulation code c# Pin
Omarkkk26-Feb-15 1:23
Omarkkk26-Feb-15 1:23 
GeneralRe: mouse simulation code c# Pin
OriginalGriff26-Feb-15 1:59
mveOriginalGriff26-Feb-15 1:59 
AnswerRe: mouse simulation code c# Pin
Manfred Rudolf Bihy24-Feb-15 22:40
professionalManfred Rudolf Bihy24-Feb-15 22:40 
QuestionConvert code C# 2008 to code C# 2005 ? Pin
Member 245846724-Feb-15 21:39
Member 245846724-Feb-15 21:39 
AnswerRe: Convert code C# 2008 to code C# 2005 ? Pin
Simon_Whale24-Feb-15 21:56
Simon_Whale24-Feb-15 21:56 
AnswerRe: Convert code C# 2008 to code C# 2005 ? Pin
OriginalGriff24-Feb-15 22:05
mveOriginalGriff24-Feb-15 22:05 
GeneralRe: Convert code C# 2008 to code C# 2005 ? Pin
Member 245846725-Feb-15 16:22
Member 245846725-Feb-15 16:22 
GeneralRe: Convert code C# 2008 to code C# 2005 ? Pin
OriginalGriff25-Feb-15 21:51
mveOriginalGriff25-Feb-15 21:51 

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.