Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi, I recently inherited a website with aspx pages. Most of the html is located inside a SQL Server 2005 database, and then aspx pulls it from there to include in the default.aspx file. Is there any tool I can use to edit the database to edit the html, or is it just TSQL I would use?
Posted
Comments
[no name] 31-Aug-12 10:47am    
Why can't you use SSMS and edit the data directly?
EuniceRH 31-Aug-12 10:56am    
I can, actually use the godaddy equivalent, I was just looking for an easier way, wondering if the previous developer used some kind of tool to edit the database html.
[no name] 31-Aug-12 10:59am    
Probably not. It's just text. If he did use some sort of a tool, he probably developed it himself.

With Wes Aday's help I've solved this myself. He said you have to use SSMS (TSQL). No thanks to Christian Amado, I had googled it and found no answer.
 
Share this answer
 
Hi,

If your HTML content in the database is XHTML then you can do that using XML datatype in the database. you can update specific information directly in the database.

Below are some useful links that may help you,

XQuery and XMLDML[^]

Scritp to insert/Update xml data in database[^]

Hope this helps you
Thanks
-Amit Gajjar
 
Share this answer
 
There is a very cool site around the net. The site what I talking about is very useful when you learn to use it.

That site is like a genius in a bottle. The only difference is that you should not rub the lamp at all. Just type your questions there :)

The site you can find here.

You can copy your html inside sql in Web Expression or any another tool.

Hope you can find it useful.
 
Share this answer
 
Comments
Christian Amado 31-Aug-12 11:17am    
Why downvoted?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900