如何在GridView的一行下添加一个小的HTML表 [英] How to add a small HTML table under a row of a GridView

查看:44
本文介绍了如何在GridView的一行下添加一个小的HTML表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好


如果用户用鼠标按下行,我已经设法在一行Gridview下添加动态DetailView

br />

是否可以在其下添加一个表(或者甚至更好地加载一个包含表格的简单的
HTML文件)..不是像我这样的详细视图

did..Because我希望能够按照我的意愿设计表格,并且

不限于仅包含行和< br的DetailView设计/>
coluwns。

我想要全新设计....


如果有人知道我真的需要这个......

所以请:)

Hello

I already managed to add a dynamic DetailView under a row of Gridview
if a user presses the row with the mouse...

Is it possible to add under it a table(or even better load a simple
HTML file that contains the tables).. not a detailview like I already
did..Because i would like to be able to design the table as i wish and
not to be limited to the DetailView Design which only contains rows &
coluwns.
I want totally new design....

I really need this if anyone knows..
so please :)

推荐答案

我经常使用资源。

你可以嵌入html作为资源,仍然设计它。

也许有点最后一刻剥离等等? (删除标签)


" onearth" <峰; dd **** @ 013.net> schreef in bericht

news:11 ********************* @ g14g2000cwa.googlegro ups.com ...
I often use resources.
You could embed the html as resource and still design it.
Maybe a little bit last-minute stripping or so? (removing tags)

"onearth" <dd****@013.net> schreef in bericht
news:11*********************@g14g2000cwa.googlegro ups.com...
你好

如果用户用鼠标按下行,我已经设法在一行Gridview下添加动态DetailView

可以在它下面添加一个表(或者甚至更好地加载一个包含表格的简单HTML文件)..不是像我已经
那样的详细视图..因为我希望能够设计我想要的桌子和
不限于只包含行和<
coluwns的DetailView设计。
我想要全新的设计....
如果有人知道,我真的需要这个......
所以请:)
Hello

I already managed to add a dynamic DetailView under a row of Gridview
if a user presses the row with the mouse...

Is it possible to add under it a table(or even better load a simple
HTML file that contains the tables).. not a detailview like I already
did..Because i would like to be able to design the table as i wish and
not to be limited to the DetailView Design which only contains rows &
coluwns.
I want totally new design....

I really need this if anyone knows..
so please :)



Hello Edwin ..


你的意思是将html作为resoruce嵌入......这是什么对象?

Hello Edwin..

What do you mean embed the html as a resoruce... What object does this?


启动新项目(或现有的)

添加特殊文件夹:App_GlobalResources

添加此文件夹ra资源:Resource.resx(新项目)

将html添加到该文件夹​​(evt refresh)。

打开Resource.resx,显示带字符串的内容,忘记。

只需在新屏幕中拖动html,即可显示文件名为

的相当大的图片。

关闭,转到任何page_load或任何代码。


获取字符串:

Dim T as String = Resources.Resource.thefilenamehere.ToString


因此你可以将html作为styring插入到你喜欢的任何trag中:)


注意代码提示将显示以下资源:Resources.Resource ....


" onearth" <峰; dd **** @ 013.net> schreef在bericht

新闻:11 ********************** @ g49g2000cwa.googlegr oups.com ...
Start new project (or existing)
Add special folder: App_GlobalResources
Add in this folder a resource: Resource.resx (new item)
Add the html to that folder (evt refresh).
Open Resource.resx, something with string is shown, forget that.
Just drag the html in the new screen, a pretty large image with the filename
is now shown.
Close, go to any page_load or whatever code.

To get a string:
Dim T as String = Resources.Resource.thefilenamehere.ToString

And so you can insert the html as styring into any trag you like :)

Note the codetip will show present resources after: Resources.Resource....

"onearth" <dd****@013.net> schreef in bericht
news:11**********************@g49g2000cwa.googlegr oups.com...
你好埃德温..

你的意思是将html作为resoruce嵌入......这是什么对象?
Hello Edwin..

What do you mean embed the html as a resoruce... What object does this?



这篇关于如何在GridView的一行下添加一个小的HTML表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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