返回首页

程序员,在这里有一个巨大的问题。大家都看到我想要的是从数据库中保存的数据是否存在向下拉,如果新进入到文本框。现在IVE管理数据绑定下拉使用SQL语句,到目前为止,它的工作原理。如果else语句使用,所以这是我限制输入查询:
代码

 

If txtcategory.Text <> "" And drpdwnExistingCat.SelectedValue = "" Then

txtcategory saved.. on my databases

ElseIf txtcategory.Text <> "" And drpdwnExistingCat.SelectedValue <> "" Then

 If txtcategory.Text = drpdwnExistingCat.SelectedItem.Text Then

 msgbox("error")not really my code

 else

 Saved both


现在正在说,如果别人
{C}但是,当我改变字母的大小写说

txtcategory.text = "TRYING"

drpdwnExistingCat.SelectedItem.Text = "Trying"

既可以节省IVE得到一个错误。我怎样才能解决这种错误。请帮助。

感谢和更多的权力。

回答

评论会员: 时间:2
O