示例#1
0
        /// <summary>
        /// 保存数据
        /// </summary>
        public void Save()
        {
            LoginInfoTableAdapter adapter = new LoginInfoTableAdapter();

            adapter.Update(this.LoginInfo);
        }
示例#2
0
        /// <summary>
        /// 装载数据
        /// </summary>
        public void Load()
        {
            LoginInfoTableAdapter adapter = new LoginInfoTableAdapter();

            adapter.Fill(this.LoginInfo);
        }