Hi Everyone,
Sorry if this was asked before, I googled everywhere with no luck.
Here's my problem: I'd like to drag and drop rows within a JTable. I cannot get it to work without first selecting the row, which is annoying, I'd like to get a similar behavior the Windows explorer has : if I single click on an item and start moving the mou...
I am looking for a single MYSQL script to convert ALL column names in a database to lowercase in one go...
I have inherited a MYSQL database that has a lot of mixed case column names (150 tables with a strange naming convention) and I don't want to go through manually each table by table to do this.
Has anyone got such a script?
Thank...
Hi there, I'm trying to figure out a way of being able to click a link in a sidebar and skip straight to a single page if there is only one post in a category.
This is the website I've built for the company I work for. For example. If you click on the "Kings Theatre" link in the sidebar (under "browse by client") it goes to a category p...
All the browsing to this particular website should happen within the instance it was logged-in from...it should not allow side-by-side browsing if opened in a new tab or a new window. In other words if I am already browsing (and logged-in), and decide to open an new tab/window to browse the same site...my server should trap this, and rep...
Hi all,
We currently have a rapidly growing C# codebase. Currently we have about 10 projects, split up in the usual categories, common/util stuff, network layer, database, ui components/controls etc.
We run into the occasional circular dependency where project x depends on something in y and vice-versa. We are looking at maybe collap...
I have two similar tables:
Table1:
[ id ] | [ name ]
Table2:
[ id ] | [ name ]
and I need to read/write data using only one class:
public class TwinTable
{
public virtual int Id { get; set; }
public virtual string Name1 { get; set; }
public virtual string Name2 { get; set; }
}
Plus one of the tables may or may not have...
Are there any situations where it would make more sense to use a single datatype instead of a double? From my searching, the disadvantage to a double is that it requires more space, which isn't a problem for most applications. In that case, should all floating point numbers be doubles?
A little background info:
I'm working with an app...
I am in dilemma situation. I am not sure if its a good idea to separate the users table. I notice my game highscores table performances, as the numbers growing, the loading is getting slower and slower.
My current users table store all users, which currently about 10k users. I am thinking of splitting the users table (for future) into l...
Hello Friends,
Is it possible to put multiple requests without breaking the connection using python httplib?.
Like, can I upload a big file to the server in parts but in a single socket connection.
I looked for answers. But nothing seemed so clear and definite.
Any examples/related links will be helpfull.
Thanks.
...
I need to use a richtextbox, not a normal textbox because of the way it keeps the caret position, from line to line. But I need to keep the text at the same font all the time even if it is pasted.
At the moment I have it selecting the entire text and changing the font to the original (Lucida Console) but it look horrible when you paste ...
Hi all,
I want to generate a single dependency file which consists of all the dependencies of source files using gcc -M flags through Makefile. I googled for this solution but, all the solutions mentioned are for generating multiple deps files for multiple objects.
DEPS = make.dep
$(OBJS): $(SOURCES)
@$(CC) -MM $(SOURCEs) > $(DEP...
I have a single that might have a decimal place but might not.
I have to put the digit before the decimal into the first 4 bytes and the digit after in the next 4 bytes.
So 1.1 would be 01-00-00-00-01-00-00-00
or 2.1 would be 02-00-00-00-01-00-00-00
or 1 would be 01-00-00-00-00-00-00-00
The digit before the decimal point is stored like ...
document.getElementById("img").innerHTML="< img src='/sitepath/"+imgg+".jpg' width='72' height='44' onclick='alert('hello');' />";
The above code is my javascript. Problem is printing hello or any other string. If I just type 123 in place of hello, it does give alert. But am not able to use a string like hello there. Normally a string ...
Hello guys,
I have this rather classic problem when interacting with databases of handling single quotes and special characters. In PHP I am escaping the single quote with another single quote and regex syntax characters with preg_quote and they are working as a pro. The problem is with javascript, there are some points in my s...
Hi guys. I'm having an issue with modal search. Modal pop up shows ok, but after "reset" or "find" is clicked the modal functionality disspear and although search box remains active you can click into jqGrid. Don't know if is a problem with the overlay. Ideas?
jQuery("#listNoticias").jqGrid({
url: '<%= Url.Action("ObtenerDa...
Hi - I'm trying to ignore a file in my project with .hgignore, and just can't figure it out. The file is located in app/views/patterns/_changes.erb (relative to the root of the project, where .hgignore is), and nothing I try seem to work:
#.hgignore
syntax: glob
app/views/patterns/_changes.erb
*changes.erb
public/files/* # this works
...
I have a dataset which has a daily count spanning over several months and I want to create a graph showing the daily counts however I want to have a separate chart for each month. Is this possible to do by isolating each month?
For example if I have
2009/1/1 45
2009/1/2 21
2009/1/3 11
2009/1/4 11
2009/2/1 34
2009/2/2 45
2009/2/3 11
200...
Hey there,
I have a CATEGORIES table that links to an ITEMS table (one to many). Each item table could have multiple barcodes in the BARCODES table (one to many).
The idea is that a new barcode may be added against an item at some point, but the old data is stored in the BARCODES table so that if a search is done with an order with las...
Hello everybody,
I am new to parallel computing world. Can you tell me is it possible to run a c++ code uses MPI routines in my laptop with dual core or is there any simulator/emulator for doing that?
Thank you.
SRec
...
I need a javascript solution to launch only one window, with a Java Applet in it, for a given URL. I found a solution posted here on Stack Overflow -
here: http://stackoverflow.com/questions/528671/javascript-window-open-only-if-the-window-does-not-already-exist
But it doesn't seem to work .. I get
Error: launchApplication.winrefs is ...