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 put my dependent files in the app directory. I seem to
I deleted a file from a repo and now want to put it back.
I want to put random output from my result set (about 1.5 mil rows)
i'm trying to download .zip file from bluehost server to my computer. Like this
I want to put my JSF 2.0 xhtml files under WEB-INF\jsf. How do I
I want to use a temp directory that will be unique to this build.
On a server, I used the svn import command to put files into SVN.
On Apache/PHP sites if I want to put a senstive file within my website
I have a page layout for my MOSS '07 site that I want put
I want to put a copyright notice in the footer of a web site,

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.