List<Master> dataAcc = new List<Master>(); public MainWindow() { InitializeComponent(); dataAcc = Getmembers(); } public List<Master> Getmembers() { BillingEntities billEntity = new BillingEntities(DataAccess.GetConnectionStringForSelectedPractice("MyDB")); List<Master> dataAccount = (from p in billEntity.DataAccounts where p.Duplicate == false select p ).Take(1000).ToList<Master>(); return dataAccount; }
List<master> dataAcc = new List<Master>(); public MainWindow() { InitializeComponent(); dataAcc = Getmembers(); } public List<master> Getmembers() { BillingEntities billEntity = new BillingEntities(DataAccess.GetConnectionStringForSelectedPractice("MyDB")); List<master> dataAccount = (from p in billEntity.DataAccounts where p.Duplicate == false select new Master { AcctNumber = p.AcctNumber, Name = p.Name, BirthDay = p. DOB } ).Take(1000).ToList<master>(); return dataAccount; } Is it possible to acheive this???? chowdary.</master></master></master></dataaccount></dataaccount>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)