Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,


I am developing student id card desktop application in vb.net

i want to display data like


student id : text1 student id : text1 student id : text1
name : SHAH name : SHAH name : SHAH

student id : text1 student id : text1 student id : text1
name : SHAH name : SHAH name : SHAH

student id : text1 student id : text1 student id : text1
name : SHAH name : SHAH name : SHAH

on window form.. which control should i use for that ?

if asp.net then its simple in repeater but what about in desktop application ???
Posted

1 solution

The question makes no sense, because "I want to display data like this" is not a definition of your requirements or idea. An example is not a definition. However, I did not want to ask you a question to clarify the problem. The problem is different: the whole approach is wrong. You probably don't understand that it all depends on how you design the UI.

Most likely, you should use something like a grid view, less likely — а list view. I don't reference particular control types, because you did not even specify what UI library do you use. For a desktop applications, most used libraries are System.Windows.Forms and WPF.

Decide which one do you want. If you cannot determine that, get to the MSDN pages one each and learn basics about each one. Learn all of the available controls in general features. Don't be afraid of wasting time: in most big applications, you would need to use a good part of them. Learn the basics about creation of custom controls, even if you don't need then immediately. It is needed to understand the limits of your possibilities.

—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900