Form field place holders in strings

Discussion in 'ASP .Net' started by Andy B, Jun 15, 2008.

  1. Andy B

    Andy B Guest

    If I have the following text in a dataset table column: "This agreement
    establishes that {BandName} will play on {EventDate} between {StartTime} and
    {EndTime}..." How would I then take the field names {BandName}, {StartTime},
    {EndTime} and {EventDate}, match them up with actual dataset table column
    names, and show the actual values instead of the placeholders on the final
    page output? I know this would probably require some string parsing and
    stuff, but I need some good direction here. The other thing is that this
    whole thing is totally dynamic. I wont know any of the text or placeholder
    names (or table column names) in advance. These forms are being creating
    from a wizard control (including what form fields are used). Any ideas on
    where to get started?
    Andy B, Jun 15, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.