How to create RowNum column in SQL Server?
In Oracle we have "rownum". What can I do in SQL Server? ...
In Oracle we have "rownum". What can I do in SQL Server? ...
Is there any trick to run .PHP files in windows XP from any folder by double clicking like HTML file ? I use XAMPP but in this we need to put files ina special htdocs folder. I want to run file from any folder, desktop by double clicking. ...
I want a function/code which will return the value that the user submitted for the field whose name/id is passed on to it. It shouldn't matter whether the field is a textbox, textarea, radio, or select. For example, the field could be: <input type='radio' name='a_21' value='test' id='a_21_0' /> <input type='radio' name='a_21' value='tes...
I'm writing a silverlight app that queries a web service to populate a tree control. Each element will have at least 2 levels of children, so something like this: a +-b +-c d +-g +-h e +-i +-j f +-k +-l The web service API is such that I can only get one level of child nodes at a time, so the first trip, I can get a,d,e,f. T...
Hi, assuming I have an idea for a pretty simple Web 2.0 startup that is likely to be fairly successful after say 12-18 months (during which it won't however make or cost much money, just hosting) because it fills a real void, where would I best be looking for talented developers who would possibly like to get involved in the startup on a...
On the current website I'm working on, I've got a directory of files for users to download which would be really nice to have some security method other than obscurity ;) I was wondering if there's any way to supply login information via PHP to htaccess as though a user were entering it. Alternately, if anyone knows a better way to sec...
We have a site which sits on two load balanced application servers (Win 2K3) which comprises a C#/ASP.NET app and a bunch of static content which changes on a daily basis. My question is, what's the best way to keep the static content in sync. In Win2K8 we'd be able to point both servers at a shared directory but not in Win2K3. Ther...
In my Django app, I have a model (lets call it Foo) with a field called "type". I'd like to use Foo.type to indicate what type the specific instance of Foo is (possible choices are "Number", "Date", "Single Line of Text", "Multiple Lines of Text", and a few others). There are two things I'd like the "type" field to end up affecting; the...
How do I get the choices field values and not the key from the form? I have a form where I let the user select some user's emails for a company. For example I have a form like this (this reason for model form is that it's inside a formset - but that is not important for now): class Contacts(forms.ModelForm): def __init__(self, *args...
Someone has used a configuration enabling the garbage collector optimized for multi-processor machines using Aspnet.config with : gcServer enabled="true" gcConcurrent enabled="true" There was improvement in the performance of your site? It was noticed a problem? ...
How does cakephp handle a get request? For instance, how would it handle a request like this... http://us.mc01g.mail.yahoo.com/mc/welcome?.gx=1&.rand=9553121_pg=showFolder&fid=Inbox&order=down&tt=1732&pSize=20&.rand=425311406&.jsrand=3 Would "mc" be the controller and "welcome" be the action? How is the rest...
I wish to rewrite a medium web application (70 php scripts). Currently, it makes use of PHP in a procedural way and I am more than sure the code is not efficient, extendable or scalable. My question is, for this scenario, which PHP framework shall I adopt it? I wish to be able to do this rewrite as quickly as possible, performance of t...
Browsers provide load events for <script> and <img> tags. Is there a way to detect whether a request to a element has completed? Specifically, I'm wishing to detect when a <link>'d stylesheet has been loaded. Unfortunately, I think using a sentinel style and detecting load from a computedStyle isn't workable in my situation. ...
I am looking for an XHTML 1.1 valid way to make a DIV into a clickable link. ...
I have been looking through java web frameworks lately (though this question need not be limited to java), and I noticed that most examples on web framework websites leave out auth & auth examples in their stock documentation. one ruby example: acts_as_authenticated (link?) grails has: http://www.grails.org/Authentication+Plugin Anywa...
I have developed a website in asp.net when I disable my internet connection it runs but otherwise when I am connected to the internet I get this error: ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://localhost:4719/IWS/ The following error was encountered: Connectio...
I am trying to formulate a selector to select a set of visible elements. Our application uses the Prototype JavaScript framework, version 1.6.0.3. The markup I'm working with is as follows: <ul> <li style="display:none;">1 Hidden</li> <li style="display:none;">2 Hidden</li> <li style="">3 Visible</li> <li style="display:none;">4 Hi...
I am working on a Math related web page and am looking for a solution to writing Mathematical equations easily onto a web page. There are several solutions readily available to me at the moment: Use LaTeX and publish them on my web page as images. Use MathML Both of these solutions aren't ideal and seem somewhat dated. Replacing what...
We currently facing some stability issues with our develop web application product. This product was built in part by our partner contractor, and we want to have a good standard metric for stability. The issues we have been facing is constant crashing. The web application is unable to identify when there are more request than it can h...
I'm writing a simple web application using CakePHP version 1.2 (the latest) and am having an issue with displaying the flash message from the Session helper. In my layout, there exists the following code: <?php echo $this->renderElement('flash'); ?> Which renders the following element: <?php if($session->check('Message.flash')): ?> ...