public void RefreshPreset(int preset, string IPPId) { if (preset == 0) { dtblPreset = myIPP.SelectNotSent(); } else if (preset == 1) { dtblPreset = myIPP.SelectSentNotRec(); } else { myIPP.NIPPID = Convert.ToInt32(IPPId); dtblPreset = myIPP.SelectOne(); } }
private void InitLookupEdit(int Id) { myIPP = new TblIPP(); myIPP.NIPPID = Id; dtblIPPLookupEdit = myIPP.SelectOne(); }