suggestion for .Net Framework

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi guys,
The .net framework is great. I have been programming on it for 1 year now.
I had a suggestion for adding a new datatype
There are times when the program needs to write a string chunk to the output, for ex. consider a asp.net application
I want to output a dynamic table...so i need to put in the html in the code behind

It is quite a hassle to put in the following in string
string htmlText = "<table border=\"0\">"
"<tr>"
"<td>"

What i suggest is that why not have a block in the code which is assumed to be text

stringBlock blkName
<table border=0><tr><td


and then you can refer to this text in your code..

this would simplify things so much..though i am not sure if there could be any securit
issues in implementation
Cheer
Rish
 
why not use
string s = @"<table border=0><tr><td>"

--
William Stacey, MVP

rishi kumar said:
Hi guys,
The .net framework is great. I have been programming on it for 1 year now.
I had a suggestion for adding a new datatype.
There are times when the program needs to write a string chunk to the
output, for ex. consider a asp.net application.
 
Back
Top