using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using CoreSavingLibrary; namespace Saving.Applications.atm_offline.ws_amtoff_post_ctrl { public partial class DsMain : DataSourceFormView{ public DataSet1.DTMAINDataTable DATA { get; set; } public void InitMain(PageWeb pw) { css1.Visible = false; DataSet1 ds = new DataSet1(); this.DATA = ds.DTMAIN; this.EventItemChanged = "OnMainItemChanged"; this.EventClicked = "OnMainClicked"; this.InitDataSource(pw, FormView1, this.DATA, ""); this.Button.Add("b_post"); this.Register(); } } }