instruction_seed stringlengths 1 35.8k | _source stringclasses 1
value |
|---|---|
Helo
I am getting the xml data in my flash envronment by Test Movie. But when uploaded it does not displays the data. Note that here I have not loading a physical file with .xml extension rather i am loading a url reference which creats an xml structure for this flash object to use.
The code is given below:
var xmlLoa... | stackexchange/codereview |
So i am running into a perplexing (programmer caused) bug, me being the programmer.
I have created a website with user profile. The user profile has many fields and an image. The image is uploaded just fine. First it is converted to fit into a certain area.
...
//I am uploading an image to the database.
imageConvert... | stackexchange/codereview |
I have a tool bar with buttons whose image is set to a particular image.When the user clicks a button in the main view, i want to change the image of one of the toolbar buttons to another image.I tried many methods.Everything ran without errors, but none showed any change in toolbar.Any suggestions?
| stackexchange/codereview |
I'm trying to get a list of available COM ports with the "Windows 2000"-method explained here:
http://www.codeproject.com/KB/system/setupdi.aspx
My current code: http://pastebin.ca/1977670
This is what I get:
\\?\ftdibus#vid_0403+pid_6001+ftf479xra#0000#{86e0d1e0-8089-11d0-9ce4-08003e301f73}
USB Serial Port (COM13)
USB... | stackexchange/codereview |
I have the below code but it is not working. Is this correct?
var diffLvl = document.getELementById('lvlDiff');
var interLvl = document.getElementById('lvlInter');
var simpLvl = document.getElementById('lvlSimple');
if (simpLvl.checked) {
//do stuff
} else if (interLvl.checked){
//do stuff
} else {
//d... | stackexchange/codereview |
Possible Duplicate:
PHP remove accents
The title says most of it, but anyways...
I am getting data from an input file and inside the data we will have the character é. For our purposes we want to convert that to a regular lower case e.
Does anyone know how to do that?
| stackexchange/codereview |
so I have some main function. 24 time a second it opens a boost thread A with a function. that function takes in a buffer with data. It starts up a boost timer. It opens another thread B with a function sending buffer into it. I need thread A to kill thread B if it is executing way 2 long. Of course if thread B has exe... | stackexchange/codereview |
In SQL Server I have put a clustered index on a view to eliminate the inefficiency of a join using LIKE statements:
CREATE VIEW KeywordCount WITH SCHEMABINDING
AS
SELECT
K.ID AS KeywordID
,COUNT_BIG(*) AS KeywordCount
FROM dbo.Grants G
INNER JOIN dbo.GrantStatuses GS2 ON GS2.ID = G.S... | stackexchange/codereview |
Is there any controls that I can download that allows a user to upload images with just a button click and be able to open the file dialog. I do not want to use the fileupload control.
| stackexchange/codereview |
I want to change the textsize of a Checkbox.
How is this be made?
thanks
| stackexchange/codereview |
Why does this code produce only a white background:
ul.nav {
width: 30%;
border: 1px solid #999;
margin: 0px auto;
background-color: #00ff7f;
}
ul.nav li {
display: inline;
float: left;
width: 20%;
}
| stackexchange/codereview |
I'm playing around with corecursive data structures, and fairly early on in my code, I get a type error:
module Graph where
import Data.Map
data Node a = Node { getLabel :: a, getInEdges :: [Edge a], getOutEdges :: [Edge a] }
data Edge a = Edge { getStart :: Node a, getEnd :: Node a }
data Graph a = Graph { getNodes ... | stackexchange/codereview |
How can I play a WAV audio file in from my project's Resources? My project is a Windows Forms application in C#.
| stackexchange/codereview |
I'm looking at this piece of javasript from Pro JS techniques book.
He's trying to find the offsetLeft of an element. But in firefox, isn't the offsetParent always the root element body?
I'm not sure how it would recurse up.
// Find the X (Horizontal, Left) position of an element
function pageX(elem) {
// See if we'... | stackexchange/codereview |
I have a e-commerce website built in Ajax and Js, when the user type a search keyword the list is pulled via ajax but the browser url, in my case doesn't change, so if the user reaload or simply bookmarks the address he 'll have to start form scratch loosing the keywords input.
i noticed Google instead rewrites the url... | stackexchange/codereview |
anyone have jsoncpp working on vc90?
they use a build system, Scons, which I have never heard of. I installed the latest Scons, found an undocumented scons.bat, launched a vc90 prompt in my jsoncpp dir, modified the SConstruct file to support a msvc90 target (i copied the boilerplate from the msvc80 platform which was ... | stackexchange/codereview |
How can I order (compare) .NET objects by reference? I would use this to efficiently determine if two .NET collections contain the same instances (by reference, not value).
Another way of phrasing this question might be to ask for an implementation of IComparer which uses reference comparison rather than value compari... | stackexchange/codereview |
I have graduated from my university almost a year ago. Since then I have worked with many different technologies, such as PHP, JQuery, ASP.NET, C# etc. Recently I have switched to a company where powerbuilder is being used for development.
The problem is that I haven't mastered any of the above languages. I can do stuf... | stackexchange/codereview |
I want to write a method that can accept a table as input, i.e.:
void Take_something_from_table(string table_name)
{
DataClassesDataContext dc = new DataClassesDataContext();
var queryResult = from a in dc.GetTable<*table_name*>() //without * of course
select a;
...
}
I want ... | stackexchange/codereview |
I currently provide a dropdown list from the results of cdrecord -scanbus, to allow the user to select a drive to write data to. cdrecord -scanbus outputs something like:
$ cdrecord -scanbus
Cdrecord-ProDVD-ProBD-Clone 3.00 (i686-pc-cygwin) Copyright (C) 1995-2010 J▒rg Schilling
Using libscg version 'schily-0.9'.
scsi... | stackexchange/codereview |
I am not able to check if user is logged in or not in magento system. I need to check it in footer.phtml file and show the footer links accordingly. It is working in some of the pages but not in all pages. when i gone inside in the issue and printed session array it is not accessible in some pages and in other pages it... | stackexchange/codereview |
Is there a quick way to "super" deep clone a node, including its properties? (and methods, I guess)
I've got something like this:
var theSource = document.getElementById("someDiv")
theSource.dictator = "stalin";
var theClone = theSource.cloneNode(true);
alert(theClone.dictator);
The new cloned object has no dictat... | stackexchange/codereview |
i have a strange problem.
In RowCreated of the GridView i add following script to select a row:
Select Case e.Row.RowType
Case DataControlRowType.DataRow
e.Row.Attributes("onclick") = Me.Page.ClientScript.GetPostBackClientHyperlink(Me.MainGrid, "Select$" & e.Row.RowIndex)
End Select
This works like a... | stackexchange/codereview |
Painting some particles stored in an ArrayList. This code works fine:
super.paintComponent(g);
for (Particle b: particleArr){
g.setColor(b.getColor());
g.fillOval(b.getXCoor() + 5,b.getYCoor(),
b.getParticleSize(),b.getParticleSize());
... | stackexchange/codereview |
How Can i get the number of online users in sharepoint 2007?
| stackexchange/codereview |
does codeigniter pagination have automatic numbering to show, following every page.
| stackexchange/codereview |
Hey guys,
basically this is my page and the JS simply changes the images if one is clicked, this works grand if the <a href="#1" onclick="worseChange()"> <img src='worseun.png' name='worse' border='0' /> </a> is first beneath the <body>, but doesn't work if there is another <img src='' /> above it! I'm still learning ... | stackexchange/codereview |
I need to convert a threading application to a multiprocessing application for multiple reasons (GIL, memory leaks). Fortunately the threads are quite isolated and only communicate via Queue.Queues. This primitive is also available in multiprocessing so everything looks fine. Now before I enter this minefield I'd like ... | stackexchange/codereview |
I tried the following test in LinqPad 4 and got an "Observable not in context" error. The IEnumerable branch works, and, oddly enough, I don't get an error for IObservable itself, just for the static method Observable.Range.
static void Main()
{
IEnumerableSieve();
IObservableSieve();
}
private static void IEnumerab... | stackexchange/codereview |
I'm working on a project, and need to optimize the running time. Is String.contains() runtime the same as TreeSet.contains(), which is O(logN)?
The reason I'm asking is I'm building a TreeMap<String, TreeSet<Song>>, where Songs contain a String of lyrics. Depending on the efficiency, I am considering including a Set ... | stackexchange/codereview |
I am a newbie.
I am trying to consume gmap data via json. I have it working with xml in http://github.com/dmclark/geoaccess/blob/master/app/models/route.rb.
uri = URI.parse("http://maps.googleapis.com/maps/api/directions/json?origin=Chicago,IL&destination=Los+Angeles,CA&waypoints=Joplin,MO|Oklahoma+City,OK&sensor=... | stackexchange/codereview |
i am getting this exception on :
chart1.DataBindTable(myReader, "Name");
here;s the complete code:
// Access database
//System.Windows.Forms.DataVisualization.Charting.Utilities.SampleMain.MainForm mainForm = (System.Windows.Forms.DataVisualization.Charting.Utilities.SampleMain.MainForm)this.ParentForm;
... | stackexchange/codereview |
the xml looks like
<root>
<service name="product" />
<service name="sim" />
<service name="blub" />
</root>
the schema should look like
<xs:element name="root">
<xs:complexeType>
<xs:element type='serviceProduct' name='service' />
<xs:element type='serviceSim' name='service' />
<xs:element type='serviceBlub' name='ser... | stackexchange/codereview |
how do I select every class member except the one that is the parent of $(this)?
| stackexchange/codereview |
I'd like to create an NSTimer that repeats twice then stops and invalidates itself. I'd rather not use a loop if that's possible. Any thoughts on how I could do this?
| stackexchange/codereview |
We've recently moved all our sites from one server (IIS6) to a new server (IIS7) which has also involved changing all the DNS records. However, on some of the sites, when you make a post-back on certain pages, you get the following error:
Validation of viewstate MAC failed. If this application is hosted by a Web Farm o... | stackexchange/codereview |
I was wondering if there is any way to export python functions to dll. There is py2exe and I can successfully create exe file. My program should be used by another program written in delphi (there is possibility of importing dll's in delphi).
So I was wondering what would be the best way to connect those 2 applications... | stackexchange/codereview |
I am trying to programatically change the temperature of the entire display depending on time of day / ambient lighting conditions. Assume that I have a sensor that returns the ambient lighting conditions -- I would like to change the temperature of the display based on that. It's a bit like flux. It will be a Windows ... | stackexchange/codereview |
Is there a functional difference between these methods?
public static void main(String[] args) { }
public static void main(String args[]) { }
EDIT (added this syntax from other contributors) :
public static void main(String... args) { }
| stackexchange/codereview |
I wanted to take the dump of the Permgen of a application server.
I do not want to use -XX:+TraceClassLoading -XX:+TraceClassUnloading as i do not want to restart the server, Neither i want to use jconsole.
I there any tool like jmap(used to heap dump didnt find any option for permgen) to get the permgen so that i can ... | stackexchange/codereview |
I have this code in javascript to show time in div and update it:
if (!document.all)
return
var Digital=new Date()
var hours=Digital.getHours()
var minutes=Digital.getMinutes()
var seconds=Digital.getSeconds()
var dn="AM"
if (hours>12){
dn="PM"
hours=hours-12
}
if (hours==0)
hours=12
... | stackexchange/codereview |
I am running the following from inside of Aptana:
<html>
<head>
<title>New Adobe AIR Project</title>
<script type="text/javascript" src="lib/air/AIRAliases.js"></script>
<script>
function init() {
if(air.NativeProcess.isSupported) {
alert("NativeProcess is supported.");
} else {
alert("NativeProc... | stackexchange/codereview |
On a separate thread I got a working example on how to translate my stored proc to a view, that will hold customer names to orders mapping, where orders are comma-separated lists of orders, including NULL for no orders. So for the table below, I need the following to appear in the view:
Name Orders
'John' New Hat... | stackexchange/codereview |
This gives me error:
EditText messageEdit = (EditText)findViewById(R.id.description_text);
Why can I not do like this on a eittext with lines?
This is how the Edittext looks like
<EditText android:id="@+id/message_text"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
... | stackexchange/codereview |
I am working on a lightweight document management system and am looking for some help with how best to model certain relationships. Essentially, I am working with two "organizational units": Groups and Types. When a group and a type are combined they form a Link with which Documents are then associated. Note that a ... | stackexchange/codereview |
I'm having problems casting an object array to a key-value pair array,
with generic types for the key and value objects. Here is a minimal example.
public class Main {
public static void main(String[] args) {
array = (Map.Entry<Integer, Integer>[]) new Object[1];
}
private static Map.Entry<Integer,... | stackexchange/codereview |
How to write SQL LIKE Query in drupal ,
SELECT title FROM { node } WHERE type='%s'
i want to add the LIKE CONDITION IN THAT
SELECT title FROM { node } WHERE type='%s' AND LIKE '%S%'
i think i writtern wrong like query formnat, can rewrite and tell me,
| stackexchange/codereview |
I am using 32 bit win.7 and using Eclipse. Also having 4GB RAM.
I want to allocate my java application a maximum heapsize of around 3 GB, but I am able to allocate maximum 1.5GB through VM arguments -Xmx1056m.
What should I do? If I Install a 64 bit win.7. it would be able then to allocate 3GB heapsize to my app?
| stackexchange/codereview |
i added an image to the scroll view. but its not scrolling...
pls help out what is the problem..
Thanks.
boxImage = [[UIImageView alloc]initWithFrame:CGRectMake(0, 44, 320, 372)];
boxImage.image = [UIImage imageNamed:@"chapter1box.png"];
textScroll = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 175... | stackexchange/codereview |
I my quest to develop a cross platform application I have decided to use C++ with the wxWidgets for the programing language. Now I am facing a dilemma on what local storage solution should I use for a for this application. Any suggestions?
Note: I am thinking of using SQLite, but I plan to store images in the DB and I ... | stackexchange/codereview |
So i have a web application I've developed using jquery and some jqtouch. I have javascript functions to clone list items to another "favorites" list if the user so chooses.
My question is how can I use localStorage to keep their favorites in the list when they come back into the web application?
I can't seem to find a... | stackexchange/codereview |
Can't figure out whats wrong with this.
$replies_sql = "SELECT COUNT(*) AS total
FROM forum_posts
WHERE forum_posts.thread_id = 1";
I'm trying to calculate the total replies in a specific thread. I am just testing on thread_id 1 at the moment.
Error:
Warning: mysqli_fetch_assoc() ex... | stackexchange/codereview |
I'm fighting the spaces bug in Java's Runtime exec method. Here's what's unique about this problem: the command I'm trying to execute is an incoming string and may or may not have spaces and is not necessarily in any specific format. Either way, I need to execute it. If there are no spaces, I'm good; if there are space... | stackexchange/codereview |
Every single example of jsGrid usage that I've found/seen shows data being loaded through an Ajax request. I'd like to load the grid based on data that's already available; a separate request is completely unnecessary unless it's a technical requirement.
I'd really like my controller to pull the data required for displ... | stackexchange/codereview |
CSS Problem with my topNav in IE6
HTML Page:
http://www.faressoft.net
| stackexchange/codereview |
I would like to send a .gif file over a serial port connection using C in Linux.
I know how to send bytes over the connection and receive them on the other hand, but have no real idea how to do it with a .gif file.
How can I send the image byte per byte over the connection and reconstruct it on the other end?
Thanks.
| stackexchange/codereview |
How can I make UIBarbuttonItem localizable?
My implementation:
UIBarButtonItem *cancelButton = [[UIBarButtonItem alloc]
initWithBarButtonSystemItem:UIBarButtonSystemItemDone
target:self
... | stackexchange/codereview |
We are running the latest version of RabbitMQ 2.1.1 on windows server, and using .Net client. We are running a test as follows: publishing 500000 messages to the transcient non durable fanout exchange, the client uses autodelete queue. There is only one queue. Publisher sends ~ 10K messages per second. After all messag... | stackexchange/codereview |
Is it only me or all of you find it difficult editing web.config for WCF? There are so many attributes and so many "magic" values that you need to remember. How to overcome this problem? Is there any tool available for editing WCF config file or do I have to stuff all these junk XML in my mind? I must confess even if I... | stackexchange/codereview |
Just for some fun I was playing with the API of Last.fm. The XML file they return for top artists is structured like this:
<lfm status="ok">
<topartists user="xbonez" type="overall">
<artist rank="1">
<name>Evanescence</name>
<playcount>4618</playcount>
<mbid>f4a31f0a-51dd-4fa7-986d-3095c40c5ed9</mbid>
<u... | stackexchange/codereview |
Hey all, just wondering whether the following would cause a memory leak?
char* a = "abcd"
char* b = new char[80];
strcpy(b, a);
delete[] b;
Will it delete the whole block of 80 or just the 4 characters copied into it by strcpy? Thanks!
| stackexchange/codereview |
I am facing this problem of creating a font, other than the ones found by default in windows folder, and using this font to draw some text on the screen.
What I am doing is simply adding this font to the windows folder, then within the code, I create the font using CreateFontIndirect function, passing the required LOGF... | stackexchange/codereview |
I have a velocity variable "topic.url" inside a jsp page. This code happens to be written by some other person so I am not very sure where exactly this variable came from. Anyway this variable gives me a particular URL which I have to parse and extract particular field. I am planning to write a java function to do this... | stackexchange/codereview |
Is there a way to disable the auto correct/spell check feature for certain input fields from the html markup?
| stackexchange/codereview |
K guys, so I created this up/down vote script (basically like the one here on stackoverflow), and I'm trying to add some Ajax to it, so that the page doesn't reload everytime you vote.
I have two controllers, one called grinders, and one called votes. (Grinders are basically posts)
So here's the index of all the grind... | stackexchange/codereview |
We have an application that requires the user to be an admin to run. So, in the app.manifest we have set up
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
We have a key to sign our assemblies with, which I have been able to use for signing the MSI and the executable of our application. Th... | stackexchange/codereview |
I am trying to figure out how to make a POST in VBA.
Ideally I'm looking for a simple working example that I can play with.
This is what I have so far, but I'm not really sure what to do with it. Mostly what does the formdata look like.
Function WinHTTPPostRequest(URL, formdata, Boundary)
Dim http
Set http = Crea... | stackexchange/codereview |
I want to make a class (let's call the class HugeStream) that takes an IEnumerable<Stream> in its constructor. This HugeStream should implement the Stream abstract class.
Basically, I have 1 to many pieces of UTF8 streams coming from a DB that when put together, make a gigantic XML document. The HugeStream needs to be ... | stackexchange/codereview |
Is it possible to get a reference to a Silverlight method purely by name from Javascript, and then invoke it? With pure Javascript objects you would be something like this:
var f = theObj["theMethodName"];
f.call(theObj, "an arg");
But treating a Silverlight object as an associative array doesn't seem work.
I'm g... | stackexchange/codereview |
I have a simple php code which prints data from a SQLite database.
Basically $query ="Select A from B".
This all works fine. & when the sqlite db updates, i can refresh the page & the new data displays.
Want i am aiming to achieve is to refresh this data automatically every 5-10 seconds without having to reload the ent... | stackexchange/codereview |
I was successfully using google maps in my application but then needed to change the Android SDK version from 1.5 to 2.0. Now the import for Google maps can't be resolved.
| stackexchange/codereview |
I'm fiddling with a wcf service, and I've created a simple test one. When I 'run' the service, I get a directory listing in ie of the folder that the service is in. I can click on the 'myservice.svc' and it brings me to the page I'd expect, so that's ok.
I get the eerie feeling that this is wrong. Is it? If so, how is ... | stackexchange/codereview |
I wish to know if it's possible in C++ to somehow handle the following situations:
Situation 1) (Easily handled)
class BasicFacility { }
template <typename U1, typename U2> class Facility : public BasicFacility { }
Suppose now that we want to have some compilation-time assertion and we want to check if the arbitrary ... | stackexchange/codereview |
Any ideas why this wouldnt work!?
Just nothing displays..
$result1 = mysql_query("select * from `suppliers` where supp_short_code='WED'") or die(mysql_error());
while($row1 = mysql_fetch_array($result1))
{
echo "<p>" . $row1['supp_name'] . "</p>";
... | stackexchange/codereview |
I did lot of R & D to implement website internal search in asp.net.
I have found a good article in code project
http://www.codeproject.com/KB/applications/SearchDotnet.aspx
It has some limitations
Search with special characters is not working.
Pdf and word documents are not searching.
Not able to high light the searche... | stackexchange/codereview |
I want to find the zero points of a sine function. The parameter is a interval [a,b]. I have to it similar to binary search.
Implement a function that searches for null points in the sinus function in a interval between a and b. The search-interval[lower limit, upper limit] should be halved until lower limit and upper ... | stackexchange/codereview |
I have a new project where I want to use MVC (I will be learning as I code), and I have never used linq or entity (or mvc). Which should I use? Does it matter?
edit: I will be having a lot of different databases, from Oracle to FoxPro.
| stackexchange/codereview |
I'm currently working on an VB.net application using Win forms and SQL Server Express 2008. One of the major functions of our program is to generate work orders for field engineers. These engineers typically work in a factory and have to walk around the factory to complete these work orders doing things such as recordi... | stackexchange/codereview |
I have recently made a new homepage for my company so that employees can access various cloud services such as fleet trackers etc easily.
I also put a google search box on this page so that users would not feel the need to switch back to a search engine for their homepage.
I achieved this by using this form.
<form meth... | stackexchange/codereview |
I have two similar queries on same table and same where condition but different selects on it.
Select flatpos from archdetails
where version='1.3' AND compname IN (
select distinct compname from svn3 where revno='r270294'
)
AND
select count(distinct compname),
sum(CASE WHEN inFlat=1 THEN 1 ELSE 0 END),
mi... | stackexchange/codereview |
Suppose I'm writing an ASP.net web application.
The original designer of the application was using "PopChart" to make some images appear in the web application. One of the pages had an "Export To Excel" button on it. When the button is clicked, the page content is output to Excel as in this tutorial: http://aspallian... | stackexchange/codereview |
Hello
I'm currently writing a software to test the integrity of flash-memory devices. (using c++ iostreams)
To achieve this goal files with random content are written to the device, read back, copied, moved, compared ( I put the device under stress condition, and check if the data is valid from time to time)...
Everyth... | stackexchange/codereview |
I'm trying to update a float value in oracle database, but the saved value is only the integer part of the float value.
I'm using the expression
update TABLE
SET VALUE = #value:NUMERIC#
WHERE ID = #id#
The Value is defined as Number(19,4) NULL
| stackexchange/codereview |
I'm working on a web parser using urllib. I need to be able to only save lines that lie within a certain div tag. for instance: I'm saving all text in the div "body." This means all text within the div tags will be returned. It also means if there are other divs inside of it thats fine, but as soon as I hit the pa... | stackexchange/codereview |
i have categories and subs and i want draw every category with sub in td. i write this code but it draw all category with sub in one td. what is the problem? thank you
{section name=catsubs loop=$arrClientsCategorySub}
<td width="28" height="26" align="center" style="background-image:url(images/categorycolor.png); back... | stackexchange/codereview |
I've put an asp.net button on a modal dialog box that will appear once a certain option is clicked.
I want to call a .net subroutine once the button is clicked as normal but because I'm guessing it's in modal in won't foolw through to the subroutine or the click has no affect.
Is there a way around this?
Thanks,
... | stackexchange/codereview |
I think that I am on the right track but I need your help.
I use this code to get my URL parameter
function $urlParam(name){
if(window.location.href.indexOf(name) != -1) {
var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(window.location.href);
return results[1] || 0;
}
return... | stackexchange/codereview |
Is it possible to assign an NSDictionary to an NSMutableDictionary? For example,
NSMutableDictionary * root = AppDelegate.data;
where AppDelegate.data is an NSDictionary.
| stackexchange/codereview |
How can I count the number of times a comma appears in a string such as this?
A,B,C,D
It should return "3"
| stackexchange/codereview |
I have around 30 columns in a MySQL table. I want to calculate how many column fields for a particular row are empty. This table is for storing user information. I want to find out how many profile fields (such as 'Name', 'Age', 'Location' - all of which are stored in a separate column) are empty/haven't been filled ... | stackexchange/codereview |
edit: it's worth reviewing the comments section of the first answer to get a clearer idea of the problem.
edit: I'm using SQLServer 2005
something similar to this was posted before but I don't think enough information was given by the poster to truly explain what max draw down is. All my definitions of max draw down co... | stackexchange/codereview |
Im programing a job in oracle in order to execute a store procedure, but when the time comes it just does not happend any thing for no reason.
Is there some kind of log where I can see if an error happend or something?
Im using the dbms_job package to create the job
Tnks.
| stackexchange/codereview |
I have a datagrid and when user tries to edit a row then I want to have only that row editable and all other rows disabled. Is this possible ? I tried looking for datagrid.rows but there is none.
Please help
Thanks
Sai
| stackexchange/codereview |
I have a flex application mxml file with 3 tabs.the first tab having the link button to select the value in the 3rd tab.
Suppose, i have a link button in first atab. And the 3rd tab contains the combobox with values:"basic", "advanced". by default the vaule is displaying "default".
Wheni select the linkbutton on the f... | stackexchange/codereview |
So I have three tables, table1, table2, and table3. They each have ID fields, table1ID, table2ID, and table3ID respectively. Additionally, table2 has a field table1ID which points to a row in table1, and table3 has a field table2ID which points to a row in table2.
So, my question is, how do I do a select statement that... | stackexchange/codereview |
I cannot open a project built on ASP.NET MVC 1 in an MVC 2 environment. I get an exception saying 'The Project File xxxx.csproj cannot be opened. This project type is not supported by this installation'.
I can create a new MVC application though. I suspect this is due to the backward non compatibility of MVC 2 and 1, ... | stackexchange/codereview |
Could anybody let me know, if I understand the curl_getinfo() information right?
Array
(
[url] => https://www.someserver.com
[content_type] => text/html
[http_code] => 200
[header_size] => 350
[filetime] => -1
[ssl_verify_result] => 19
[redirect_count] => 0
[total_time] => 0.078
[nam... | stackexchange/codereview |
The following code is working in FF but not in IE. There is no value of document.myform["parameters"].value in IE.
The code:
function form_elements()
{
if(document.myform.elements["parameters"].value == '')
{
myform_values = ......
}
}
<form method="post" name="myform">
<div id="parameters_info">
... | stackexchange/codereview |
How can I add multiple tabs to a jsp page ? I'm using struts, are there any jsp tag librarys I can use ?
Thanks,
| stackexchange/codereview |
I have a label in WPF4 and trying to bind the content to a value from c# class. I have created an ObjectDataProvider but for some reason can't see the content or updates. Can you point me to what I'm doing wrong?
Here is the xaml -
<Grid.Resources>
<local:SummaryData x:Key="mySummaryData"/> </Grid.Resources>
<Label Nam... | stackexchange/codereview |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.