I want to know if I can access an item of my List and assign it to a textbox?
public static List<Product> detailsList = new List<Product>();
Product is my class generated by using LINQ to SQL with fields Name,Code,Details i.e my List contains the items(Name,Code,Details). I want to access the value of the item Details from the list and assign it to a textbox . Something like:
txtDetails.Text = detailsList.Details.ToString()