hii..I want to edit single row.i used
$this-data = $this-BuildingProperty-read(null,$id);
but it didnt fetch the values of this id.
so what can i do. Give me any suggestion.
I'm trying to write a query to give me the total number of users for each customer per day.
Here is what I have so far, which for each customer/day combination is giving the total number of user dimension entries without splitting them up by customer/day.
WITH MEMBER [Measures].[MyUserCount]
AS COUNT(Descendants([User].CurrentMember, [User].[User Name]), INCLUDEEMPTY)
SELECT
NON EMPTY CrossJoin([Date].[Date].Members, [Customer].[Customer Name].Members) ON ROWS,
{[Measures].[MyUserCount]} on COLUMNS
FROM
[Users]
Anyone know of a web service or something out there that I could give a zip code and get a time zone back?
Or is that something I just need to write myself? If so, any hints or guides on how to do that?
I use visual studio 2008 and C#.
i have question can anybody give me link about cryptography with algorithms ?
thanks i need it very much in general i am using java language also it is possible in c++
but heart of site should be methods and theory part
I am trying to integrate paypal into my website using coldfusion, everything is working fine except the "return to merchants" url :( ..
The date displayed as the button is getting ad the return url :(
Please give me an idea what is happening there :)
I wrote a code to insert data .When ,i enter the value in the form and click submit ,the data is getting into database.
Now,i should make all those data to edit from from end and,if i click update button,it should be updated in database.
Give a snippet for performing this task.
Hi,
I have advanced datagrid with list of items is displayed.I am using keydown for selecting the rows.But the actual problem is when i am selecting the items after the 2nd item it should move to the 3rd item but instead of that its moving back to the 1st item.I have defined selectionmode property to singlerows even then the result same to be same.can any one give me the soloution.
I'm not sure how best to describe this (as you can clearly tell from the title) so I'll give you an example:
I have a multisite Drupal installation. Each of the sites' sitemap.xml files are located on the server at /sites/example.com/files though with a browser (and to search engines) it is accessible at example.com/sitemap.xml
I was wondering how this was achieved? Is this called Virtual Directory?
Thank you
I am converting a PHP MySQL web application written for English language into a Multi-Language site. Do you know any vulnerabilities that affect web applications in another language? Or perhaps vulnerabilities that could be introduced in the conversion of code base to support multiple languages. (If you know any vulnerabilities of this type in another programming language I'll give you a +1)
In Python, I want to make selected instance attributes of a class be readonly to code outside of the class. I want there to be no way outside code can alter the attribute, except indirectly by invoking methods on the instance. I want the syntax to be concise. What is the best way? (I give my current best answer below...)
DISCLAIMER:
THIS QUESTION WAS NOT MENT TO BE ARGUMENTATIVE!!!!!!!
What is fastest and less memory draining way of searching a key-value pair? I will be storing items in a key-value like relation and I need to access them quickly. Should I use a SQLite database? A Map? A Hashtable? A HashMap? Please give some advantages/disadvantages of using whatever method of searching.
Hi. Sorry about the vocabulary question but I can't find this anywhere: how do you call this below?
[assembly: System.Runtime.CompilerServices.InternalsVisibleTo("MyAssembly")]
Is it a statement, a directive, ... ? I want to indicate that you have to insert that line in order to give MyAssembly access to your assembly's internal members, but I'd like to use a more specific term than "line".
Thanks!
In traditional embedded programming, we will give a delay function like so:
for(i=0;i<255;i++)
for(j=0;j<255;j++);
In the microprocessor's view, is this how the sleep() function works?
Is there an alternative for the sleep() function in C?
I am using Solaris. I have to log into sql plus and run some queries, which give a huge result set.
I want to copy all that into a file. Is there any command for it in unix or sqlplus ?
i am using iphone simualator3.2. while i am placing the UIScrollview on the Imageview, the x,y coordinations doesn't displayed in the console. Please give me the solution to rectify this problem
Answer I need help with is:
Recall that paging is implemented by
breaking up an address into a page and
offset number. It is most efficient to
break the address into X page bits and
Y offset bits, rather than perform
arithmetic on the address to calculate
the page number and offset. Because
each bit position represents a power
of 2, splitting an address between
bits results in a page size that is a
power of 2.
i don't quite understand this answer, can anyone give a simpler explanation?
I have written this function in Scala to calculate the fibonacci number given a particular index n:
def fibonacci(n: Long): Long = {
if(n <= 1) n
else
fibonacci(n - 1) + fibonacci(n - 2)
}
However it is not efficient when calculating with large indexes. Therefore I need to implement a function using a tuple and this function should return two consecutive values as the result.
Can somebody give me any hints about this? I have never used Scala before. Thanks!
Hello All,
Please suggest me a query, which retrieves only those record which has the single row in table. For Example
table1.
name age
aaa 20
bbb 10
ccc 20
ddd 30
If I run "select distinct age from table1. result will be
age
20
10
30
But I need a query, which give the result like
name age
bbb 10
ddd 30
Thanks....
Hi,
I have a url like http://www.example.com/blah/th.html
I need a javascript function to give me the 'th' value from that.
All my urls have the same format (2 letter filenames, with .html extension).
I want it to be a safe function, so if someone passes in an empty url it doesn't break.
I know how to check for length, but I should be checking for null to right?
Does the method get called with a null value or does it give a null reference exception?
MyObject myObject = null;
myObject.MyExtensionMethod(); // <-- is this a null reference exception?
If this is the case I will never need to check my 'this' parameter for null?
Hi im a beginner so sorry for my question if it sounds naive.
I want to implement a thread that runs in the background and listens all the time. By listening i mean, say it keeps check on a value returned from main thread and if the vaue exceeds certain figure, it executes some method, or say exits the program.
If you could give me some idea or at least refer me to something useful, that'll be great.
Hi,
Does anyone know a library to compare addresses in Java ?
Something that would give equality on addresses, written in different ways.
For example, it should recognize that
"22 Acacia Avenue" and "22 acacia av."
is the same address.
Of course, this can escalate a lot, that's why i'm asking.
Thanks in advance.
Is this:
Box boxToFind = AllBoxes.Where(box => box.BoxNumber == boxToMatchTo.BagNumber);
Faster or slower than this:
Box boxToFind ;
foreach (Box box in AllBoxes)
{
if (box.BoxNumber == boxToMatchTo.BoxNumber)
{
boxToFind = box;
}
}
Both give me the result I am looking for (boxToFind). This is going to run on a mobile device that I need to be performance conscientious of.
Right now I have four customized QDockWidgets on the left side of my application. When you start the application, each one is visible, but very small because of the visibility of each one. I would like for three of the QDockWidgets to nest behind one primary one to give that one priority and the entire left side of the screen.
Does anyone know how to tell QDockWidgets to nest when they are created?