Currently I'm looking at a problem with web references in vs2005 .net
I have multiple web applications with multiple dynamic web references, now in the web.config I see the following code:
<applicationSettings>
<MainWeb.Properties.Settings>
<setting name="MainWeb_localhost_WebService" serializeAs="String">
<valu...
I have a huge query that is being made dynamically, but I want the select statement to not output the column names, buut custom values. FOr example, if I am doing a normal Linq query, I can do something like this:
var v = from p in db.items select new { name = p.item_name, price = p.item_price };
which will give me the nice '.name' a...
I have a nested movie clip instance that I want to access. The path to the movie clip is defined by two variables ( similar to a row and column).
I am already dynamically accessing the parent movie clip like this:
eval("row" + ActiveRow)
Now I want to access one of row(#)'s children called let(#) dynamically.
Here are my best guesse...
Ok, so I have a custom render that I have created:
<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"
horizontalAlign="center"
verticalAlign="middle"
width="100"
height="100">
<mx:Script>
<![CDATA[
[Bindable]
private var fileLabel:String;
[Bindable]
private var fileIcon:Class;
override publi...
I have a WebBrowser control that is created and added to the form during run-time.
How do I connect this control to subroutine that can handle its events at run-time?
...
Hi all I have a horrid database I gotta work with and linq to sql is the option im taking to retrieve data from. anywho im trying to reuse a function by throwing in a different table name based on a user selection and there is no way to my knowledge to modify the TEntity or Table<> in a DataContext Query.
This is my current code.
publi...
I have 5 movieclips called row1, row2, ..., row5. Inside each row are the movieclips let1, let2, ..., let15. I want to assign all of the letter clips to a 2 dimensional array. This is a followup to an earlier question http://stackoverflow.com/questions/538133/dynamically-accessing-nested-movie-clips-in-flash-actionscript-2 .
I am t...
The title says it all... What are the real world pros and cons of executing a dynamic SQL command in a stored procedure in SQL Server with
EXEC(@SQL)
versus
EXEC SP_EXECUTESQL(@SQL)
?
...
Hey Guys,
Getting the following error
Multiple controls with the same ID 'ltlItemCode' were found. FindControl requires that controls have unique IDs.
This Error does not happen on page loads but when I change the value of a drop down which has AutoPostBack="true".
Code is
`//Number of Services
numberofServices = Int32.Pa...
Hello!
I'm trying to create dynamic balls by using for loop.
For some reason I get two objects (trace show 2 balls and their DIFFERENT properties), but on the stage I can see just a last one created.
This is my code:
var randomBall_mc:ball=new ball();
for (i=1; i<3; i++)
{
addChild(randomBall_mc);
randomBall_mc.name="rando...
I want to create a class file dynamically. Here it goes...
With the given ResultSet, extracting the metadata I want to build a class file dynamically with getter and setter methods for all the columns that exist in ResultSet. Also I should be able to use this class file generated where ever I want in my later use.
Can any body suggest me...
Hey,
I need to make a rather complex query, and I need help bad. Below is an example I made.
Basically, I need a query that will return one row for each case_id where the type is support, status start, and date meaning the very first one created (so that in the example below, only the 2/1/2009 John's case gets returned, not the 3/1/200...
I know how to do this with pure PHP but I need to do this without reloading the page. Is there anyway with jQuery to effectively pull back some database results (based on what a user has input in the first text field on a form) then populate some of the remaining fields with data pulled back from a db query?
Essentially I would like to...
I have a dynamic ActionScript Class that is used to send parameters to a WebService. Some of these parameters are always present, so they are public properties of the Class:
package
{
[Bindable]
public dynamic class WebServiceCriteria
{
public var property1:int;
public var property2:String;
public v...
I have written an external script that needs to run after DOM is ready (or after onload if thats impossible).
I use this method to load the script dynamically since I need parameters on the script:
<script type="text/javascript">
document.write(unescape("%3Cscript src='mydomain.com/script.js.php?u="+encodeURIComponent(window.location.h...
I have a strange issue with WPF, I was loading images from the disk at runtime and adding them to a StackView container. However, the images were not displayed. After some debugging I found the trick, but it really doesn't make any sense. I've made a small demo app to identify the problem:
Create a new WPF project, and paste code as ...
I have a table in my database that I use to manage relationships across my application. it's pretty basic in it's nature - parentType,parentId, childType, childId... all as ints. I've done this setup before, but I did it with a switch/case setup when I had 6 different tables I was trying to link. Now I have 30 tables that I'm trying to d...
Hello.
Heads up: I am quite new to Javascript and have so far only written very basic scripts based on jQuery.
I am a quick study though..
What I am after is a way to:
1) identify tags
2) read the img tags
3) wrap the tag with an <a href> tag with a dynamic link based on the src of the img.
Example:
<img src="../../img_T/Cultur...
There are a lot of discussions all over the internet and on SO, i.e. here and here, about static vs dynamic languages.
I'm not going to ask again about one vs another. Instead, my question is for those who moved (or at least tried to move) from static typed language to dynamic.
I'm not talking about moderate usage of JS on your web pag...
I'm wondering if there's a better way to add dynamic methods to an existing object. Basically, I am trying to assemble new methods dynamically and then append them to an existing function.
This demo code works.
builder = function(fn, methods){
//method builder
for(p in methods){
method = 'fn.' + p + '=' + methods[p];
eval(method...