2
Answers

How to Get specific data from ObservableCollection item

auriga

auriga

9y
1.9k
1
public ObservableCollection<EnumData> EnumDatas { get; set; }
  public ObservableCollection<EnumData> MaratialStatus{ get; set; }
 
 public ctor()
{
EnumDatas = unitOfWork.EnumDataRepository.All().ToObservableCollection();
 // how i get  specific data......
MaratialStatus = EnumDatas.Select(s => s.type == 1).;
Answers (2)
0
Manas Mohapatra

Manas Mohapatra

NA 29.3k 3.3m 7y
I am not sure about which form you are talking about Web or Windows. You can design it by your own. Next thing is to get data from FORM and insert in Oracle database. Follow below links that may help you:
 
http://www.c-sharpcorner.com/uploadfile/mahesh/working-with-oracle-databases-using-ado-net/ 
 
http://www.java2s.com/Tutorial/CSharp/0560__ADO.Net/DoaninsertcommandtoOracledatabase.htm 
 
https://www.codeproject.com/Articles/1155/Simple-ADO-NET-Database-Read-Insert-Update-and-Del
 
 
Accepted
0
Arif Mohammed

Arif Mohammed

NA 45 407 7y
thanks manas