我想链接到表行 [英] i want to give link to table rows
问题描述
请帮助解决以下问题...
我想为表格中的每一行提供链接.因此,我使用stringbuilder创建了.html文件,该文件中显示了两个表.我想给第一个表行提供链接,该链接重定向到特定记录的第二个表.
假设
在第一个表中有3列和3行.
col.1Id col.2Name col.3records
20 raju 3
30 dipu 2
40 monu 1
我想为每行第二列提供链接
在第二张表中5列10行
1.id 2.名称3.records 4.mob 5.add
20 raju 1--
20 raju 1--
20 raju 1--
30滴1--
30滴1--
40 monu 1--
.
.
.
当单击第一个表2col 1row
时
然后在第二个表中显示所有raju记录
在此先感谢.....
pls help for following problem...
i want to give link for each row in table. so i am created .html file using stringbuilder in that file two tables are displaying. i want to give link for first table rows which link redirect to the second table of specific record.
suppose
in first table 3 columns & 3 rows.
col.1Id col.2Name col.3records
20 raju 3
30 dipu 2
40 monu 1
i want to give link for no.2 column each row
in second table 5 columns & 10 rows
1.id 2.Name 3.records 4.mob 5.add
20 raju 1 -- --
20 raju 1 -- --
20 raju 1 -- --
30 dipu 1 -- --
30 dipu 1 -- --
40 monu 1 -- --
.
.
.
when click on first table 2col 1row
then display the all raju records in second table
thanks in advance.....
推荐答案
使用数据集的DataRelation属性.
Hi,
Use DataRelation property of dataset.
这篇关于我想链接到表行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!