mySQL Database to a TextArea?

From: Rich Wahl (phantomrogue_at_gmail.com)
Date: 08/24/04

  • Next message: Lee Fesperman: "Re: mySQL Database to a TextArea?"
    Date: 24 Aug 2004 14:01:27 -0700
    
    

    I have a little program here that uses JDBC to connect to a mySQL
    server. (Doesnt connect remotely yet :) ill cross that bridge when I
    get there, still new to sql servers and if everyone needs a user/psw
    or whatnot).

    My question is as follows, Is there a way that I can 'import' the
    formatting of a SQL output (with all the plus's and auto formatting of
    columns to accomodate the largest name/number in that column. As of
    now, I just have a Label above a TextArea and have the inputs being
    read and a constant format as its outputted. (Using tabs and spaces)
    But it looks very sloppy, as not all names or values are the same
    length.

    Is there a documentlistener or outside source that I can get that kind
    of formatting? Would really make this program look nicer and not rely
    on the length of names and spaces.

    Thanks in advance.


  • Next message: Lee Fesperman: "Re: mySQL Database to a TextArea?"

    Relevant Pages

    • Re: FTP Tagging anyone?
      ... > secured against various different kinds of vulnerabilities, ... formatting the system is probably not necessary. ... baseline server looks like, so they can't tell what is and isn't suspicious ... this depends on your security needs. ...
      (microsoft.public.inetserver.iis.security)
    • Re: Set based solution
      ... There are two major arguments, at least in my mind, against doing reporting ... The server has very finite limits on the resources ... hundred boxes doing formatting locally rather than a single box doing the ... SQL, and T-SQL, is not a general purpose programming language. ...
      (microsoft.public.sqlserver.programming)
    • Re: Can I rename the home page from index.htm?
      ... formatting just does not convert to html. ... It turns out that the problem was with my server. ... info out to me so I have been continueing to upload as I had been before. ... I see that the address bar reads correctly as reikibc.com, but the tab ...
      (microsoft.public.publisher.webdesign)
    • Re: Can I rename the home page from index.htm?
      ... formatting just does not convert to html. ... It turns out that the problem was with my server. ... info out to me so I have been continueing to upload as I had been before. ... I see that the address bar reads correctly as reikibc.com, but the tab ...
      (microsoft.public.publisher.webdesign)
    • Re: Set based solution
      ... coding off the database server, then it is worthwhile doing it. ... I'd argue that formatting things that differ from country ... > And SQL IS a data manipulation language, hence my problem with not using ...
      (microsoft.public.sqlserver.programming)