在VB.NET中查询桌面应用程序 [英] Query About Desktop Application in VB.NET

查看:112
本文介绍了在VB.NET中查询桌面应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,





我在vb.net开发学生ID卡桌面应用程序



i希望显示数据如





学生ID:text1学生ID:text1学生ID:text1

名称:SHAH名称:SHAH名称:SHAH



学生ID:text1学生ID:text1学生ID:text1

名称:SHAH名称:SHAH名称:SHAH



学生ID:text1学生ID:text1学生ID:text1

名称:SHAH名称:SHAH名字:SHAH


窗口形式的
..我应该使用哪个控件?



如果asp.net然后它的简单中继器但在桌面应用程序中怎么样?

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 ???

推荐答案

这个问题毫无意义,因为我想显示这样的数据不是你的要求的定义,也不是我的定义数据包络分析。一个例子不是定义。但是,我不想问你一个问题来澄清问题。问题不同:整个方法都是错误的。你可能不明白这一切都取决于如何设计用户界面。



最有可能的是,你应该使用像网格视图,不太可能 - 列表视图。我没有引用特定的控件类型,因为您甚至没有指定您使用的UI库。对于桌面应用程序,大多数使用的库是 System.Windows.Forms 和WPF。



决定哪一个做你要。如果您无法确定,请分别访问每个MSDN页面并了解每个页面的基础知识。了解常规功能中的所有可用控件。不要害怕浪费时间:在大多数大型应用程序中,你需要使用它们中的很大一部分。了解有关创建自定义控件的基础知识,即使您不需要立即执行。需要了解你的可能性限制。



-SA
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


这篇关于在VB.NET中查询桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆