Advertisement
Advertisement
| 06.25.2008 at 01:09PM PDT, ID: 23516041 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: |
Sub GridView1_DataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then
Dim btn As Button = e.Row.FindControl("Receive")
Dim QtySent As Integer = CInt(e.Row.Cells(7).Text)
Dim QtyReceived As Integer = CInt(e.Row.Cells(8).Text)
If QtyReceived = QtySent Then
btn.Text = "test"
End If
End If
End Sub
|