GREAT - that did the job, thx!
it can be coded a bit tighter though - for those interested:
if (myXmlDocument.DocumentElement.Attributes["xmlns:ns1"] == null)
{
myXmlDocument.DocumentElement.SetAttribute("xmlns:ns1", "uri1");
}
i'm creating an XmlDocument using c#. the code looks about like this:
myXmlElement = XmlDocument.CreateElement("prefix", "name", "uri");
ParentElement.AppendChild(myXmlElement);
the xml structure is supposed to look about like this:
<root xmlns:ns1="uri1" xmlns:ns2="uri2" xmlns:ns3="uri3">...
found a solution that works for me - don't think it will interest anybody but i'll post it here anyway in case anyone faces the same kind of problem i did it might give you at least some input.
the idea is still the same: to use a temporary table. but the trick is to only insert the rowid and...
...FROM
(SELECT ROW_NUMBER() OVER(ORDER BY A) AS RowID, A, B, C
FROM Table1
WHERE B = 'x')
AS Table1
WHERE RowID BETWEEN 11 AND 20
SELECT COUNT(*)
FROM Table1
WHERE B = 'x'
can i include the count somehow in the first statement?
i tried using group by clauses but that doesn't work with...
i changed the loading procedure from "CreateInstanceFrom" (where i can specify a filepath) to "CreateInstance" (where the assemblies must reside in the web applications bin folder). this works now - but i'm still wondering what the other problem is. so if you got any ideas, they're still welcome...
hi
i have a web application and i need to dynamically load assemblies into that application. in order to not have my assemblies locked i enabled the shadowcopy-feature (or more precisely: i added the path of the assemblies to the shadowcopypath since shadowcopying is by default enabled for...
1. append the javascript to your page upon postback.
2. call the javascript in the pages onload-event (or use the pages registerscript-function or whatever similar instead).
hi
i created a setup project for a windowsservice which contains a projectinstaller class. to that class i added an eventloginstaller to setup my custom eventlog (this is all following the msdn instructions). the problem i'm encountering is that the serviceinstaller sets up a (standard) eventlog...
i understand that a byte array containing information encoded in unicode can (obviously!) not be decoded using, for example, ascii; the result is data "garbage". what i don't understand is why even a temporary conversion fails, or in other words, why the data "garbage" can not be reconverted...
hi
some fool put the ntfs-security on the webserver to everyone/full access for ALL directories (!). i changed that back to administrators/full, system/full and users/read.
i then set everyone/full to c-root (only) and the temp folder, and everyone/read to all directories inside the wwwroot...
hi
i usually make tooltips like this:
<SPAN title="Tooltip">some text</SPAN>
that works fine; but now i got a tooltip where i would like to insert a new line, for example:
<SPAN title="Tooltip1<BR>Tooltip2">some text</SPAN>
Unfortunately that doesn't work, since Tags are...
Hi
just wanted to say 'thank you' to all who helped me out when i had a problem developing my flash-application. it's finished (for now) and here's the link to it:
www.tungiasis.net
the site is about a cd i recently released with a friend. its in german but you should get the idea anyway.
btw...
i reviewed the problem after a 15min break and immediately saw that there was an error in the asp-page (before responding the vars); should have taken the break earlier...
sorry and thanks anyway.
hi
what kind of syntax has to be used to load vars from an asp-page with the method myLoadVars.sendAndLoad()? i thought its something like
response.write("var1=abc&var2=def")
but when sending this response i get an error (url not found). when sending an entire html-page there's no...
I just put a trial version of a new homepage online - entirely built with Flash. I'd appreciate any comments!
Let me note a few things first:
1. The site is entirely in German - but I guess you should get along anyway.
2. Don't miss the Downloads-Section!
3. You can place your comments right...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.