F
flysand
Unregistered / Unconfirmed
GUEST, unregistred user!
//Tables[0]中有一字段ADate,如何把当前记录的ADate值与当前日期比较?
SqlCeDataAdapter m_oDA = new SqlCeDataAdapter();
m_oDs.Clear();
m_oDA.SelectCommand = new SqlCeCommand(s,this.m_oCn);
m_oDA.Fill(m_oDs);
this.bmCars = this.BindingContext[m_oDs.Tables[0]];
this.bmCars.Position=0;
......
SqlCeDataAdapter m_oDA = new SqlCeDataAdapter();
m_oDs.Clear();
m_oDA.SelectCommand = new SqlCeCommand(s,this.m_oCn);
m_oDA.Fill(m_oDs);
this.bmCars = this.BindingContext[m_oDs.Tables[0]];
this.bmCars.Position=0;
......