talukdarmanoj
Member
- Joined
- Sep 26, 2007
- Messages
- 6
- Programming Experience
- Beginner
myAccAdaptor = New MySql.Data.MySqlClient.MySqlDataAdapter
myComm = New MySql.Data.MySqlClient.MySqlCommand("Select * from Purchase where PartName='MotherBoard'")
myComm.Connection = myCnn
myAccAdaptor.SelectCommand = myComm
if this sql query return no matching row then I want to display a message box. How can i do this ?
I m using VB2005
myComm = New MySql.Data.MySqlClient.MySqlCommand("Select * from Purchase where PartName='MotherBoard'")
myComm.Connection = myCnn
myAccAdaptor.SelectCommand = myComm
if this sql query return no matching row then I want to display a message box. How can i do this ?
I m using VB2005