Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to fill HTML table

Posted on 2008-10-31
3
Medium Priority
?
439 Views
Last Modified: 2010-04-21
I have a small website which receives a .PDF form, parses the data and stores it. I then want to provide an HTML response with some of the information parsed in the received form. It all works well except that I can't figure out how how to write the received data into my HTML form. I have a table with an ID and cells each with their own ID. How then do I put values into the cells?
0
Comment
Question by:tmostad
  • 2
3 Comments
 
LVL 12

Accepted Solution

by:
Munawar Hussain earned 1500 total points
ID: 22854526
hi,
seems you want to send response from windows form as you have not mentioned the platform, if so then just make a string of table structure and data.

like

Dim sb as new StringBuilder()
sb.Append("<Table id ="one" other propertiese that you want to set >")
sb.append("<tr> <td>" )
sb.Append( mydataForFirstColumnsInFirstRow)
sb.append("</td></tr></table>")

response.write(sb.tostring)

I can provide further details.. could you make it clear where you want to send reponse.. inside winform app? or are you in web app after receiveing a form want to send to another webform?
thanks

0
 
LVL 1

Author Closing Comment

by:tmostad
ID: 31512213
Actually that was enough to get me pointed ij the right direction. Thanks!
0
 
LVL 12

Expert Comment

by:Munawar Hussain
ID: 22855675
My pleasure!
-Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Screencast - Getting to Know the Pipeline
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question