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

C#

 
AnswerRe: Cannot read DataSet Pin
Anthony Mushrow22-Nov-07 15:18
professionalAnthony Mushrow22-Nov-07 15:18 
GeneralRe: Cannot read DataSet [modified] Pin
MAW3022-Nov-07 15:50
MAW3022-Nov-07 15:50 
AnswerRe: Cannot read DataSet Pin
Vasudevan Deepak Kumar22-Nov-07 18:52
Vasudevan Deepak Kumar22-Nov-07 18:52 
GeneralRe: Cannot read DataSet Pin
MAW3022-Nov-07 19:50
MAW3022-Nov-07 19:50 
AnswerRe: Cannot read DataSet Pin
Pankaj - Joshi22-Nov-07 19:24
Pankaj - Joshi22-Nov-07 19:24 
GeneralRe: Cannot read DataSet Pin
MAW3022-Nov-07 19:31
MAW3022-Nov-07 19:31 
GeneralRe: Cannot read DataSet Pin
Pankaj - Joshi22-Nov-07 19:55
Pankaj - Joshi22-Nov-07 19:55 
GeneralRe: Cannot read DataSet [modified] Pin
MAW3022-Nov-07 20:06
MAW3022-Nov-07 20:06 
When I remove the new as follows I get the folowing error message:

DataSet dsI;
DataSet1.BSDDataTable BSD;

error message when trying to compile.
"Use of unassigned local variable on BSD"

How do I get around this problem.
Michael


-- modified at 2:38 Friday 23rd November, 2007

So to solve that problem I changed the code to the following:

DataSet1 dsI = new DataSet1(); ( It seems I need to return to this)
DataSet1.BSDDataTable BSD = dsI.BSD; (Object reference not set to an instance of an object)

but I end with the original error "There is no row at position 2"

QuestionCatching an Exception Pin
Jeffrey Walton22-Nov-07 14:30
Jeffrey Walton22-Nov-07 14:30 
AnswerRe: Catching an Exception Pin
Jeffrey Walton22-Nov-07 14:30
Jeffrey Walton22-Nov-07 14:30 
GeneralRe: Catching an Exception [modified] Pin
Luc Pattyn22-Nov-07 15:13
sitebuilderLuc Pattyn22-Nov-07 15:13 
GeneralRe: Catching an Exception Pin
Jeffrey Walton22-Nov-07 15:46
Jeffrey Walton22-Nov-07 15:46 
GeneralRe: Catching an Exception Pin
Luc Pattyn22-Nov-07 22:42
sitebuilderLuc Pattyn22-Nov-07 22:42 
AnswerRe: Catching an Exception Pin
Luc Pattyn22-Nov-07 14:52
sitebuilderLuc Pattyn22-Nov-07 14:52 
GeneralRe: Catching an Exception Pin
Jeffrey Walton22-Nov-07 15:12
Jeffrey Walton22-Nov-07 15:12 
AnswerRe: Catching an Exception Pin
Michael Sync22-Nov-07 15:19
Michael Sync22-Nov-07 15:19 
GeneralRe: Catching an Exception Pin
Jeffrey Walton22-Nov-07 16:01
Jeffrey Walton22-Nov-07 16:01 
GeneralRe: Catching an Exception Pin
Michael Sync22-Nov-07 16:19
Michael Sync22-Nov-07 16:19 
AnswerRe: Catching an Exception Pin
Jeffrey Walton22-Nov-07 16:05
Jeffrey Walton22-Nov-07 16:05 
GeneralRe: Catching an Exception Pin
Michael Sync22-Nov-07 16:28
Michael Sync22-Nov-07 16:28 
GeneralRe: Catching an Exception Pin
Jeffrey Walton22-Nov-07 16:55
Jeffrey Walton22-Nov-07 16:55 
GeneralRe: Catching an Exception Pin
Michael Sync22-Nov-07 19:10
Michael Sync22-Nov-07 19:10 
GeneralRe: Catching an Exception Pin
Jeffrey Walton22-Nov-07 21:33
Jeffrey Walton22-Nov-07 21:33 
GeneralRe: Catching an Exception Pin
Michael Sync22-Nov-07 22:10
Michael Sync22-Nov-07 22:10 
AnswerRe: Catching an Exception Pin
Jeffrey Walton24-Nov-07 13:09
Jeffrey Walton24-Nov-07 13:09 

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.