Hey,
Sorry if this seems a little crazy but ive been messing around with NHibernate for a while and have come accross a scenario that may not be possible to solve with NHibernate...
I have 1 database that contains a load of static data, imagine it like a huge product lookup database, just to point out this is an example scenario, my ac...
ASP.NET 2.0. Lets say i have two Validation Groups valGrpOne and valGrpTwo; and two Validation Summaries valSummOne and valSummTwo; Reason for breaking up sections is purely aesthetic. One submit button which triggers validation on both groups.
Now i want to trigger Client-Side validation, AND want BOTH validation summaries to display a...
Hello stackoverflowers,
I have a straightforward question.
I am doing a web application that uses MySQL, and I am currently designing it. I just have a small question about performance.
I would like to know what is more efficient:
Scenario #1:
Table: Restaurant
-Name
-City
-Province
-Country
-Continent
sql =...
how can insert data into a multiple base table view without using a stored procedure
...
I would like to know which item in select list was last clicked
I have select drop down like this
<select id="selectId" multiple="multiple" onchange="">
<option value=1>Value 1</option>
<option value=2>Value 2</option>
<option value=3>Value 3</option>
<option value=4>Value 4</option>
</select>
I would like to know, which item from se...
Given the following model, I want to index the fields (sequence,stock)
class QuoteModel(models.Model):
quotedate = models.DateField()
high = models.FloatField() #(9,2) DEFAULT NULL,
low = models.FloatField() #(9,2) DEFAULT NULL,
close = models.FloatField() #(9,2) DEFAULT NULL,
closeadj = models.FloatFi...
Hi, I'm still new to programming so excuse me if this is silly. I'm programming a simple game and require multiple timers to send different messages at different intervals, so when creating the game, the following is called:
[self gameTimerValidate];
[self scoreTimerValidate];
- (void) gameTimerValidate
{
gameTimer = [NSTimer scheduled...
Hi everyone,
I'm writing a view based app, but I'm a bit confused about loading my views. I'd like to have four different views loaded at the same time in the same window. I can't seem to figure out how to do this. I'd prefer to do everything programatically rather than with the interface builder if possible.
My 4 views are: a UI...
So, i have
<a href="#">R<span class="superscript">5</span></a>
and the underline for my anchor is broken (meaning the underline for the R is at the baseline, and the underline for the 5 is in the middle of the R -- because the 5 is small), which i don't want. How do i get the anchor underline to be one unbroken line under both the R a...
Hello!
I have a table that stores articles, like the example:
Article table:
ID #CategoryID #Text #Date
So on the page I have different sections and each section has its own categoryID. For example, sports is 1, news is 2 etc.
Now I want the possibility to load the latest article from x number of categories. I have an SP that takes ...
I'm trying to write a generic VB.NET (VS2005) function to validate an XML document against an XSD. This works fine until I use an XSD with a relative path include like:
<xs:include schemaLocation="test.02.xsd" />
It can never seem to find what is included in any secondary documents. Here is my original function below. I've been pla...
Strange thing...
I have a binding definition user-wrapper.xml:
<binding>
<include path="core-wrapper.xml" />
<include path="user-composite-entity.xml" />
<mapping name="users" class="UserWrapper" extends="CoreWrapper">
<structure map-as="CoreWrapper" usage="optional" />
<collection field="users" usage="optional" ...
I have two sets of files with newspaper articles in them; about 20 files with about 2000 articles, and 1 file with about 100 articles.
The 100 articles in the single file should be disjoint from the others, but are in fact duplicated randomly throughout the 20 files (once each).
Any ideas for an easy way to find and remove the 100 dupl...
Hello,
While creating any iPhone application, which is the best way in terms of UI design (considering the end user view perspective), to provide multiple choice options to user, from which he/she can choose one option. The UIPickerView controller is available but not efficient enough in terms of UI display.
Also the controls available...
Hi,
I am new to JQuery and maybe am missing the obvious, but how can I filter a table using the contains selector but have it look for multiple strings using an OR operator. In other words, I would like rows containing "Red" OR "Yellow" to be hidden.
So far I have this which works by hiding all rows except the given date:
$(function()...
I have a strange problem that I want to show multiple graphs at run time and some times a single chart. Kindly suggest me a flexible layout because in future there will be more charts.
currently im using grid im not sharing my code because it is all messy but I am showing you its layout that i achieved with grid layout.
...
Hi all!
I got a c++ non-blocking server socket, with all the clients stored in a std::map structure.
I can call the send() method for each clientObject to send something to the connected client and that works pretty good already.
But for sending a message to all (broadcast?) i wanna know:
there is something better than do a for/loop w...
I am trying to assign two different strings to two different variables dependent on two booleans in Ant.
Pseudocode (ish):
if(condition)
if(property1 == null)
property2 = string1;
property3 = string2;
else
property2 = string2;
property3 = string1;
What I've tried is;
<if>
<and>
<not><isset propert...
I wanted an entire page of text(multiple lines) in my settings similar to the one on iphone:
settings->general settings->About->Legal
I have not been able to do so. I tried entering title in PSGroupSpecifier, it gives me multiple lines but with a gray background. i wanted a white background.
Any help would be highly appreciated.
Thank...
So I basically wanna display this (whole row in ONE column):
I like [type column] cake with [icing column] and a [fruit column].
The result should be:
Cake_Column
I like chocolate cake with whipped_cream and a cherry.
I like strawberry cake with vanilla_cream and a lemon_slice.
etc.
etc.
I need some sort of TO_CHAR statement tha...