分类：电脑/网络-软件-网络软件
问题：谁帮我看下这段代码结构有什么问题?错误显示"语句未结束"Ifbo 
错误显示"语句未结束" If book_ty= "0" Then Recordset_list_cmd.CommandText = "SELECT * FROM dw_product WHERE book_name LIKE '%"&keyword&"%'" else if book_type= "1" Then Recordset_list_cmd.CommandText = "SELECT * FROM dw_product WHERE book_name LIKE '%"&keyword&"%' AND book_ty错误显示"语句未结束" If book_ty= "0" Then Recordset_list_cmd.CommandText = "SELECT * FROM dw_product WHERE book_name LIKE '%"&keyword&"%'" else if book_type= "1" Then Recordset_list_cmd.CommandText = "SELECT * FROM dw_product WHERE book_name LIKE '%"&keyword&"%' AND book_type = "1""end if else if book_type= "2" Then Recordset_list_cmd.CommandText = "SELECT * FROM dw_product WHERE book_name LIKE '%"&keyword&"%' AND book_type = "1""end if end if
回答：If book_ty= "0" Then   Recordset_list_cmd.CommandText = "SELECT * FROM dw_product WHERE book_name LIKE '%"&keyword&"%'" else   if book_type= "1" Then     Recordset_list_cmd.CommandText = "SELECT * FROM dw_product WHERE book_name LIKE '%"&keyword&"%' AND book_type = "1""  end if else   if book_type= "2" Then     Recordset_list_cmd.CommandText = "SELECT * FROM dw_product WHERE book_name LIKE '%"&keyword&"%' AND book_type = "1""  end if end if