lundi 25 juillet 2016

C# Populating CheckBoxList from database (strange column/header text name)

I am working on small project ASP.NET Web forms, so backend language is C#, and I want to populate checkboxlist from database, and I did it, but values I get are very strange, I need to get names of database columns or something, because right now it looks like this:

enter image description here

On windows forms I would know what to do, (DISPLAY MEMBER = "Name") and problem solved, but on the web I dont know how to get columns name, because this looks so strange..

Thanks guys,

Cheers.




Aucun commentaire:

Enregistrer un commentaire