Hi Folks,
I am trying to to get the itemindex in the textchanged event.
Can anyone help me out on this.
Below is my Code and the line below is wht i am expecting.....
Dim intIndex As Integer = ????
Thanks
Satya
I am trying to to get the itemindex in the textchanged event.
Can anyone help me out on this.
| Protected Sub txtEditPileDia_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) |
| Try |
| objDetailInfo = New NDSBLL.DetailInfo |
| objDetailDal = New NDSDAL.DetailDal |
| Dim txtNewPileDia As TextBox |
| Dim txtLinkStart As TextBox |
| Dim txtLinkEnd As TextBox |
| 'Dim txtAdditionalSpiral As TextBox |
| Dim intIndex As Integer = ???? |
| txtNewPileDia = DirectCast(gvStructDetails.Rows(intIndex).FindControl("txtPileDia"), TextBox) |
| txtLinkStart = DirectCast(gvStructDetails.Rows(intIndex).FindControl("txtEditNoLinksStart"), TextBox) |
| txtLinkEnd = DirectCast(gvStructDetails.Rows(intIndex).FindControl("txtEditNoLinksEnd"), TextBox) |
| 'txtAdditionalSpiral = DirectCast(gvStructDetails.Rows(intIndex).FindControl("txtEditNoAdditionalSpiral"), TextBox) |
| If ((Not txtLinkStart Is Nothing) And (Not txtLinkEnd Is Nothing) And (Not txtNewPileDia Is Nothing)) Then |
| PopulateLinksValues(txtNewPileDia, txtLinkStart, txtLinkEnd) |
| End If |
| Catch ex As Exception |
| ErrorHandler.RaiseError(ex, strPath) |
| End Try |
| End Sub |
Below is my Code and the line below is wht i am expecting.....
Dim intIndex As Integer = ????
Thanks
Satya