-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Arijit
Message 5 in Discussion
Pls find my code : i am getting the null reference when i try to access ddlEachRating
drop down list.. Protected Sub ViewCV_Click(ByVal sender As System.Object, ByVal
e As DataGridCommandEventArgs) Handles grdCandidate.ItemCommand
If e.CommandName = "Save" Then
If CType(e.CommandSource, Button).CommandName = "Save" Then
Dim strOvComments As String
Dim strOutcome As String
Dim strRating As String
Dim strCandidateId As String
strCandidateId = e.Item.Cells(0).Text
Dim ddlOvOutcome As DropDownList =
CType(e.Item.FindControl("ddlOutcome"), DropDownList)
Dim txtOvComments As TextBox =
CType(e.Item.FindControl("txtComments"), TextBox)
Dim grdAgainTechRating As DataGrid =
CType(e.Item.FindControl("grdTechRating"), DataGrid) Dim ddlEachRating
As DropDownList = CType(e.Item.FindControl("ddlRating"), DropDownList)
strOutcome = ddlOvOutcome.SelectedItem.Text
strOvComments = txtOvComments.Text
Dim iInnerGridLoop As Integer
For iInnerGridLoop = 0 To arrTechList.Length - 1
strTechRating = CStr(ddlEachRating.SelectedItem.Text) & "-" &
arrTechList(iInnerGridLoop)
Next
End If
End If
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]