我有一个包含链接的网格视图。我正在尝试将日期绑定到navigationURL。 [英] I have a grid view that includes a link. I am trying to bind date to the navigationURL.

查看:62
本文介绍了我有一个包含链接的网格视图。我正在尝试将日期绑定到navigationURL。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这应该很简单,但我无法弄清楚。我有一个包含链接的网格视图。我正在尝试将日期绑定到navigationURL。数据包括来自DB的id(主键)和confirmNum。我有id工作,但不能得到confirmNum显示。以下是代码:

 NavigateUrl ='<%#DataBinder.Eval(Container,  DataItem.id  MyRequests_Full.aspx?id = {0} +  & confirmNum = DataBinder.Eval(Container.DataItem, confirmNum  )%>'
Any想法?

解决方案

如果你询问数据意味着尝试以下链接:



从datagridview中将行值从一个页面检索到另一个页面 [ ^ ]

This should be simple but I can''t figure it out. I have a grid view that includes a link. I am trying to bind date to the navigationURL. The data includes the id (primary key) and confirmNum from the DB. I have the id working but can''t get the confirmNum to show. Here is the code:

NavigateUrl='<%# DataBinder.Eval(Container, "DataItem.id", "MyRequests_Full.aspx?id={0}" + "&confirmNum=DataBinder.Eval(Container.DataItem, "confirmNum") %>'
Any Ideas?

解决方案

if u r asking about data means try following link:

Retrieve row values from one page to another from datagridview[^]


这篇关于我有一个包含链接的网格视图。我正在尝试将日期绑定到navigationURL。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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