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

  • Home
  • SEARCH
  • 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 6999001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:29:03+00:00 2026-05-27T20:29:03+00:00

Im creating my own CMS in asp.net, I get the page content from the

  • 0

Im creating my own “CMS” in asp.net, I get the page content from the database and then create custom image objects and html content.
For example, I have one method called GetPageInformation(string pageName) and it returns a Dictionary of name value pairs, but I want it to return 3 image objects, and 1 string text (with html markup)… is that possible?

Or how can convert this database string value into objects?

(image path ; alt text ; link)
"~/img/home/homeimage.jpg;my alternate text;my href link"

field separator: ';' 
registry separator: '|'

Then I fill one object, just for example:

string[] images = myDBstring.Split('|');

PageImage.Path = images[0].Split(';')[0];
PageImage.AlternateText = images[0].Split(';')[1];
PageImage.LinkUrl = images[0].Split(';')[2];
//...

//PageImage derives from System.Web.UI.WebControls.Image 

Sorry for my bad english… thanks!

  • 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-27T20:29:04+00:00Added an answer on May 27, 2026 at 8:29 pm

    You may always return array of objects object[] or dictionary, ie. Dictionary<string, object>. However, I guess it would be better to create classes that meet your needs – ie a class that contains string with html content and array of images.

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

Sidebar

Related Questions

I am creating my own custom T4 Template that integrates with an ADO.NET Entity
I am creating my own custom content slider and am wondering what the best
I'm currently creating my own CMS and I have a hard question (I think
I'm creating my own custom WYSIWYG editor, and I'd like all HTML to be
I'm creating my own very basic Grid control. I've decided to derive from ScrollableControl
I'm creating my own 2D engine. I planned on just using the .net drawing
I am creating my own object: gridObject = new Object(); I am then using
I am creating my own custom object, and I am wondering if I need
I'm creating my own Facebook button by using the following istructions: http://www.kimwoodbridge.com/how-to-create-your-one-facebook-share-url/ However my
I am creating my own content provider. I supposed to choose unique name for

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.