Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6754323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:15:58+00:00 2026-05-26T13:15:58+00:00

I am working on a module at this moment using which we are planning

  • 0

I am working on a module at this moment using which we are planning to generate dynamic text on the pages accroing to stored values in the database. So that would be something like Key-value pair in the database.

In this case, I have created a table in the back which will hold all the Key-value pairs in the back. All the Aspx pages would have only keys contained at the design time and at the run time it would be replaced by values. according to what is defined in the database.

But here, I am wondering how would I be able to adentify all the keys on the page? I am not sure what is the industry standard to achieve something like this?

I mean I can use some patter like [key]( with two square brackets) or may be a label control?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:15:59+00:00Added an answer on May 26, 2026 at 1:15 pm

    Since you’ll only need the keys for some backend logic (apparently); you can put all the keys on a hidden element and access it from code behind like this:

    <asp:HiddenField
        ID="hdnKeys"
        runat="server"
       Value="key1,key2,key3"
    />
    

    On code behind you can set/read the values by simply doing:

    hdnKeys.Value="such and such";
    
    string keys = hdnKeys.Value;
    

    Now, be aware that this is not safe; nothing is to prevent the user from changing the key values on the client side before submitting the form. It’s up to you to decide whether this is a concern or not.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currenty I'm working on a webshop using an auction module. This auction module has
I'm working on a module for a CMS. This module is distributed as a
I'm a LAMP guy and ended up working this small news module for an
We are working on a module in which I gave the xpos, ypos, windowhandle.
I'm working on a Rails application. I have a Module called Animals. Inside this
I am working on a project using Drupal 6 (6.11 at the moment, haven't
Im working on DotNetNuke BTBRandomImage module and this a custumization of the module to
I am working on asp.net website with sql database which provides membership support. After
I am using a Magento extension to control my color swatches. This module also
After many hair-pulling frustrations I've finally got one version of the PerlMagick module working

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.