Answered Dynamic replace statement

Ehsan_dyn

New member
Joined
Sep 15, 2020
Messages
3
Programming Experience
10+
Hi
I have some issue with multiple dynamic replace statement.
For example : hello {map} world {news}
The content and tags from database and the administrator create with online control panel .
So I don't have any id about the content and tags actually is unlimited ...
My issue is find tags in the string and replace the tags with html code from SQL server database .
Thanks in advance
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
1,788
Location
Chesapeake, VA
Programming Experience
10+
Can you show us what you have tried so far?
 

Ehsan_dyn

New member
Joined
Sep 15, 2020
Messages
3
Programming Experience
10+
I want to use this method to create a template editor with rte .

I have 3 scenarios
1-dynamic replace statement for replace the tags with html code from database.
2-generate code in string variable and execute it in code behind like a code .
3-find the tags in string and replace it with user control.

The user write the string in rich text editor and submit it to SQL server .

The engine should get the string from database and replace the tags with user control or html code ...
Finally I need a dynamic template editor .
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
1,788
Location
Chesapeake, VA
Programming Experience
10+
Unfortunately, we are not a code writing service. We can help you with any programming problems that you may run into, but you have to show some effort and show us what you have done so far.
 

Sheepings

Senior Programmer
Staff member
Joined
Sep 5, 2018
Messages
1,518
Location
UK
Programming Experience
10+
Welcome to the forums.

If you don't have any of your own code to show for, and if you have no intention of doing the leg work yourself. Let us know if you want your topic moved into the job board forum where you may be able to hire someone to do the work for you?

Either that, or you need to show some code you've written and clearly outline your problems with that code. We only help people with code they have written. We don't write full featured apps unless you're offering a paid gig.
 

Skydiver

Staff member
Joined
Apr 6, 2019
Messages
1,788
Location
Chesapeake, VA
Programming Experience
10+
Ah, a copy-and-pasta coder...
 
Top Bottom