Skip to content
Loading
How do I get the selected item to be shown?
 
  1. using System;  
  2. using System.Collections.Generic;  
  3. using System.Linq;  
  4. using System.Web;  
  5.   
  6. namespace WebApplication3.Models  
  7. {  
  8.     public class Item  
  9.     {  
  10.         private List items;  
  11.   
  12.         public List Items  
  13.         {  
  14.             get { return items; }  
  15.             set { items = value; }  
  16.         }  
  17.   
  18.         public bool Selected { get; set; }  
  19.   
  20.         public string Text { get; set; }  
  21.     }  
  22. }
  23.                     

1 Reply

Know the answer? Post it — somebody with the same question will find it here.