如何使用gridview行填充图像? [英] How do I Populating an image with a gridview row?

查看:110
本文介绍了如何使用gridview行填充图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在asp和C#工作。我有一个gridview,填充表格如下:



 名称货币市场苹果($)橙子($)香蕉($) 
kelly $ 16.00 local $ 2.00 $ 3.00 $ 1.00
john $ 7.00 organic $ 3.00 $ 3.00 $ 4.00
brock $ 10.00 farmer $ 2.00 $ 5.00 $ 2.00





我还有一个我在visio中构建的图像,它只是一个指向其他圆圈的圆圈。在第一个圆圈内部将是表格中的名称,它将指向其他圆圈,其中包含可能购买的水果和花费多少。



有没有办法点击一行并让该行的数据填充网页上的图像?

解决方案

)oranges(


< blockquote>)香蕉(



kelly


I am working in asp and C#. I have a gridview that populates a table like so:

name    money	market	apples ($)	oranges ($)	bananas($)
kelly	$16.00	local	  $2.00	      $3.00	    $1.00
john	$7.00	organic	  $3.00	      $3.00     $4.00
brock	$10.00	farmer	  $2.00	      $5.00	    $2.00



I also have an image I built in visio which is just a circle that points to other circles. Inside the first circle would be the "name" from the table and it would be pointing to other circles that contain the possible fruit to buy and how much they cost.

Is there a way to click on a row and have that row's data populate the image on a webpage?

解决方案

) oranges (


) bananas(


) kelly


这篇关于如何使用gridview行填充图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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