Jul 13, 2011

how to check is checklist box ckeck or not

Dim colAttend As DevExpress.Web.ASPxGridView.GridViewDataColumn = DirectCast(gvTrgEmpAttend.Columns(7), DevExpress.Web.ASPxGridView.GridViewDataColumn)
For i As Integer = 0 To gvTrgEmpAttend.VisibleRowCount - 1
Dim EmpCode As String = gvTrgEmpAttend.GetRowValues(i, "Emp.Code")
Dim RdbtnLs As RadioButtonList = TryCast(gvTrgEmpAttend.FindRowCellTemplateControl(i, colAttend, "RBAttend"), RadioButtonList)
If RdbtnLs.SelectedValue = "" Then
lblMessage.ForeColor = Drawing.Color.Red
lblMessage.Text = "Please select any one status for Employee Code: " & EmpCode & "."
Exit Sub
End If
Next

No comments:

Post a Comment

What is the use of n-tier architecture and 3-tier architecture?

how to implement 3-tier architecture in asp.net using c#. 3-Tier architecture is also called layered architecture. Some people called it ...