multiple

Joins with multiple fields on GroupBy table data in LINQ query/method

Urgent: I have to work out how to write the following SQL query usingLINQ query or method syntax. (Edit: This is to return a list of latest AgentActivities for all Agents). Any help will be much appreciated. SELECT a.[AgentActivityId], a.[AgentId], a.[ActivityId], a.[StartedAt], a.[EndedAt], a.[Version] FROM [dbo].[AgentActivity...

SQL: Creating new table from data of other tables

Hi, I'm very new to SQL and I hope someone can help me with some SQL syntax. I have a database with these tables and fields, DATA: data_id, person_id, attribute_id, date, value PERSONS: person_id, parent_id, name ATTRIBUTES: attribute_id, attribute_type attribute_type can be "Height" or "Weight" Question 1 Give a person's "Name", ...

How to encrypt multiple copies of an XML element within a single XML document

Hi again everyone. I have an XML encryption routine based on the MSDN article http://msdn.microsoft.com/en-us/library/sb7w85t6.aspx My code is here public static void Encrypt(XmlDocument Doc, string ElementName, SymmetricAlgorithm Key) { //////////////////////////////////////////////// // Check the argum...

Zeroclipboard multiple elements

Hi guys, I'm having troubles to create multiple unique code snippets with Zeroclipboard implementation on them, with the option to lunch a popup window after that code is clicked. basicly I have multiple < a class="xxx" href="popup.url.php" ><span >FRSDE3RD</a> tags. When a user clicks on these codes, I want to copy to clipboard the cod...

Iphone UIScrollView and multiple visible images

Hi! Im trying to implement a UIScrollView including multiple images, using paginate. The problem is that I want more then one page to be visible in the UIScrollView, but only one page should be selected. I found several solutions in which you handle touch down/up (touchesBegan and touchesEnded) myself and scrollRectToVisible, but I wa...

ASP.NET C# Search XML Node on multiple criteria

I am trying to search for an xml node: <Countries> <Country FullName="AFRIQUE DU SUD" Code="ZA" IsOut="1" /> <Country FullName="ALLEMAGNE" Code="DE" IsOut="0" /> </Countries> Selecting on the basis of CountryCode only: xmlDoc.SelectSingleNode("//Countries/Country/@[Code='ZA']"); How do I also apply the condition so that I can c...

Flex - Grouping Field on XML With Multiple Child Nodes

Hi, I have a Flex AdvancedDataGrid which is fed XML like this: <documents> <document> <name>Jake</name> <skills> <skill>Flex</skill> <skill>Domino</skill> <skill>ASP.NET</skill> </skills> <document> <document> <name>Trevor</name> <skills> <skill>Flex</skill> <skill>C++</skill> <skill>ASP.NET</sk...

multiple file upload control in mvc application

hello All, I am having multiple file upload control in my mvc application please tell me how shall I do the functionality? The files must get inserted into database at once . Please tell me how shall I do? If anyone one has ready code please post it Thanks Ritz ...

Select, where id = multiple from other select

I'm tired and I can't wrap my head around this. I have two tables: table menu @id = id, @nr = id of parent |======|======| | id | nr | |======|======| | 10 | 9 | | 11 | 10 | | 12 | 10 | | 13 | 10 | |======|======| table content @id = id, @mf = menu - first in tree, @mi = menu item linked to content |======|======...

create share menu and add images

Hello I've two questions for you, which i can't solve: 1) How do I create a menu like this --> . 2) How can I add multiple images like the iApp named HotBook do? . Thanks in advance for your help. Sean ...

How do you rate multiple attributes of the same object?

I've not seen this feature as a plug in and was wondering how to achieve it, hopefully using rails. The feature I'm after is the ability to rate one object (a film) by various attributes such as plot, entertainment, originality etc etc on one page/form. Can anyone help? ...

MVC Folder Structure for Project with Multiple Themes/Skin

I'm working on a project that has multiple theme/skin and is extensible via plugins. As it stands right now my folder is structured as such. vc/ controller/ home/ view/ classic/ home/ spring/ home/ plugin/ feedReader/ view/ locale/ template/ header.ht...

how to keep multi session live together

Thanks a lot and sorry for bothering.. I'm still a PHP rookie, I am having a few problems trying to understanding/finding out how to keep multi session live together works.. here my existing sessions e.g. session_start(); // If no session exists, create one if (!session_is_registered('lesson')) { $_SESSION['lesson'] = new lesson; } ...

CSharp How to generate/parse multiple XElements from a string

I have an XElement and I need to add more elements to it from a string. The string contains multiple xml elements in it that I need to parse. I have tried both XDocument.Load and XElement.Parse but get errors. The contents of the file are as follows: <menu id="a"> <menuItem keyID="0"> <command>test</command> </menuItem> <menu...

Uploading multiple files simultaneously with Flex

I have been working on a flex uploader, where the user can select multiple files. It works fine when the files are uploaded in a queue (one at a time), however as soon as I try to have it upload 2 files at once I run into issues. It seems that files will often lock up, and either stay at 1% until every other file is uploaded, or just n...

How to send messages to multiple users?

Essentially I have a basic Java Socket server as you can see below. It allows multiple users to connect and when they send a message to it, it returns it back. However I was wondering how I could edit it so if a user sends a message to it, rather than just sending it back it sends it to everyone connected? So a basic chat server. Any hel...

Select all/Unselect all is not working with dynamically genrated multiple select box

I have a dynamically generated multiple select box in which values are coming from mysql database and i want to give user a chance to select all values at once and unselect them at on click and this javascript code working fine in normal html case but not in this case... any guess any help... thanks in advance. ...

NSTableView with multiple columns

What is an easy way to set up my NSTableView with multiple columns to only display certain data in one column. I have the IBOutlets set up, but I don't know where to go from there. ...

Method of Multiple Assignment in Python

I'm trying to prepare for a future in computer science, so I started with ECMAScript and I am now trying to learn more about Python. Coming from ECMAScript, seeing multiple assignments such as a, b, c = 1, 2, 3 leaves me bewildered for a moment, until I realize that there are multiple assignments going on. To make things a bit clearer, I...

browser causing multiple button clicks

I have linkbutton that has the onclick event handler. The control is disabled as soon the user clicks but certain users are able to click multiple times. Not able to reproduce. Could it depend on the browser? Please help with any ideas ...