高亮显示在文本框中的图像部分 [英] Highligt that part of Image which was written in a Textbox

查看:93
本文介绍了高亮显示在文本框中的图像部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我的项目有一个要求,我们必须在文本"框中输入身体部位"名称,并在图像上显示该部位.
谁能帮我
在此先感谢.

Hello,
I have a requirement in my project in which we have to write Body parts name in a Text box and Show that Part on an Image.
Can any body helps me
Thanks in advance.

推荐答案

有2个解决方案.

解决方案1:
您可以在SQL数据库中将零件名称存储为 varchar ,将图像存储为 binary .可以在用户点击此记录时进行检索.

解决方案2:
图像可以作为内置资源存储在解决方案中名为"images"的物理文件夹中.在文本框中引用身体部位名称时,应用程序将指向/显示图像"物理文件夹下的相应图像名称.
There are 2 solutions for this problem.

Solution 1:
You can store the name of the part as varchar and image as binary in SQL database. It can be retrieved as the user hits this record.

Solution 2:
Images can be stored in the physical folder named ''images'' within the solution as the built-in resources. On referring body parts name in the text box, the application will point/show to the respective image name under ''images'' physical folder.


这篇关于高亮显示在文本框中的图像部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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