vb.net Code:
Private Sub btnCreate_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnCreate.Click
'Declarations
Dim decSales() As Decimal = {"2400", "1500", "1600", "2790", "1000", "6300", "1300", "2700"}
Dim decBonus() As Decimal
Dim decInterestRate As Decimal
Dim decTotalBonusPaid As Decimal
Dim intBonusS As Integer = 0
'calculate the appropriate subscript
Decimal.TryParse(txtReport.Text, decBonus)
'calculate bonus
For intBonusS As Integer = 0 To 7 Step 1
decBonus[0] = decInterestRate * decSales[0]
Here are the errors...