Before executing the select command you must have to convert the value of textbox4 into the data type as per data type of your column data type.
When you create your database you specify the data type of the field - consumr_cn
convert your textbox4.value into that data type then execute select command.
for conversion -
1. Into Integer
CInt(textbox4.text)
2. Into double
Convert.toDouble(textbox4.text)
3. Into Int16,32,64
Convert.toIn16(textbox4.text)
Convert.toIn32(textbox4.text)
Convert.toIn64(textbox4.text)
then -
cmd = New OleDbCommand("select * from product_details where consumr_cn=" & TextBox4.Text & "", cn)