Hi,
How to print a webpage in two columns or one column as per the user input/choice.
And when a take a print out I'm getting the website url on the top left side, How can we stop printing this?
Regards
I need to search on two fields using LIKE function and should match also in reverse order. My table uses InnoDB which dont have Full text search.
For example, I have users table with first_name and last_name column.
I tried this SQL statement but no luck.
SELECT CONCAT(first_name, ' ', last_name) as fullname
FROM users
WHERE fullname LIKE…
Hi,
Can someone explain this to me. From jconsole ...
from = new Date('01/01/2010')
Fri Jan 01 2010 00:00:00 GMT-0800 (PST)
thru = new Date('06/07/2010')
Mon Jun 07 2010 00:00:00 GMT-0700 (PST)
(thru - from) / (1000 * 24 * 60 * 60)
156.95833333333334
Why don't I get a whole number of days? How do I calculate the difference between two…
I want to find the greater of two numbers without using < > this relational operator.
I tried this
int a,b;
if(a/b==0)
{
b is greater
}
else
{
a is greater
}
but this not working for negative numbers.
I am creating a table ,in the table two column is unique, I mean columnA and columnB do not have same value:
such as :
Table X
A B
1 2(RIGHT,unique)
2 2(RIGHT, unique)
1 3(RIGHT, not unique)
2 3(RIGHT, not unique)
1 2 (WRONG, not unique)
How to create such a table?
many thanks!
I am trying to make an app that will pass data between two servers Connection1 and Conenction2 using sockets.What i would like to do is receive data from Connection1 and pass it to Connection2 and vice-versa.Connection1 and Conenction2 are on different threads. What is the best way to call methods on different threads in order to pass data…
Given a directed graph with weighted edges, what algorithm can be used to give a sub-graph that has minimum weight, but allows movement from any vertex to any other vertex in the graph (under the assumption that paths between any two vertices always exist).
Does such an algorithm exist?
Hi All,
Is it possible to bind a label content to two values. For eg, I want a single label whose content is displayed as below,
UserName= Firstname, Lastname
where Firstname and Lastname, both are values from database. If I would be using to labels I would bind as Content={Binding Firstname} for one and Content={Binding Lastname}
for…
Please help me make an oracle stored procedure ; I have two tables
tblLead:
lead_id Name
1 x
2 y
3 z
tblTransaction:
Tran_id lead_id date status
1 1 04/20/2010 call Later
2 1 05/05/2010 confirmed
I want a result like
lead_id Name status
1 x …
I have two versions of a product and am using separate Hg repositories for each. I have made a change to one (v1.0) and I want to pull just that change into the v2.0 repository. How do I go about this? As far as I can tell, using hg pull -f -r xxxxx \\server\hg\v1.0 will pull in all changes up to the specified revision which…
What is the best way to combine two uints into a ulong in c#, setting the high/low uints.
I know bitshifting can do it, but I don't know the syntax, or there maybe other APIs to help like BitConverter, but I don't see a method that does what I want.
My knowledge of mysql is not very in depth. If I have two tables that for example look like this:
Table1
Date v1 v2 v3
05/01/2010 26 abc 45
05/02/2010 31 def 25
05/03/2010 50 ghi 46
Table2
Date v1 v2 v3
05/01/2010 42 jkl 15
05/02/2010 28 mno 14
05/03/2010 12 pqr 64
How can I join them in a query by…
Hi all,
I need a c# lang code to merge two xml files into one, from the specified content.
XML FILE 1 :
<exchange-documents>
<documentlegal>
<bibliographic-data>
<applicants>
<applicant-name>
<name>CENTURY PRODUCTS CO…
Hi,
I am making an application for 3d ball balancing game on j2me, I need to move my 3d ball on my ball path. I can get both ball and path object as a mesh from m3g file.
How I will know that my ball is in the path or not ?
Is there any notification I can get for interaction of two meshes ?
Thanks in…
hi guys! can you help me with these codes: http://pastie.org/908345, its two sortable lists and I need to get the serialize parameter of those lists to be passed when I click the submit button but I always get "(an empty string)" on "console.log". I'm using jquery-ui for this functionality. thanks!
I have a need of implementing two apps that will exchange data with each other. Both apps will be running on separate PCs which are part of a LAN.
How we can do this in Delphi?
Is there any free component which will make it easy to exchange data between apps across PCs?
I've got two ms access .mdb files that I need to compare/merge. Any good tools out there for this? Any way to easily export both to ascii sql where I can use something like Beyond Compare?
Hi,
I want to create an xml element having two namespace as below:
element name="Root" xmlns:xsi="myXSI" xmlns:xsd="myXSD"
I have checked out with the existing APIs, but it is not getting in this form. I am getting as
Root xmlns:xsd:xsi="myXSI" xmlns:xmlns:xsd="myXSD"
I am using this APIss as below:
…
Hey, I'm just wondering if it's possible to have a form in html do two things on submit, have the action go to a url like normal (for a search) but also run a mysql command.
Thanks!
I have a table with primary key (ColumnA, ColumnB). I want to make a function or procedure that when passed two integers will insert a row into the table but make sure the largest integer always goes into ColumnA and the smaller one into ColumnB.
So if we have SetKeysWithTheseNumbers(17, 19) would return…
Hi all
In a switch view mode in iPad, is it possible to maintain the two views in landscape mode and also in portrait mode without having to use the popover?(Maybe just adjust the width of each views in portrait, instead of the popover) How would I do that?
Hi
What is the easiest way (an environment?) to have a paragraph with one or with two vertical black lines on its left?
I have no idea where to start from.
I have two arrays. I need to check and see if the elements of one appear in the other one.
Is there a more efficient way to do it than nested loops? I have a few thousand elements in each and need to run the program frequently.
-Alex
I have two eclipse directories, both are Galileo. One has plugin A installed, the another has plugin B. Now I want to have just one eclipse, is it save to just copy the plugins directory from one of the eclipses to the other?