Good Afternoon,
Below is the code to read the data from database:
- while (dr.Read())
- {
- pROScrutinyDetails.type_treat = obj_DbNullHandler.CheckDBNullAndReturnNullableStringForDataReader(dr, "type_treat");
- }
and it is reading 3 values and i want display as a dropdown showing all 3 values....so please do let me know how to write the <option> for the same!!
i tried the below but it is not working:
<option [value]="item.type_treat" *ngFor="let item of f">{{item.type_treat}}</option>
Thank you