User Profile
Collapse
Profile Sidebar
Collapse
amol2222
Last Activity: Dec 30 '12, 07:59 PM
Joined: Dec 29 '12
Location:
-
on msgbox line code errror: Invalid attempt to read when no data is present. -
how to display data into a message box from database
i wanT to disply username which is in my database column3
my code:
...Code:Dim cmd As New SqlCommand cmd = con.CreateCommand() cmd.CommandText = "select * from plane where startdate=@sdate" cmd.Parameters.AddWithValue("@sdate", Date.Today()) Dim rd As SqlDataReader rd = cmd.ExecuteReader() MsgBox("
No activity results to display
Show More
Leave a comment: