Sub getdisc1()
final_reply.Text = chkNull(myDataset.Tables("tblCarMstr").Rows(0).Item("fin_date"))
If final_reply.Text = "0" Then
final_reply.Visible = True
End If
Dim fin_date As String
final_reply.Text = chkNull(myDataset.Tables("tblCarMstr").Rows(0).Item("fin_date"))
If fin_date > 0 Then /// If fin_date = "0" Then
final_reply.Visible = True
final_reply.Text = fin_date.ToString
End If
end sub
Tag : .NET, VS 2008 (.NET 3.x), VS 2010 (.NET 4.x)