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 3309872
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T21:41:33+00:00 2026-05-17T21:41:33+00:00

So I want to put the files up on my local server, for reference

  • 0

So I want to put the files up on my local server, for reference purposes and aside from my regular DVCS because this will turn into training material later. But I want to be able to pretty format the SQL file. (Would be nice if it extended to C# code as well.)

I’m not sure what libraries do this already, and I’m willing to bet there’s a Javascript library out there that does EXACTLY what I need.

Needy whiny preferences ;): runs
with ASP.NET code, or in a jQuery fashion. eg: given

<div
class="tsql">SELECT * FROM ...</div>
— then maybe something like?
$('.tsql').prettify();

All I want to do is take the existing file, (maybe I’ll insert it inline in a code block as indicated above) apply coloring to it, and display it in a browser window. I’m not concerned about reformatting the file for me, I’m not concerned about hotlinking or API references or any of the like.

I would google it but my googlefu is weak today, and I know there are at least five people on stackoverflow that know just what I need.

EDIT: If you feel you have a better answer, feel free to suggest it below, I’m sure others will want to see something similar.

  • 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-17T21:41:33+00:00Added an answer on May 17, 2026 at 9:41 pm

    This seems to have C#, SQL, OracleSQL and an easy setup just as you described:
    http://shjs.sourceforge.net/doc/documentation.html

    Well at least google suggested it as first, hopyfully it won’t go crazy with T-SQL 🙂

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

Sidebar

Related Questions

I want to copy a file from a remote server to a local server
I want to put template files in defferent directories. (foo/, bar/) How do you
I want to list a names of the files and put them into String
I have a csv file : 1|1.25 2|23.56 3|58.99 I want to put this
I want something to put in my .htaccess file that will hide the .php
So the scenario is this: I have a mySQL database on a local server
I want to set up a local CRAN repository . I want to put
On a server, I used the svn import command to put files into SVN.
This question answers how to launch PowerShell from Windows Explorer. I want to launch
I am using WAMP as my local server and what I want to know

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.