Hi guys,
I have a mxml with a form, and inside it, two TextInputs.
I hate having any piece of code inside the MXML file (I come from a Javascript formation) so I use a
mx:Script source="external.as" tag to include any code used in any MXML file.
The problem is that if I have this code on the external.as file:
private function popul...
Is it possible to use a Case statement in a sql From clause. For example, I'm trying something like:
SELECT Md5 FROM
CASE
WHEN @ClientType = 'Employee' THEN @Source = 'HR'
WHEN @ClientType = 'Member' THEN @Source = 'Other'
END CASE
WHERE Current = 2;
Edit: Using SQL 2005
...
After generating a report, change the settings in the JasperViewer window by selecting the "Fit Page" or the "Fit Width"buttons at the top. Select the Printer Icon in the JasperViewer and print.
The report does not fit to page while getting printed.
...
From my code I display an .aspx page with infragistics chart controls in it. I want to send out the same .aspx page as a PDF attachement through email without displaying the .aspx page on the screen. How can this be done.
...
The example from FormPanel's javadoc says:
"...Assuming the service returned a response of type text/html, we can get the result text here (see the FormPanel documentation for further explanation)..."
However the javadoc doesn't explain a bit about this topic. Has anyone found how to get the HTML response sent back from server after a ...
This is for an assignment...
I am to
Write SQL out to display Customer's Last name, order date, product ID, fabric of the product, quantity ordered, and unit price. This must be a 4-table join and must user INNERJOIN even if where can be used.
These are the tables involved.
Cus (CID, Last, First, Phone)
Orders (OrdID, OrdDate, ShipD...
Hi,
Can anyone please help me in converting the below nant script to MsBuild Script?
http://localhost//Tupe path="${triad_web_src_code.dir}\T.csproj" />
If it is not a web solution then I need not map the solution & the msbuild could be like this :
But this is not working fo...
Suppose we got a code like this:
IEnumerable<Foo> A = meh();
IEnumerable<Foo> B = meh();
var x =
from a in A
from b in B
select new {a, b};
Let's also assume that meh returns an IEnumerable which performs a lot of expensive calculations when iterated over. Of course, we can simply cache the calculated results manually by ...
Hi,
I am calling a webpage from a portlet. The webpage is a form for user to enter data and has a button which submits the user data into Database.
But the Button also redirects the portlet site to the webpage through the proxy Gateway.
How to stay in the same portlet page while having the Form data submitted to the database?
...
Hi,
I need to check if a particular string contains a a particular word for example to check if,
SultansOfSwing contains the word Swing.
Let me also mention that the value of the string in question is unknown. As in it can be any word so we do not know the length et cetera.
I understand I can do this by using the contains keyword.
Bu...
I am having an issue consuming a webservice (c#.net) from a WCF service.
The error i am getting is EndPointNotFoundException "TCP error code 10061: No connection could be made because the target machine actively refused it"
I wrote a unit test to check if i could send a request to the web service and it worked fine
[The unit test is usi...
Hello
i tray to take fist image from selected video in UIImagePickerController for show in UIImageView, but i do not know it's possible? if it is, how?
Thanks
...
Hi All,
Is it possible to make call from application without quitting the application on iphone.
...
Hi
I have a bunch of columns and some columns which are values I need to add.
Lets say I want to sum columnB (which could be $) where column A is banana, how do I do that?
Thing is I have a huge dataset and it is something that is going to keep changing. And besides banana, i might have apples, oranges, etc. And I want to sum the $ val...
If I could find a way to do something similar to this, I could cut out hundreds of lines of code in my application, and dramatically increase maintainability. Anyone have any ideas?
#include <stdio.h>
int main( )
{
#define include_all_files(root) \
#include #root "1.h" \
#include #root "2.h" \
...
hello guys,
i want to save a photo file from a given url to the documents folder of my app without giving it a filename just the url and it saves to disk, is that possible ?
or do i have to get the data from the url and then parse it as UIImage then save that image to disk and give it a filename ?
if there is no direct way, how can yo...
Hello. I am using ExtJS 3 here. I would like to populate a formpanel from database with fields to be submitted. Basically, I don't know witch fields my form will have and I want to generate all formpanel items from database. I could generate a JSON string to be passed as the response from the PHP file with the fields and everything but I...
hi, if i have an app written in objective c, is there a way to hide it from being shown in activity monitor?
...
I have a c# asp.net 3.5 app
I am trying to open a window from code behind after a certain event. I have this but its not working and there are no errors in firebug
protected override void OnPreRender(EventArgs e) {
base.OnPreRender(e);
if (openCredentialsWindow) {
if (openCredentialsWindow_ClientI...
I have an string input-buffer that contains html.
That html contains a lot of text, including some stuff I want to parse.
What I'm actually looking for are the lines like this : "< strong>Filename< /strong>: yadayada.thisandthat.doc< /p>"
(Although position and amount of whitespace / semicolons is variable)
What's the best way to get a...