TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ayappan A
1.6k
98
12.7k
How to add Multiple models in collection ?
Dec 1 2019 11:03 PM
I have 3 different collection
public class Sample1
{
public int Id1 { get; set; }
public string Name1 { get; set; }
public bool Ischecked1 { get; set; }
}
public class Sample2
{
public int Id2 { get; set; }
public string Name2 { get; set; }
public bool Ischecked2 { get; set; }
}
public class Sample
{
public int Id { get; set; }
public string Name { get; set; }
public bool Ischecked { get; set; }
}
ObservableCollection<Sample> SampleData = new ObservableCollection<Sample>();
ObservableCollection<Sample1> SampleData1 = new ObservableCollection<Sample1>();
ObservableCollection<Sample2> SampleData2 = new ObservableCollection<Sample2>();
Add these ObservableCollection into 1 collection.
Thanks in advance ...
Reply
Answers (
3
)
XML file to struct
how can i save 2textbox in one field in sql using c#