I am using visual studio and I have multivalues what is the best control I can use to display these values, for example names of courses a person is taking | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I am using visual studio and I have multivalues what is the best control I can use to display these values, for example names of courses a person is taking

10th Aug 2016, 1:31 AM
Reem Alashhab
Reem Alashhab - avatar
4 Answers
+ 4
Best control? I would use Label. You can find it in toolbox and drag it to the form. You can change it's content with labelName.text in Windows application. You can also use textbox but remember to make it read only so the user can't change it.
10th Aug 2016, 7:50 AM
Alireza M
Alireza M - avatar
+ 1
if you know how many elements do you need, use array. If the elements change dinamically use list
10th Aug 2016, 4:30 AM
Róbert Pécz
Róbert Pécz - avatar
+ 1
Thank you for answering. I tried to use detail view because I have many values with templete fields and I connected with my database but it did not work :/ is there any way else ?
10th Aug 2016, 11:14 AM
Reem Alashhab
Reem Alashhab - avatar
+ 1
Can I add rows dynamclly to detailview ?
10th Aug 2016, 11:16 AM
Reem Alashhab
Reem Alashhab - avatar