Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
GeneralRe: string parsing Pin
sherifffruitfly19-Mar-07 14:08
sherifffruitfly19-Mar-07 14:08 
GeneralRe: string parsing Pin
Ed.Poore19-Mar-07 23:00
Ed.Poore19-Mar-07 23:00 
AnswerRe: string parsing Pin
Vasudevan Deepak Kumar19-Mar-07 16:14
Vasudevan Deepak Kumar19-Mar-07 16:14 
QuestionDisplaying Report using a web browser offline Pin
Banjo Ayorinde19-Mar-07 7:55
Banjo Ayorinde19-Mar-07 7:55 
AnswerRe: Displaying Report using a web browser offline Pin
Ed.Poore19-Mar-07 12:54
Ed.Poore19-Mar-07 12:54 
QuestionFormatConditions Pin
alex.almeida19-Mar-07 7:53
alex.almeida19-Mar-07 7:53 
AnswerRe: FormatConditions Pin
Ed.Poore19-Mar-07 12:47
Ed.Poore19-Mar-07 12:47 
QuestionNull reference issue Pin
Abbas8219-Mar-07 7:28
Abbas8219-Mar-07 7:28 
Hi,

I am having a problem of storing a string into TVReturn.amortization.data[0].balanceAmount (class definitions are given below), where I get the error message saying: System.NullReferenceException: Object reference not set to an instance of an object

at this line where I am testing inserting values into the amortization schedule data

tvret.amortization.data[0].balanceAmount = Convert.ToDecimal("100000");


I have the following class definitions:

public class TVReturn
{
public decimal unknownEventAmount;
public double unknownNominalAnnualRate;
public int unknownEventNumber;
public string cashFlowDataXml;
public TVAmortizationSchedule amortization;
}

public class TVAmortizationSchedule
{
public TVAmortizationData[] data;
}

public class TVAmortizationData
{
public int sequenceNumber;
public string eventDate;
public decimal paymentAmount;
public decimal interestAmount;
public decimal principalAmount;
public decimal balanceAmount;
}
AnswerRe: Null reference issue Pin
Christian Graus19-Mar-07 7:38
protectorChristian Graus19-Mar-07 7:38 
GeneralRe: Null reference issue Pin
Abbas8219-Mar-07 7:41
Abbas8219-Mar-07 7:41 
AnswerRe: Null reference issue Pin
Jimmanuel19-Mar-07 8:18
Jimmanuel19-Mar-07 8:18 
GeneralRe: Null reference issue Pin
Abbas8219-Mar-07 8:25
Abbas8219-Mar-07 8:25 
GeneralRe: Null reference issue Pin
Judah Gabriel Himango19-Mar-07 8:25
sponsorJudah Gabriel Himango19-Mar-07 8:25 
QuestionThe DataSource Window in VS2005 is not recognizing a DataSet served through a WebService Pin
Andre Vianna19-Mar-07 7:19
Andre Vianna19-Mar-07 7:19 
QuestionCryptoStream problem Pin
gumi_r@msn.com19-Mar-07 7:19
gumi_r@msn.com19-Mar-07 7:19 
AnswerRe: CryptoStream problem Pin
Ed.Poore19-Mar-07 12:57
Ed.Poore19-Mar-07 12:57 
GeneralRe: CryptoStream problem Pin
gumi_r@msn.com20-Mar-07 1:24
gumi_r@msn.com20-Mar-07 1:24 
GeneralRe: CryptoStream problem Pin
Ed.Poore20-Mar-07 10:08
Ed.Poore20-Mar-07 10:08 
GeneralRe: CryptoStream problem Pin
gumi_r@msn.com20-Mar-07 10:23
gumi_r@msn.com20-Mar-07 10:23 
GeneralRe: CryptoStream problem Pin
Ed.Poore20-Mar-07 10:51
Ed.Poore20-Mar-07 10:51 
QuestionDisconnect from the internet :sigh: Pin
Muammar©19-Mar-07 7:10
Muammar©19-Mar-07 7:10 
AnswerRe: Disconnect from the internet :sigh: Pin
code-frog19-Mar-07 7:12
professionalcode-frog19-Mar-07 7:12 
GeneralRe: Disconnect from the internet :sigh: Pin
Muammar©19-Mar-07 7:25
Muammar©19-Mar-07 7:25 
GeneralRe: Disconnect from the internet :sigh: Pin
Mike Dimmick19-Mar-07 7:39
Mike Dimmick19-Mar-07 7:39 
GeneralRe: Disconnect from the internet :sigh: Pin
Muammar©19-Mar-07 20:08
Muammar©19-Mar-07 20:08 

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.