mysql 怎样批量查询 本帖最后由 skevil 于 2013-08-10 14:10:09 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 拿新到的数据做这几个列的AND条件查询,找不到就可以插入了。select * from tablename where pathyear = 2012 and pathmonth = 12 and pathday = 12 and pathhour = 12 非常感谢!顺便再问你个问题啊 if (comboYear.Text != null) { string FindMonth = "select PathMonth from hzPath where 检查编号='" + txtID.Text + "'"; object readMonth = MySqlHelper.ExecuteScalar(MySqlHelper.Conn, CommandType.Text, FindMonth, null); comboMonth.Items.Add(readMonth); }我想将数据库内的值赋给comboYear ,但是现在好像只能赋给找到的第一项值,而要是之后还有其他值就不会出现在下拉菜单中,这要怎么实现呢? 求解答Socket线程问题 这个写法是什么意思?大家帮帮忙。 分层开发?扯蛋吧? DatetimePicker绑定到日期时间字段, 每次添加记录时,总是出现空值. 这是什么原因造成的呀? 向高手求救!DataList模版列编号问题? 怎么才能弹出这个对话框 如何隐藏拨号的窗口? 能不能在网络上传输一个类的实例? 安装程序制作 督察兔在吗?请教一个问题~ 错误,累死人也找不出来,大家帮忙看看啊
select * from tablename where pathyear = 2012 and pathmonth = 12 and pathday = 12 and pathhour = 12
非常感谢!顺便再问你个问题啊
if (comboYear.Text != null)
{
string FindMonth = "select PathMonth from hzPath where 检查编号='" + txtID.Text + "'";
object readMonth = MySqlHelper.ExecuteScalar(MySqlHelper.Conn, CommandType.Text, FindMonth, null);
comboMonth.Items.Add(readMonth);
}
我想将数据库内的值赋给comboYear ,但是现在好像只能赋给找到的第一项值,而要是之后还有其他值就不会出现在下拉菜单中,这要怎么实现呢?