从数据库中获取项目的工具提示属性 [英] tooltip property for items fetch from database

查看:64
本文介绍了从数据库中获取项目的工具提示属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我需要从数据库中获取项目列表,即模式.将鼠标悬停在特定的图形上,类似于工具提示的显示应归因于其描述.此外,在单击任何模式后,还应提供有关模式的其他详细信息.请建议使用的方法.

问候,
Amit

解决方案

您到底尝试了什么?

这并不是很难执行的任务.只需将您的DataTable加载到ListView或ListBox中即可.然后,确定要用作显示内容的项目以及希望工具提示说的内容.

在此处阅读ADO.NET的信息: ADO.NET概述 [ ^ ]

Hello,

I need to fetch list of items i.e. pattern from database. On mouse over to particular pattern display similar to tooltip should come about its description. Further, on click of any pattern other details regarding pattern should come. Please suggest the method to use.

Regards,
Amit

解决方案

What exactly have you tried?

This isn''t that difficult of a task to perform. Simply load your DataTable into a ListView or ListBox. Then, decide what item you''re going to use as the display and what you want the ToolTip to say.

Read up on ADO.NET here: Overview of ADO.NET[^]


这篇关于从数据库中获取项目的工具提示属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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