Click here to Skip to main content
15,925,868 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionimage on right side treeview Pin
red27man10-Sep-07 1:03
red27man10-Sep-07 1:03 
QuestionDoubt in Dataview filter options Pin
jayarajmrj10-Sep-07 0:43
jayarajmrj10-Sep-07 0:43 
AnswerRe: Doubt in Dataview filter options Pin
John-ph10-Sep-07 1:45
John-ph10-Sep-07 1:45 
Questionpopup window Pin
saravanan0510-Sep-07 0:43
saravanan0510-Sep-07 0:43 
AnswerRe: popup window Pin
John-ph10-Sep-07 1:13
John-ph10-Sep-07 1:13 
AnswerRe: popup window Pin
N a v a n e e t h10-Sep-07 1:51
N a v a n e e t h10-Sep-07 1:51 
QuestionHow to insert HTML string (with tags) in word and display as html Pin
here2learn10-Sep-07 0:33
here2learn10-Sep-07 0:33 
Questionhow do i store news articles? Pin
marvc19-Sep-07 23:46
marvc19-Sep-07 23:46 
Hi,

This is my situation, I have a ASP.NET website that has a mysql database behind it.

I can't work out how to store news articles.

Basically my news articles are written in MS word and saved as web pages, then changed to .txt files to give me the html code that will display the text the same as it is diplayed in the original word file.

But I can't store this html string in my mysql database using a gridview insert command to insert it. It doesn't like special characters. The mysql field type is text.


At the moment I am getting around it by just storing the .txt file name in the database, then finding it, and using StreamReader to read the html code. This works fine, but it means every news article has to be stored as a .txt file in the server file. I won't to be able to save this data in the database.

I don't won't to open a new page to display the news article.


Am I going about this the wrong way, is there a better way to store news articles?
Is there a way to insert the special characters into the mysql database using gridview?

Questionprevious page is error but still work.. Pin
hardyyanto9-Sep-07 23:39
hardyyanto9-Sep-07 23:39 
AnswerRe: previous page is error but still work.. Pin
John-ph10-Sep-07 0:37
John-ph10-Sep-07 0:37 
GeneralRe: previous page is error but still work.. Pin
hardyyanto10-Sep-07 5:03
hardyyanto10-Sep-07 5:03 
Questionexcel not working uniformly across machines with same os Pin
S Palip9-Sep-07 23:11
S Palip9-Sep-07 23:11 
Questionmake procedure to check balance > or < totalcost Pin
hardyyanto9-Sep-07 23:03
hardyyanto9-Sep-07 23:03 
AnswerRe: make procedure to check balance > or < totalcost Pin
John-ph10-Sep-07 1:27
John-ph10-Sep-07 1:27 
GeneralRe: make procedure to check balance > or < totalcost Pin
hardyyanto10-Sep-07 5:27
hardyyanto10-Sep-07 5:27 
QuestionUnmatched records from DataTables Pin
jayarajmrj9-Sep-07 22:55
jayarajmrj9-Sep-07 22:55 
AnswerRe: Unmatched records from DataTables Pin
PrakashBhaskar10-Sep-07 0:54
PrakashBhaskar10-Sep-07 0:54 
AnswerRe: Unmatched records from DataTables Pin
John-ph10-Sep-07 1:03
John-ph10-Sep-07 1:03 
Question[Message Deleted] Pin
Sreekumar P P9-Sep-07 22:41
Sreekumar P P9-Sep-07 22:41 
AnswerRe: MOSS 2007 Workflow Pin
John-ph9-Sep-07 22:55
John-ph9-Sep-07 22:55 
AnswerRe: MOSS 2007 Workflow Pin
Pete O'Hanlon9-Sep-07 23:00
mvePete O'Hanlon9-Sep-07 23:00 
Questionget image properties with javascript [modified] Pin
morteza579-Sep-07 22:25
morteza579-Sep-07 22:25 
AnswerRe: get image properties with javascript Pin
morteza579-Sep-07 23:29
morteza579-Sep-07 23:29 
QuestionIFRAME through ASP.NET with C# Pin
.NET- India 9-Sep-07 21:59
.NET- India 9-Sep-07 21:59 
AnswerRe: IFRAME through ASP.NET with C# Pin
John-ph9-Sep-07 22:48
John-ph9-Sep-07 22:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.