Can any one please let me know that, I need to add a column dynamically when executing mysql query
Table: Table1
--------------------------
col1 col2 col3
--------------------------
Test OK Test3
Test OK Test5
Test OK Test6
from the above example i need to introduce "col2" as new column and its value to be as "OK"
Can some one help me create a regular expression in C#.net to add target="_blank" to all tag links in my content? If the link already has a target set then replace it with "_blank". The purpose is to open all links in my content in a new window.
Appreciate your help
-dotnet rocks
I have installed SharePoint Farm on Windows Vista, all things went normally, my account is administrator. Now I wish to add other users in SharePoint, how to do this? I have to create a new account on Windows? or there are facilities for Windows SharePoint administrator to create users? I read something by Active Directory but on Windows Vista I have not found it.
Any ideas?
In Oracle, you can write:
update t
set xml = updateXML(xml, '/a/b/text()', 'gaga')
This works only if you already have some text in the <b> element. How to update the document and "add some text" in <b> if the document in the database looks like:
<a>
<b/>
</a>
I'm trying to write a Cocoa app that makes it easier for Android developers on Macs to create Android apps.
When a user presses a button on the app, I want it to add a certain directory to the environmental $PATH variable on the Mac.
Is there another way to do this via Cocoa instead of opening up the .bash_profile file and adding the path manually?
Thanks for any help in advance.
How can i reset a display:none and add some value here is the code
onclick="$('reason{$test->id}').css('display:block');
$('#reasonid{$test->id}').val(this.value);"
Hi All
Can anyone please tell me how to add table background image in wicket. Actually I've tried a lot like
<table background="images/logo.jpg">
also
<style>table {background-image: url('images/logo.jpg')}</style>
also
<table style="background-image: url('images/logo.jpg')">
But nothing works.
Please help. Thanks in advance.
Hi All,
How do I conditionally add the style 'color:red' to the .CurrentDifference if the value happens to be a negative value?
Thanks,
rod.
<div class="sRow">
<div class="sLabel p40">
Difference:
</div>
<%= (!String.IsNullOrEmpty(Model.Amount)?Model.Amount.CurrentDifference.ToString("c"):string.Empty) %>
</div>
I'm trying to figure out a way to add a binding extension to an endpoint via code, instead of through configuration files. Ideally I want it to simply be an attribute I place on the service method.
So far it seems like the only thing that isn't exposed publicly is the binding extensions.
I add to my project a PageFunction and I get a dozen of the following error and the project won't compile:
'ResourceDictionary' root element is a generic type and requires a x:Class
attribute to support the x:TypeArguments attribute specified on the root
element tag.
Basically I get an error for each DataTemplate I merge in the ResourceDictionary, has anyone encoutered this problem before?
Note: I use VB.NET 3.5 on VS 2010.
After many efforts, i did installing of java_ee on my system.
I'm using eclipse Galileo. After i try to add a new server, I choose the location for glassfish, click next and it gives me:
home/banco/glassfishv3/glassfish/domains/domain1 is not writable
Since the glassfish is situated in Home folder, i can't understand the reason for this error
I have used the folllowing steps to add classes to my build path still i am geting errors as import not resolved.I had followed the following steps.
Select Create New Folder and name it
TpmWebUIClasses.
Click the Advanced button and
select the Link to folder in the
file system check box.
Browse for to the folder where you
have copied the classes
Make sure the selected folder is
listed and then click OK.
How can i resolve the error?
Hi, i have a query that returns something like this.
ID | Company| Total_Money | no_items | count_Total_Money_For_Company
-----------------------------------------------------------
1 | A | 1000 | 1 | 2001
2 | A | 1001 | 0 | 2001
3 | B | 1001 | 1 | 5010
4 | B | 1002 | 1 | 5010
5 | B | 1003 | 1 | 5010
6 | B | 1004 | 1 | 5010
7 | B | 1000 | 1 | 5010
How can i add that column with the count for that company?
how do i add default magento contact form to a static block?
{{block type="core/template" name="contactForm" template="contacts/form.phtml"}}
doesn't seem to work.
thanks
I want to add one more function/property to a text property of a textbox like this.
txtControl.Text.IsEmpty(); or txtControl.Text.IsEmpty;
which returns me bool value.
I dont want to compare for empty string every time.
i.e.
if(txtControl.text==string.Empty)
{}
else
{}
Can we do some other way also
if just want to do it like
if(txtControl.text.isEmpty){}
I'm trying to figure out a way to add a binding extension to an endpoint via code, instead of through configuration files. Ideally I want it to simply be an attribute I place on the service method.
So far it seems like the only thing that isn't exposed publicly is the binding extensions.
I would like to add some buttons on CPLayerHostingView. I have tried the same by creating some an object of UIButton and adding it as subview on my CPLayerHostingView but it didn't worked as expected. Please help me to do the same.
I want to add a unique attribute say "ind" to every tag in the xml. How do i do it using xsl. It need'nt be a sequence number. As long it is unique for every tag it is sufficient.
Input:Some textSome other textSome other text
Expected output: Some textSome other textSome other text
i need following algorithm
let say we have 5 //101 and 7 //111 numbers are arbitrary i need to add these numbers using the recursive method and at the same time using bitwise methods
such that result should be
101
+
111
110 0
or 12 can anybody help me?
I have a weird requirement. Is there a way to allow someone the ability to create folders, edit files, add files on a server without using a FTP client. This would ideally be browser based and under one admin sesssion.