朋友; 我正在使用wpf和以前使用Windows窗体 货币经理与我合作在Windows窗体中没有任何问题 但是在wpf中没有和我合作 我如何使用货币管理器与wpf
找不到类型或命名空间名称`CurrencyManager'。您是否缺少using指令或程序集引用?
class dealWithCurrancyManager
{
#region Variable Declartion
OleDbConnection cn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Properties.Settings.Default.dPath + ";Jet OLEDB:Database Password=azouz(2016)");
OleDbDataAdapter da;
DataTable dt = new DataTable();
///// this line here display error
public CurrencyManager cur;
#endregion;
答案 0 :(得分:-3)
private void btnNext_Click(object sender, System.EventArgs e)
{
System.Windows.Forms.CurrencyManager bc;
bc = (CurrencyManager) this.BindingContext[this.dsEmployeeList1, "Employees"];
bc.Position += 1;
UpdateDisplay();
}