Not getting message
Hi Friends..
its me once again..
Now I have to problem them I want to show the message like that ..
If I select certain date range in the query ... if there is no data in the data base for that date range for the perticular person I am not able to display message
I am using the following for the display the data:
Dim rs As OleDbDataReader = myCommand.ExecuteReader(System.data.CommandBehavio r.CloseConnection)
if rs.read()
if rs("permnum").ToString<>"" then
MyList.visible=true
lblMessage.visible=false
else
MyList.Visible=false
lblMessage.visible=true
End if
End if
so what to do can you please guide me .
it will be nice help from you all .
thanks
aashish
Aashish Shah
__________________
Aashish Shah
|