从dabase查询动态创建完整的html页面 [英] create full html page dynamically from dabase query

查看:103
本文介绍了从dabase查询动态创建完整的html页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有朋友

我想从asp.net dababase查询动态创建html页面,
例如此页面 http://www.carwale.com/research/astonmartin- cars/v8vantage/coupe-details-2108.html [

hi all friends

i want to create dynamically html pages from asp.net dababase query ,
such as this page http://www.carwale.com/research/astonmartin-cars/v8vantage/coupe-details-2108.html[^]
show the result, i know this is not static website but this page contain dynamic data
and website is developed in asp.net. same like this i want to create html pages for
my website www.carjinn.com. can u give me any refrence article from which i can learn this logic.

推荐答案

该网站真的是您的吗?好像某些页面是动态创建的.如果这是您的网站,您怎么不知道或如何完成?

无论如何,听起来您需要在
此处开始 [ ^ ].
Is that website is really yours? It appears as if some of the pages are dynamically created. If it''s your site how don''t you know that or how it is done?

Anyway, sounds like you need to start here[^].


如果您决定使用ASP.NET,则需要学习ASP.NET.如果您熟悉html及其相关工具和标准(css,javascript,jquery)并且具有一些C#知识,则应该采用ASP.NET MVC路径.对于那些来自外部的人来说,经典的ASP.NET看起来可能真的很奇怪. MVC更直接.您可以从这里开始: http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/intro-to-aspnet-mvc-3 [ http://www .asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript [ ASP.NET MVC 4 in Action [ ^ ]或它的前身.
If you decided to use ASP.NET, than you need to learn ASP.NET. If you are familiar with html and related tools and standards (css, javascript, jquery) and have some C# knowledge, you should take the ASP.NET MVC path. The classic ASP.NET might look really weid for somebody coming from outside. MVC is more straightforward. You can start here: http://www.asp.net/mvc/tutorials/getting-started-with-aspnet-mvc3/cs/intro-to-aspnet-mvc-3[^] and here: http://www.asp.net/mvc/tutorials/older-versions/javascript/creating-a-mvc-3-application-with-razor-and-unobtrusive-javascript[^] than you can go to something more detailed as this book: ASP.NET MVC 4 in Action[^], or it''s predecessor.


这篇关于从dabase查询动态创建完整的html页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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