instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
In C# it's possible to cast to List<T> - so if you have:
List<Activity> _Activities;
List<T> _list;
The following will work:
_list = _Activities as List<T>;
but the translated line with VB.NET which is:
_list = TryCast(_Activities, List(Of T))
throws a compilation error. So I've had a good hunt around and experiment... | stackexchange/codereview |
Working with asp.net, and I am trying to find a way to change default ENTER key press target on client side. Based on something like the currently focused div or input.
The target would be asp.net button controls with postback event.
Looking for solution for both IE and Firefox.
I am also using WebForm_FireDefaultButt... | stackexchange/codereview |
Is there a definitive place to find order of operations for mySQL statements? Is the below order correct?
FROM clause
WHERE clause
GROUP BY clause
HAVING clause
SELECT clause
ORDER BY clause
If this is the case, can I use a term defined in the SELECT clase (select first_name as "f_name") within the group by clause?
Th... | stackexchange/codereview |
Windows 7 (64 bit), Acrobat Pro 9.4(32 bit), FF 3.6.11(32 bit)
In Firefox, I briefly see the JS console flash and then vanish... but it stays empty.
IE will show the JS console if it's already open, and displays a brief error message and then crashes Acrobat: "Exception in line 18 of function top_level, script Page:Op... | stackexchange/codereview |
what is the difference between logical right shift and arithmetic right shift?
| stackexchange/codereview |
I'm importing a CSV from DB2 into MySQL, all goes well until half a million rows in I encounter \" from a column with encrypted data.
Here is an example:
100,"foo","bar","µ┬;¬µ┬;→ºµ┬;Öì\"
101,"foo","bar","$⌠ù¶∙$∙µ┬µ┬;→ºµ┬;Öì"
When fgetcsv parses this, it escapes the last double quote and includes the next line as if i... | stackexchange/codereview |
I would like to know more about what makes the GUI on *NIX systems work, but not quite sure where to begin the research. From my understanding, the X server is what makes all the visuals possible, and atop that there are the various UI environments like KDE, Gnome and others.
But, for instance, I have always thought t... | stackexchange/codereview |
I have a view called Associations that has a drop down list and a button. When the user selects an option and presses submit, I want them to go to Association/{associationKey}. Association needs to work on get and post.
Currently, with the code below, when the form is posted, it DOES go to Association and displays th... | stackexchange/codereview |
Can someone point me to some code/tutorial on how to upload pdf files and store them, then moreover how to use a pdf reader to display the file as read only in an asp.net application.
Is there a PDF reader already in the visual studio toolbox?
| stackexchange/codereview |
My app. is in C# 2008 and back-end is SQL Server. A table in my database has following columns:
TotalAmount
Discount
SpecialDiscount
Tax
NetAmount
I want my app. to be customizable by the user. A user can create a formula from the above columns to calculate NetAmount according to his need.
For example: One user may use... | stackexchange/codereview |
If I have:
class Post
include MongoMapper::Document
has_many :comments
end
If I do:
class Comment
include MongoMapper::EmbeddedDocument
belongs_to :post # relevant part
end
Does that create an association using _root_document/_parent_document, or do I have to add the (redundant) key :post_id?
| stackexchange/codereview |
This is something that I've been questioning for some time. How would I create a variable at runtime as named by the value of another variable. So, for example, the code would ask the user to input a string. A variable would then be created named after that string with a default value of "default". Is this even possibl... | stackexchange/codereview |
I have an implementation of uploadify running on top of a PHP application. It was working just fine on my test machine. However, I just uploaded it on to my production machine and it is failing. Uploadify correctly replaces the input field and presents the button. However, when the button is clicked nothing happens... | stackexchange/codereview |
I have a assignment question.
How to integrate Sql Server Reporting Service (SSRS) with visual studio?
i know that when you have installed BI tools it's possible to create SSRS reports as a Visual Studio Project. I'm not sure about the answer to the above question. Can some one help me regarding this.....
| stackexchange/codereview |
ihave write the following code
but it does nothing in consloe it shows Unknown scheme, doing nothing
[webview setDeleagte self];
[webView loadRequest:[[NSURLRequest alloc] initWithURL:[[NSURL alloc] initWithString:sourcelinkStr]]];
| stackexchange/codereview |
As many browsers do not show tooltips on disabled form elements (as Opera does), I decided to emulate disabled button with jQuery.
When disabling I just set control's class to disabled and for buttons/submit controls I add an event handler click(function(){return false;})
and I can unbind it later when reenabling the ... | stackexchange/codereview |
there is text but you cannot select it
check this out
How to achieve this?
| stackexchange/codereview |
On page http://developers.facebook.com/docs/reference/rest/, it says
Note: We are currently in the process
upgrading our core server API from the
old REST API to the more modern Graph
API. Most of the methods required for
canvas applications to integrate with
Facebook have not yet been upgraded to
the new ... | stackexchange/codereview |
For redirecting every request on my server to a secure connection I use
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mywebsite.com/$1 [R,L]
which works perfect.
However I need two paths not to be redirected.
Say when I access
http://www.mywebsite.com/page1/test
http://www.mywebsite.com/page2
I want to go... | stackexchange/codereview |
I have narrowed down the culprit to either a SPAN or a DIV in lines 27-33 but cant quite get it... if i remove the span that makes the font below the press muted, it fixes the spacing issue at the top of the page but makes that text way to large
u.neighborrow.com/items/indexb
<div id="slide_one" class="bg"><!--slide #... | stackexchange/codereview |
Example Mercurial URL: ssh://myhost//path/to/repo
Why two slashes? The hostname is already specified. Why it does not work like http://myhost/path/to/page where only one slash is sufficient?
| stackexchange/codereview |
I have a contour plot in ggplot2 that I want to map one point to.
My contour plot looks like this:
v = ggplot(pts, aes(theta_1, theta_2, z = z))
v + stat_contour(aes(colour = ..level..),bins=50)
+ xlab(expression(Theta[1])) + ylab(expression(Theta[2]))
and I have a point that looks like this:
p = ggplot(ts,aes(x,y))
... | stackexchange/codereview |
I'm using an API that processes my files and presents optimized output, but some special characters are not preserved, for example:
Input: äöü
Output: äöü
How do I fix this? What encoding should I use?
Many thanks for your help!
| stackexchange/codereview |
I need to create a trigger, that will change Border background property, when MouseEnter occurred. I did the follow:
<Border Width="20" Height="30" Focusable="True">
<Border.Background>
<LinearGradientBrush>
<LinearGradientBrush.GradientStops>
<GradientStop Color=... | stackexchange/codereview |
I'm new to the Entity Framework, and I know this is not suppose to happen, but maybe it is a known issue in the community so I thought I'd ask.
I created my model with 2 entities. When I wanted to create the database tables Visual Studio froze on me. I ran the script myself but then I needed to modify an attribute so i... | stackexchange/codereview |
You have regular users that use your website/services, they can login to mainsite1, then you have developers, that can not login to mainsite1, but can login to developercenter1. Do you:
1) Store every type of users into 1 large USER table then assign different roles?
or
2) Create a completely separate table just for ... | stackexchange/codereview |
How would I use the accelerometer in WinPho7 to detect shaking the phone and have that trigger an event. For example, to roll dice, you would shake the phone.
| stackexchange/codereview |
+----+--------------+------+--------+---------+---------------------+-----------
| Id | ip | uri | status | browser | time |refer ..........
+----+--------------+------+--------+---------+---------------------+-----------
int varchar varchar int varchar timeStampe ... | stackexchange/codereview |
Let's say there is:
{username : "tom1", address : { type : 0, year : 2001 }}
{username : "tom2", address : { type : 1, year : 2011 }}
{username : "tom3", address : { type : 0, year : 2031 }}
{username : "tom4", address : { type : 1, year : 2002 }}
I'm using Java Driver, how can I query:
users who's address.type = 1 AN... | stackexchange/codereview |
In Python I defined these functions:
def foo_1(p): return p + 1
def foo_2(p): return p + 1
def foo_3(p): return p + 1
def foo_4(p): return p + 1
def foo_5(p): return p + 1
I want to execute these functions in a chain like this:
foo_1(foo_2(foo_3(foo_4(foo_5(1)))))
I'd like to specify these functions as a list, execut... | stackexchange/codereview |
In the following example, I have 2 constructors: one that takes a String and one that takes a custom object. On this custom object a method "getId()" exists which returns a String.
public class ConstructorTest {
private String property;
public ConstructorTest(AnObject property) {
this.property = property.getId();
... | stackexchange/codereview |
I have table column with expression filter applied. Is there any existing parser that would allow me to parse this column? the column can contain simple conditions such as
PROPERTY = 'name' AND PROPERTY2 = 'something else'
or more advanced like
(PROPERTY IN ('foo', 'bar')
AND (PROPERTY IN ('foo1', 'bar2') OR OTHER_... | stackexchange/codereview |
Below is the query that I am using to backup (create a .bak) my database.
However, whenever I run it, I always get this error message:
Msg 3201, Level 16, State 1, Line 1
Cannot open backup device 'C:\Users\Me\Desktop\Backup\MyDB.Bak'. Operating system error 5(Access is denied.).
Msg 3013, Level 16, State 1, Line 1... | stackexchange/codereview |
What is right way to do.
To catch exceptions from most specific to most general or opposite.
if I write
try
{
...
}
catch( Exception e )
{
...
}
catch( NullReferenceException nre )
{
...
}
Will NullReferenceException nre ever be caught?
| stackexchange/codereview |
what is the difference between using openTk and cloo for developing openCL applications?
| stackexchange/codereview |
Folks,
I am building a RESTful service that is secured by providing an XMLDSIG XML signature at the bottom of the XML document. When I send this document to the server, the WCF service is doing the XML de-serialization method on the HTTP payload to give me a C# class. Unfortunately for this de-serialization to occur ... | stackexchange/codereview |
I wrote this jQuery script.
It works somewhat OK. I want this fly out to close when the user mouse goes outside the fly out. How would I do that?
Here is the code below:
<script language="javascript">
$(document).ready(function() {
$('#slick-box').hide();
$('a#slick-toggle').mouseov... | stackexchange/codereview |
The objective C docs say this about retain attribute in properties:
retain
Specifies that retain should be invoked on the object upon assignment. (The default is assign.)
The previous value is sent a release message.
I thought I understood properties and attributes until I saw something like this in the UITableVi... | stackexchange/codereview |
in x86 inline assembly i can write something like this:
asm ("cpuid"
: "=a" (_eax),
"=b" (_ebx),
"=c" (_ecx),
"=d" (_edx)
: "a" (op));
so in the matchin constraints instead of just writing "=r" and let the compiler chose the register, I can say which pa... | stackexchange/codereview |
I am passing in a dynamic type into a method and having some issues running the code. Wondering if you are able to pass a dynamic object into as a parameter using the out keyword.
Below is the code.
dynamic btApp = AutomationFactory.CreateObject("Test.Application");
dynamic btMessages;
dynamic btFormat = btApp.Format... | stackexchange/codereview |
I attempted to answer this question (answer deleted, so here is my code).
<?php
function remove_get_param($uri, $name) {
return preg_replace('/(?<=\?|&|;)' . preg_quote($name, '/') . '=[^&;]*/', '', $uri);
}
My initial code was consuming the first param such as ? when it shouldn't. I tried to do a lookb... | stackexchange/codereview |
I read a few other articles on here that looked similar, but didn't quite answer my problem. I've been given a question for an assignment to assign every node in a binary tree its respective depth. I just can't quite get it.
For reference this is my code:
struct treeNode {
int item;
int depth;
treeNode *left;
... | stackexchange/codereview |
This is my first post so I am sorry for any mistakes I made :)
I know the title is confusing, but i will try to explain what I want.
I got this website, on the website there is a schedule, this schedule change when you change different values so that it consist with the appropriate person. When you change a value a Jav... | stackexchange/codereview |
I've written the following program which purpose is to create a file of a give size with some random data in it. The program works fine and does what it's suppose to do. However, I don't understand why it consumes 5GB of RAM (see screenshot of my Task Manager). While I am writing the file with random data, I am not cre... | stackexchange/codereview |
Ive got in app.yml some configration data, and I want to foreach them in action. I try do this by get them by sfConfig::get('app_datas') but it fails. Lets show them in details:
YAML:
all:
datas:
foo: bar
foo2: bar2
and in the actions.class.php I try use this code:
foreach (sfConfig::get('app_datas') as $key... | stackexchange/codereview |
So far I have managed to make my programme to work and detect face and now what i want to do is that extract the area detected and display in new picture box that i have added also after this is done i want to add pics to database and compare detected faces with them.
So please help
private void ProcessFrame(object se... | stackexchange/codereview |
For example if I am colecting a [URL value] in a form, saving that [URL value] in a database, and then using it in a page like this:
<a href="[URL value]" > The Link </a>
How do I protect against this [URL value]:
http://www.somelink.com"> Evil text or can be empty </a> ALL THE EVIL HTML I WANT <a href="
How can I ... | stackexchange/codereview |
I have an open API in my application that I'd like to provide access key's for. The incoming info will be a user id, resource id and a value to update with. I'd like one API key per resource.
Preferably I would like to be able to validate the authenticity of an incoming request using only the supplied data and not chec... | stackexchange/codereview |
I have a matrix containing 4320 entries
for example:
P=[ 26 29 31 33 35 26 29 ..........25]
I want to create 180 matrices and every matrix contains 24 entries,i.e
the 1st matrix contains the 1st 24 entries
the 2nd matrix contains the 2nd 24 entries and so on
I know a simple method but it will take a long time which is:... | stackexchange/codereview |
I want to url encode the following inside template
{{address.street}} {{address.city}} {address.state}}
is there anyway to do this on the template side and place it into an href( i prefer NOT to combine them on the server side):
<a href="http://maps.google.com/maps?daddr=<!-- OVER HERE --!>">Map It</a>
thanks!
| stackexchange/codereview |
I am a programmer who has done a very bad thing and somehow didn't select the WHERE clause before hitting F5 on an update query in SQL Server 2008.
I know this isn't a programming question but it is a question from a desprate programmer ...
Is there anyway to get the one column's data back from the transaction log or a... | stackexchange/codereview |
Let's say I have the following table, called GPAs:
name | semester | GPA
Joe Winter 3.5
Joe Spring 4.0
How can I return the following in one query?
name | gpaWinter | gpaSpring
Joe 3.5 4.0
| stackexchange/codereview |
How to disable aero effects in C# .NET or C++ Win32 ???
This is my test code in C/C++, but only works if my app is runnig
#include <dwmapi.h>
int main()
{
DwmEnableComposition(DWM_EC_DISABLECOMPOSITION);
while(true);
//...
return 0;
}
//LINK dwmapi.lib
Thanks
Edit: i figured it out
#include <Window... | stackexchange/codereview |
In my jsp file I am pulling data from the request via request.getAttribute().
Inside this jsp I need to include another jsp. Will this inluded jsp have access to the request, or do I need to somehow forward on the data?
| stackexchange/codereview |
I am looking for an easy way to track the many changed of a variable in firefox.
I am looking for something that will not require me to add reduntant code, like alert, or console.log, but rather way to tell firefox to report each time a JS var is changed
am I dreaming?
| stackexchange/codereview |
Im trying to work with this tool, Acrobat, and I find it not very user friendly tbh...
What I'm trying to do right now is to insert some images into and between the text, and I only can do it through the "Stamps" tools..
Is there another way to do this?, cuz it kinda sucks.
Thx.
| stackexchange/codereview |
I am getting an IQueryable from my database and then I am getting another IQueryable from that first one -that is, I am filtering the first one.
My question is -does this affect performance? How many times will the code call the database? Thank you.
Code:
DataContext _dc = new DataContext();
IQueryable offers =
(from ... | stackexchange/codereview |
My query is based on the following example
I have table say 'Table1'. Table1 has one row and one column. The name of the column is 'Column1'. 'Column1' is a text column (NVARCHAR). I have a comma separated keywords like 'key1,key2..keyn'. I want to search these keywords individually in the column1.
So in the where cl... | stackexchange/codereview |
I have been spending some time in debugging a programme which gives segmentation fault. The bug is quite indeterministic and intermittent, which is annoying. I narrowed it down to the calling of strtok(). I suspect that it is the calling of strtok() to split string in two different threads that causes the segmentation ... | stackexchange/codereview |
My code is as follows:
#!/usr/bin/python
#Filename:2_7.py
text=raw_input("Enter string:")
for ?? in range(??)
print
For example, if the user enters test text, I want test text to be printed on the screen by this code.
What should I write instead of ?? to achieve this purpose?
| stackexchange/codereview |
So you have a relational database and you define some foreign keys for reference integrity. But now, what's the better way to leverage them? Assume we are going to delete a row in a table with foreign keys to other tables.
Use them as a garbage collector - Set all constraints to cascade. So in your application, you fi... | stackexchange/codereview |
I'm having a complete brain fart moment so i figured i'd ask away here.
I have 3 tables that look like this
Equipment Table
EquipmentID | LocationID
-------------------------
1 | 2
2 | 2
3 | 1
4 | 2
5 | 3
6 | 3
Location Table
LocationID | LocationName
------... | stackexchange/codereview |
I would like to play around with the Java SE version of NetBeans on Mac, however I need to still have a running copy of BlueJ on my Mac for a school class. Is it possible to run the "JDK-only" BlueJ and the "Java SE" NetBeans together in harmony?
| stackexchange/codereview |
I am just setting up a test project using Oracle Streams.
My first problem is, is there something I need to install first? How can I tell if Oracle Streams is installed ?
| stackexchange/codereview |
I need a small WYSIWYG control in my application. The internal representation is some kind of xml, but I couldn't find anything in the internet concerning wysiwyg which appart from html or rtf editors.
For example when the internal representation is something like
"some text <ask pivot="x">name</ask> some text"
I wa... | stackexchange/codereview |
I am writing an app that should authorize with Twitter. I load a WebView Link to my app's server, which redirects me to the Twitter authorization page. Before this, the user is logged in on my app server with DefaultHttpClient.
If I just write _webView.loadUrl(link); then everything works correctly, but if I add _webV... | stackexchange/codereview |
I have 2 ScrollViews in my android layout. How can I synchronise their scroll positions?
| stackexchange/codereview |
I hope this is not a misuse of stackoverflow; recently I've seen some great questions here on Parallel Extensions, and it got my interest piqued.
My question:
Are you using Parallel Extensions, and if so, how?
My name is Stephen Toub and I'm on the Parallel Computing Platform team at Microsoft. We're the group respons... | stackexchange/codereview |
I was wondering if its possible/how to make a ssrs report
so that a column will increment down the page until the end and then continue in the next column
Time Weight Size CONTINUED
1:00 110 14 4:00 113 10
2:00 114 16 5:00 115 13
3:00 112 11 6:00 117 15
End of p... | stackexchange/codereview |
How do I capture a left mouse click , up/down/drag? What would the right mouse click be?
| stackexchange/codereview |
I have the following situation:
role.Permissions.Add(permission);
objectContext.SaveChanges();
When I now take a look in the relations table Roles_Permissions the newly added permission to the role is not present. It only saves the new relation when I dispose the object context. Am I doing something wrong or does a ca... | stackexchange/codereview |
We have a multi user product prototype in WPF which works fine as a prototype. Now we want to build the complete product.
In our product we have scenarios where 2 - 3 users might have to use same data. Say one us editing and the other user is viewing the continuos edits. And also whenever a user changes a common itemm... | stackexchange/codereview |
Movie - ID, Name, Description, DirectorID-Fk, MusicID-Fk
Director - ID, Name
Music - ID, MusicName
Now I am trying to insert a new record to movie but I dont know whether Director is already existing in the DB and same with the Music).
From UI i am taking all movie information, DirectorName and MusicName.
Now when ... | stackexchange/codereview |
I am trying to create a sniffer that can sniff on multiple devices. In my code the program will receive a list of devices that a user wants to sniff on. I take the list of device and store it into an array that I use to loop through and pass along to a function that creates the pcap_t handle like the function below:
... | stackexchange/codereview |
I'm trying to write a message acknowledgement application where I need to:
a) Add every new message on a message queue. Just using an Arraylist for creating a message queue.
b) Notify a timertask to expect an acknowledge in 50 sec for the message so make it to either sleep for 50sec or wake up when an acknowledgement i... | stackexchange/codereview |
I've got the following html:
<html>
<body>
<div id="note1" class="note">
<div class="note-header">Note</div>
<div class="note-content"></div>
</div>
</body>
</html>
with css:
body {
background-color:black
}
.note {
width: 150px;
height: 150px;
background: #111111;
}
.note h4 {
text-al... | stackexchange/codereview |
I am new to SSRS. I have Business Intelligence VS 2008. I am trying to add report parameters to the report but the data tab does not seem to be coming up in the designer. My requirement is to pass parameters from the UI to the report in a remote/server mode. I have to just pass the parameters to the report and the rep... | stackexchange/codereview |
I'm working on two GWT projects in Eclipse which share some of their classes.Project A has base source files and some functionality. I don’t have change access to this project, although I can read source. Project B is my target work project.
Problem
I have added each source folder from project-A to project-B launches c... | stackexchange/codereview |
I am in a strange dilemma . I have a class clsA which has some methods .I am creating instance of ClsA in other class and accessing methods of clsA . I have declare object of clsA in header file and I m writing these two lines simultaneoulsy .
clsAobj = [[clsA alloc] init];
[clsAobj someemethod];
The problem is that w... | stackexchange/codereview |
Here is a simple XAML snippet:
<Grid x:Name="ContentGrid">
<ContentControl Background="Yellow" VerticalAlignment="Stretch"></ContentControl>
</Grid>
In WPF, the content control stretches the entire height of the grid.
In WP7 however, the content control does not stretch.
Why?
| stackexchange/codereview |
I have a model in Rails 3. When creating the record, there are a total of 3 columns for the model.
Right now, Rails allows for creating a record if only 2 of the 3 records are populated?
In rails, how do you tell Rails only create a record if 3 values for each column exist when creating?
thank you
| stackexchange/codereview |
How to read the system environment variable in the application context?
I want something like :
<util:properties id="dbProperties"
location="classpath:config_DEV/db.properties" />
or
<util:properties id="dbProperties"
location="classpath:config_QA/db.properties" />
depending on the environement.
Can I... | stackexchange/codereview |
How can i know the current time at different places
example:-
Local time in America & london wud differ
1) So if a user from USA visit my website, I should be able to show him his local time
2) If a user from London visit my website, his/her local time should be populated
| stackexchange/codereview |
I starting with BouncyCastle Crypto dll and I'n not found enought documentation.
I need one example of how can I sign a file with different alghoritms
Like sha1 sha256 and other and obtain .p7m file.
Can somebody help to me ?
Many thanks in advance
Piercarlo
| stackexchange/codereview |
Possible Duplicate:
How does Facebook Sharer select Images?
We are using Facebook's sharer.php service to share pages on our site. Right now this works great, but we are now having difficult trying to find out how to offer users more than one thumbnail to pick from (the sharer.php page offers a UI for multiple imag... | stackexchange/codereview |
I'm trying to use the pretrained parsing model engmalt. I downloaded it, I unpacked it in the directory where I downloaded the MaltParser, and I wrote in the prompt
java -Xmx1024m -jar malt.jar -c engmalt.poly -i infile.conll -o outfile.conll -m parse
as suggested in MalParser site. The problem is that it gives me th... | stackexchange/codereview |
I need to build an interpreter in smalltalk language. It will interpret a simple language with few fixed instruction set, there are only 2 data types in it and it evaluates the expression in a postfix fashion. The language itself is interpreted line by line and interpreter will throw an error on encountering wrong inst... | stackexchange/codereview |
I'm looking to write a facebook app that can hold some state. Basically what I want is something where using this app the user can issue questions to their friends (sort of like a survey but more complex interface). I have never written a facebook app so looking for a good place to start reading. Thanks in advance :)
| stackexchange/codereview |
I am trying to create a bit-vector class in C++ to model some hardware. In most HDLs (hardware description langauges) that I know, specific bits are referenced like this:
my_vector[bit_position]
and sub-vectors are referenced like this:
my_vector[msb:lsb]
or
my_vector[msb,lsb]
I want to be able to do something simi... | stackexchange/codereview |
Say I submit a form via Ajax and need a response from the server:
Pass/fail indicator
On fail, a list of validation errors with associated field ids/names, etc
Is there a standard or best practice for the JSON format for such a structure? If so, I'd like to try to stick to it instead of coming up with my own conventi... | stackexchange/codereview |
I've implemented a simple Hello World syscall with limited functionality — that simply transitions from user mode to kernel mode, prints a message that is logged with the kernel messages, and transitions back to user mode.
The next step for extra credit is to add a useful (new) syscall that is not normally available to... | stackexchange/codereview |
I am using the WPFToolkit Accordion control with the items in the accordion defined to be a TreeView.
For context, here is the relevant part of the XAML:
<ScrollViewer VerticalScrollBarVisibility="Auto" CanContentScroll="True">
<layoutToolkit:Accordion DockPanel.Dock="Bottom"
HorizontalAlignment="St... | stackexchange/codereview |
How can I get some var / data from a custom classes?
The XML class
package classes
{
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.display.MovieClip;
public class videoData extends MovieClip
{
private var myXML:XML;
private var... | stackexchange/codereview |
Could somebody please explain how indexing works in SQL Server and what is a clustered and non clustered index?
When we create an index on some column how does it increase the performance and how are the values of column stored to increase the performance?
| stackexchange/codereview |
I have list of active deviceses in lan network... by its ip address how can I know that, Is snmp agent available on that device???
please help me find the list of snmp agent enable devices's list....
I want to do it using java (snmp4j)......
| stackexchange/codereview |
I'm storing the value of a specific form element as a variable. This same value is used in multiple functions.
function one() {
var selectedRole = $('#RegistrationRole_ID').val();
}
function two() {
var selectedRole = $('#RegistrationRole_ID').val();
}
I'd like to make this a global variable so I don't have to... | stackexchange/codereview |
I am developing an employee scheduler Java web applicatyion where an employee can specify days they will be out of the office for things such as vacation, business travel, etc...I have a simple mechanism for adding/editing/deleting these records. But I am struggling with the JSTL and which collector I should be passin... | stackexchange/codereview |
Section 7.1 of the C++ Standard mentions about 'extern' as a storage class specifier.
N3126 - "The extern specifier can be
applied only to the names of variables
and functions. The extern specifier
cannot be used in the declaration of
class members or function parameters.
For the linkage of a name declared
... | stackexchange/codereview |
I have a wpf application which uses mvvm pattern.
I need to have a collection in my view-model...which i can bind to multi level tab control.
What type of collection I can use in this case ???
Is there any hierarchical collection in C# 3.5 ???
| stackexchange/codereview |
I have a HTML table that's being filled with data from a query (php). I have two months of data displayed, sept and oct. Since we've only had 15 days in Oct, it shows a table of 30 rows for Sept and only 15 rows for Oct. How can I have it display 31 rows for October, and fill in the blank rows as the days come?
Current... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.