Kreshnike Rahmani

Kreshnike Rahmani

  • NA
  • 14
  • 16.4k

Specified argument was out of the range of valid values. Par

Mar 12 2013 5:16 AM

 Protected Sub grdApoeni_SelectedIndexChanging(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewSelectEventArgs) Handles grdApoeni.SelectedIndexChanging
        Dim row As GridViewRow = grdApoeni.Rows(e.NewSelectedIndex)
        txtSmetka.Text = row.Cells(1).Text
        txtDijametar.Text = Format(Double.Parse(row.Cells(2).Text), "###,###,##0.00")
        txttezinaGram.Text = Format(Double.Parse(row.Cells(3).Text), "###,###,##0.00")
        txtCistota.Text = Format(Double.Parse(row.Cells(4).Text), "###,###,##0.0000")
        txtAlatDizajn.Text = Format(Double.Parse(row.Cells(5).Text), "###,###,##0.00")
        txtAmbalazaProspekt.Text = Format(Double.Parse(row.Cells(6).Text), "###,###,##0.00")
        txtIzrabotka.Text = Format(Double.Parse(row.Cells(7).Text), "###,###,##0.00")
        txtNBRMTrosoci.Text = Format(Double.Parse(row.Cells(8).Text), "###,###,##0.00")
        txtNumizmatika.Text = Format(Double.Parse(row.Cells(9).Text), "###,###,##0.00")
        ddlTip.SelectedValue = row.Cells(10).Text
        txtTirazU.Text = row.Cells(11).Text
        txtGodinaU.Text = row.Cells(12).Text


        MultiView1.SetActiveView(Promena)
    End Sub


I have a problem here in te row in txtxtirazU?! 

Answers (1)