日期:2014-05-18 浏览次数:20898 次
internal class AADataset : SqlDataset private lossTable loss; this.loss.Datasourcename = dsname; this.loss.GetData(No,0); this.loss.defaultView.Sort= "startDate asc" //lossTable 的定义 public class lossTable :SqlDataTable public string Datasourcename { get{return datasourcename;} set {datasourcename = value;} } this.datasourcename="t1"; this.GetStaement = "Loss_select_sp" this.UpdateStatement="Loss_Update_sp" this.DeleteStatement="Loss_Delete_sp" this.insertStatement="Loss_Insert_sp" public void GetData(long inNo) { arralist para=new Arraylist(); para.Add(new namedParameter("@InNo",sqldbtype.Int,inNo,input)) GetData(para) }