Hello there,
I want to fetch data from separate tables in sqlserver and display them together in GridView, Is that possible? if so then please suggest.
Thank you.
Hello,
I just wanted to know if anyone knows about the clone of http://www.olx.com made in PHP.
Note: Not sure whether to ask this question here but I thought only programmers might tell as this is their business.
Thanks.
Hello.
This may sound easy, but I've been trying - in vain, apparently - to figure out how I can make a query with MySQL that checks if the value (string $haystack ;) ) in a certain column contains certain data ( $needle ;) ), like this:
mysql_query("
SELECT *
FROM `table`
WHERE `column`.contains('{$needle}')
");
In PHP, the function is called substr($haystack, $needle), so maybe:
WHERE substr(`column`, '{$needle}')=1
Thanks in advance!
Hello, I have an application that have EF 16 classes that share this information: They all are classes only with a key field and a description.
I think it should be a waste if I make a controller with just 1 method just to present a form to fill these classes info, then I was thinking in to make a generic form(with key, description) and dynamically fill the right class through a sort of selection the selected info in any way, any good suggestion or pattern to do that? Where the generic methods should be located.
hello
How does C++ determine implicit conversion/construction of objects few levels deep?
for example:
struct A;
struct B: A {};
struct C { operator B(); }
void f(A a);
f(C());
Does it create tree of all possible conversions and chooses appropriate terminal? Something else? Thanks
Hello,
I am using FacebookConnect on the iPhone to integrate my app with Facebook.
Unfortunatly I've always "cookies required" when trying to login.
Are you also encountering this issue or do you know what may cause this issue?
Thanks in advance for your help :)
Regards,
Hello,
I want to pass data to a server and store the file there in a database as binary data.
NSData *myData = [NSData dataWithContentsOfFile:pathDoc];
pathDoc = [NSString stringWithFormat:@"<size>%d</size><type>%d</type><cdate>%@</cdate><file>%c</file><fname>File</fname>",fileSizeVal,filetype,creationDate,myData];
Any idea about this?
Thanks you,
Milan
Hello,
I have to projects added to my Setup project in Visual Studio. I have added a shortcut for 1 of my 2 projects, which are included in this Setup project. The shortcut works fine, but i have 2 programs which i want to add Shortcuts for.
Is it possible to add 2 Shortcuts, 1 for each of my 2 projects?
Hello everyone i am new to i phone development i have a requirement that my email us field is coming from webservice on tapping it the iphones email composer gets open if i want to add a button on iphones in built mail composer i could i do that please guide me to do that a sample code would be a boost
Hello All,
Let's say i have the Following,
Vegetable=Potato ( Kind of vegetable that i have )
Potato=3 ( quantity available )
If i wanna know how many vegetables i have (from a script where i have access only to variable Vegetable), i do the following:
Quantity=${!Vegetable}
But let's say i take one Potato then i want to update the quantity, i should be able to do the following:
${Vegetable}=$(expr ${!Vegetable} - 1)
It does not work !!
Any clues to realize this
Thanks
Hello,
Im using Collections.sort() to sort a LinkedList whose elements implements Comparable interface, so they are sorted in a natural order. In the javadoc documentation its said this method uses mergesort algorithm wich has n*log(n) performance.
My question is if there is a more efficient algorithm to sort my LinkedList?
The size of that list could be very high and sort will be also very frequent.
Thanks!
Hello,
does it exists a Software/Batch/Something for Windows OS that could access the web and download a file (like a xml) in a specified folder, recursively in time (like 1 time a day)?
Hello.
Whenever I close OpenGL window it makes ghci console from which the app was started to immediately disappear. Is there a way to prevent this behaviour? A sample app.
Thanks.
Hello.
My company is deploying an embedded software/hardware product. We have beta testers lined up who will test the product in the field.
We would like a system of keeping track of the feedback we receive from these users. Perhaps some sort of ticketing system?
I've looked at Zendesk as a possibility.
Thoughts?
Thanks,
Jason
Hello,
With a jQuery UI dialog, I need to be able to set tooltips on buttons... I have the following code:
buttons: {
'My Button' : function(e) {
$(e.target).mouseover(function() {
alert('test');
});
}
This allows me to do something on "mouseover" but only once the button has been clicked. What do I need to do in order to make this function before the button has been clicked?
Thanks
Hello,
I want to encode passwords for UNIX accounts using the crypt function. I'm using pharo 1.0. I tried to install the crypto package from squeakmap, but it gaves me an error and the package seem to get partially installed (categories without class).
How can I get my password crypted? I'm willing to invoke external code, if it is required (and there's a package in SqueakMap that makes the trick in pharo).
Thanks.
Hello there, I have written some general functions to convert between decimal and any other base-n number system(n<=36 for now) and vice-versa. Don't want to make things messy here so i have posted the code here.
Could anybody suggest any better way for this? May be more effective and Rubyish?
Thanks
Hello,
I'd like to create this object...
object = {
'object[1][var_name_1]' : 'value1',
'object[1][var_name_2]' : 'value2',
};
I'm trying to it this way, but I'm getting error missing : after property id...
function getPrefix() {
return 'object[1]';
}
object = {
getPrefix() + '[var_name_1]' : 'value1',
getPrefix() + '[var_name_2]' : 'value2',
}
What am I doing wrong? Or maybbe it is impossible to set object property name using js experession?
Thank you
hello i need program which returns sum of all even number <= to given n number
for example if n=even (let say 10) sum will be 2+4+6+8+10 or if n is odd (let say 13)
2+4+6+8+10+12 please help it should be recursive algorithm
Hello,
I'd like to start with TDD in ASP.NET NVC. Getting links pointing me to some ressources for absolute beginners on that matter would be helpfull. (why, when, how to write tests).
Also, some advices on how to tackle the subject are welcomed.
Thanks for helping
Hello all.
I've noticed that some form processors make a mess out of posted TinyURLs (converting the thing to a broken 'tinyurl": "http:\/?\/?tinyurl.com\/?whatever", "ok": tr') while leaving alone other plain URLs.
I've seen it happen in WordPress, and I've seen it here on SO (eg.: http://stackoverflow.com/questions/2508690/whats-the-most-efficient-way-to-setup-a-multi-lingual-website - second comment to first answer).
Has anybody looked into what component or function is doing this? Is there a way to prevent it?
Hello, I have a web application coded in C#/ASP.NET. The application basically exports a PDF file when the user click on Save. It then reloads a DIV, putting the EMBED (with the src pointing to the newly generated pdf file) in it. Sometimes the embed area just gets black and I get this window from Acrobat Reader: http://img180.imageshack.us/img180/3359/acreader.jpg. What does it mean? Has anyone ever see this?
Hello,
I am using Google Docs in my project using its API.
I am loading docs in modal window iframe using http://fancybox.net/ a jquery plugin
It works fine but when in Google Docs Save and Close button is press, it closes the iframe and redirects the current page to Google Docs, So is there any way I can prevent the redirection to Google Docs and just close the modal window?
Thank You.
Hello,
I want to add a column to a gridview which contains button control. I am using ID(integer and primary key) as the 1st column of Gridview. What I want is that when a user clicks the button on any given row of gridview, I want to able to determine the ID of the row to which the clicked button belongs
Vam Yip