HTML 2 ASP.NET? [英] HTML 2 ASP.NET ?

查看:61
本文介绍了HTML 2 ASP.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



i有theese静态html页面

用w / o取代带有动态数据的内容的最佳方式是什么?
失去所有格式化?

我有VS.NET,但更愿意用无设计师编写aspx代码。

有没有直接替换方法说每个HTML表单都有一个

ASP一个?


TIA


i have theese static html pages
what is the best way to replace the content w/ .NET dynamic data w/o
loosing all the formating?
I have VS.NET, but will prefer to write the aspx code w/o designer.
Is there some straight way to replace say every HTML form w/ an
ASP one?

TIA

推荐答案

"布鲁斯" < no@spam.com>在消息中写道

新闻:%2 **************** @ tk2msftngp13.phx.gbl ...
"Bruce" <no@spam.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
我有静态的html页面
什么是用.NET动态数据替换内容的最佳方法,而不是失去所有的格式化?
我有VS.NET,但是我更喜欢用设计师编写aspx代码。
是否有一些直接的方法可以替换每个HTML表单和/或ASP?
i have theese static html pages
what is the best way to replace the content w/ .NET dynamic data w/o
loosing all the formating?
I have VS.NET, but will prefer to write the aspx code w/o designer.
Is there some straight way to replace say every HTML form w/ an
ASP one?




您是否想要更换它们,因为您需要将其静态内容转换为动态内容?如果没有,那么就按照他们的方式离开他们

...



Are you wanting to replace them because you need to turn their static
content into dynamic content? If not, then just leave them the way they
are...


是的,我需要来自数据库的动态数据


" Mark Rae" <毫安** @ mark-N-O-S-P-A-M-rae.co.uk>在消息中写道

news:O0 ************** @ TK2MSFTNGP14.phx.gbl ...
yeap, i need dynamic data from a database

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:O0**************@TK2MSFTNGP14.phx.gbl...
" Bruce" < no@spam.com>在消息中写道
新闻:%2 **************** @ tk2msftngp13.phx.gbl ...
"Bruce" <no@spam.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
我有theese静态html页面
什么是更换内容的最佳方式w / .NET动态数据w / o>失去所有格式化?
我有VS.NET,但更愿意写没有设计师的aspx代码。
是否有一些直接的方法可以替换每个带有ASP的HTML表单?
i have theese static html pages
what is the best way to replace the content w/ .NET dynamic data w/o
loosing all the formating?
I have VS.NET, but will prefer to write the aspx code w/o designer.
Is there some straight way to replace say every HTML form w/ an
ASP one?



你想要更换吗?他们因为你需要将他们的静态内容变成动态内容吗?如果没有,那么就按照他们的方式离开他们......



Are you wanting to replace them because you need to turn their static
content into dynamic content? If not, then just leave them the way they
are...



我不确定我清楚地了解你想要什么,但我会给它一个

刺。你在谈论HTML表格到ASP表格,我不认为

这是直接可行的(我可能是错的)。原因是ASP.NET

无法解决Control heirarchy并为你保持ViewState

。它只会渲染出html。没有服务器端

能力。


如果你只是谈论文本内容而不是HTML表单元素,

那么这个是一个简单的切割问题&粘贴到一个带有

的SQL表中,稍微开发一个控件来获取数据。


Clint Hill

H3O软件
http://www.h3osoftware.com

Bruce写道:
I''m not sure I clearly understand what you want, but I''ll give this a
stab. You are talking about HTML forms into ASP forms and I don''t think
this is directly doable (I could be wrong). The reason being is ASP.NET
wouldn''t be able to address the Control heirarchy and persist ViewState
for you. It would simply render out the "html" with no server side
abilities.

If you are simply talking about text content and not HTML form elements,
then this is a simple matter of cut & paste into a SQL table with a
little development of a control to grab the data.

Clint Hill
H3O Software
http://www.h3osoftware.com
Bruce wrote:
是的,我需要来自数据库的动态数据

Mark Rae <毫安** @ mark-N-O-S-P-A-M-rae.co.uk>在消息中写道
新闻:O0 ************** @ TK2MSFTNGP14.phx.gbl ...
yeap, i need dynamic data from a database

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:O0**************@TK2MSFTNGP14.phx.gbl...
" Bruce" < no@spam.com>在消息中写道
新闻:%2 **************** @ tk2msftngp13.phx.gbl ..

"Bruce" <no@spam.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl.. .

我有静态的html页面
什么是用.NET动态数据替换内容的最佳方法,而不是失去所有的格式化?
我有VS.NET,但是我更喜欢用设计师来编写aspx代码。
是否有一些直接的方法来替换说每个HTML表单与一个ASP?
i have theese static html pages
what is the best way to replace the content w/ .NET dynamic data w/o
loosing all the formating?
I have VS.NET, but will prefer to write the aspx code w/o designer.
Is there some straight way to replace say every HTML form w/ an
ASP one?



您想要替换它们是因为您需要将其静态内容转换为动态内容吗?如果没有,那就让他们按照他们的方式离开......



Are you wanting to replace them because you need to turn their static
content into dynamic content? If not, then just leave them the way they
are...




这篇关于HTML 2 ASP.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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