Hi,
I have the following section in my app.config
<mySettings>
<addins>
<addin fullname="aaaaa"
path="ddddd"
version="ccccc"
enabled="true"
deleteonload="false" />
</addins>
</mySettings>
And im accessing it using a class that ...
I generally prefer to add controls dynamically, like table and generic html controls, to the ASPX page, rather than add them in the ASPX page and set the properties dynamically.
Which approach is considered "better practice"?
Also is using generic html controls dynamically a better practice than outputting formatted html strings to an ...
If I have a variable in PHP containing 0001 and I add 1 to it, the result is 2 instead of 0002. How do I solve this problem?
...
i have a class which looks like this
public class Process_Items
{
String Process_Name;
int Process_ID;
//String Process_Title;
public string ProcessName
{
get { return Process_Name; }
set { this.Process_Name = value; }
}
public int ProcessID
{
get { return Process_ID; }
set...
I have a fully designed website, but have now realized a need for a shopping cart. Can anyone recommend a shopping cart that lets you add elements to your pages, rather than design a template for? I don't want to lose the work/design i have/have done!
APACHE/PHP, in particular, rockethost
...
(Written in Python shell)
>>> o = object()
>>> o.test = 1
Traceback (most recent call last):
File "<pyshell#45>", line 1, in <module>
o.test = 1
AttributeError: 'object' object has no attribute 'test'
>>> class test1:
pass
>>> t = test1()
>>> t.test
Traceback (most recent call last):
File "<pyshell#50>", line 1, in <modul...
Greetings,
I got the following problem:
On this page (it's /not/ mine, I'm taking it just as an example) you can see under
non-accordion (standard expandable menu)
a ,as the name tells, a standard expandable menu. Now the question that I got:
Is it possible to add by e.g. clicking on a button, to add another menu item, so that in...
Following code, credit: Guffa.
Hello All,
I'm trying to add controls to a Form at runtime based on the information found in a Plain Text File. The structure? of the text file is always the same, and will not change. Example:
File.txt:
Label
"This is a label"
320, 240
Explanation:
Control
Text
Location
The following code, pr...
Hello,
I am trying to add an image item to the content tree - but I get an access denied error at the following point:
item.Add("New Node1"...
The complete code of my method is:
Sitecore.Data.Database master;
master = Sitecore.Configuration.Factory.GetDatabase("master");
Item item = master.Items["/sitecore/Co...
Hi
I have two variables, 'a' and 'b' in my javascript, and i want to add them together - i assume this code:
var a = 10;
var b = 30
var varible = a + b;
This, puts the two numbers next to eachother... any ideas why... the result should be 40?
Thanks!!
...
I have a list that is frequently insertion sorted. Is there a good position (other than the end) for adding to this list to minimize the work that the insertion sort has to do?
...
I extend the Order Class generated by activerecord:
public partial class Order
{
private string _refCustomer;
public string RefCustomer {
get { return _refCustomer; }
set{_refCustomer =value;}
}
}
Then, I tried to populate Order's data:
var info = (from o in db.Orders
join...
Just wondering if this is possible in wpf,
Say we have a Path object p1 with geometry = g1 (same as p1.Data).
Similarly if we have another Path object p2 with geometry = g2 (same as p2.Data).
Now if we would like to know what is g2-g1 (same as p2.Data - p1.Data) is it possible.
How about g1+g2?
Please let me know if you have any suggesti...
Hello,
I have an external API (I can't modify it) with class "A" and local class "B" which overrides methods of "A" and adds an additional function.
I need to use one of them according to some parameter "is_A".
/------ API (A.java) -----/
package A;
public class A {
public int pingA( int value ) {
return value;
}
}
/------ m...
hey...
i need to create textboxes dynamically as user specifies the no..actually there are two textboxes in a row..user specifies no of rows needed.. as specified textboxes(two per row) should be added to the form and also i need to read the text entered later....what is the best method??
...
Consider my variable $result to be 01212.... Now if i add 1 to my variable i get the answer 1213,but i want it to be 01213.... My php code is
echo sprintf('%02u', ($result+1));
Edit:
Answers to this question works.. But what happens if my variable is $result to be 0121212
in future...
...
Hi,
I am new to ruby on rails.
I have a website with a lot of static pages. I want to add a number of dynamic pages to the website and these I am going to develop in ruby on rails. The functionality offered by these pages will be triggered when the user clicks on one of the buttons which is on one of the static pages. I am thinking th...
hey there, Im having problems displaying my results in this program but the program compiles. Any idea as to what is going wrong?. The purpose of the program is to take two, 2 by 2 matrixes and add them to create the matrix called result. but when it comes to displaying the values in each matrix (A,B and result) it hangs. why does at the...
I'm try to create a simple form that spits out a measurement. For Example
32 B should be (32+5)=37
I'm not sure whats wrong. Please help~
Thanks so much!
<HTML>
<HEAD>
<TITLE>Bra Size to Chest Size</TITLE>
<SCRIPT LANGUAGE="JavaScript">
function CalculateSum(Atext, Btext, form)
{
var A = parseFloat(Atext);
var B = parseFloat(this.Cup...
Hello. I need an advice about how to create new string array from 4 different string arrays:
We have 4 string arrays:
string[] arr1 = new string [] {"a1","a2","a3"..., "a30"};
string[] arr2 = new string [] {"d10","d11","d12","d13","d14","d15"};
string[] arr3 = new string [] {"f1","f2","f3"...,"f20"};
string[] arr4 = new stri...