网格视图中的asp.net fileupload控件,获取命名容器值 [英] asp.net fileupload control in grid view, get naming container values

查看:53
本文介绍了网格视图中的asp.net fileupload控件,获取命名容器值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在C#中有一个gridview,其上有一个fileupload控件。我已将其设置为当用户点击"选择文件"时选项它会自动调用后台代码功能。我试图将gridview行ID和其他列值
传递给此函数。我该怎么做呢?  我隐藏了提交按钮,因此无法使用rowcommand。  除非有建议。另外,如果我使用命名容器,我该怎么做才能传递行值?

I have a gridview in C#, with a fileupload control on there. I have it set so that when you user clicks on the "Choose file" option it automatically calls a behind code function. I"m trying to pass the gridview row ID, and other column values to this function. How would I go about doing that?  I have the submit button hidden, so it won't work with the rowcommand.  Unless there are suggestions. Also if i use naming container, how would I do that to pass the row values?

谢谢, 

Thanks, 

IT顾问

推荐答案

你好
transtar,

您的问题与asp.net/web技术有关,为了更好的支持,请将您的问题发布到在下面的asp.net论坛中,这个论坛是针对特定的C#代码问题:

http://forums.asp.net/

最好的问候,


这篇关于网格视图中的asp.net fileupload控件,获取命名容器值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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