|
That's not an XML document. That's a fragment of an XML document - you're missing the header. Do you have any XML namespaces, or XSD's referenced?
|
|
|
|
|
If you mean the XML declaration (<?xml version="1.0" encoding="UTF-8"?> ), that's not required.
The XML declaration is not required, however, if used it must be the first line in the document and no other content or white space can precede it.
All of the .NET XML libraries will happily parse an XML document without an XML declaration.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
The fact he didn't include this part makes me think that other parts are missing (hence why I raised this). I know the declaration part isn't needed, but if there's any namespace in there, that will be needed.
|
|
|
|
|
According to this message[^], he originally had:
="1.0"="utf-8"
but he removed it to see if it made any difference.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Ah, okay - I based this off the first post.
|
|
|
|
|
Hi there,
I use Oracle 11gR2 database. I am developing in Visual Studio 2013 with C# and using ODP.NET.
Question 1
Does ODP.NET support Dictionary collection? I couldn't seem to find the necessary information so i was wondering if someone could explain if this is possible please?
Question 2
Secondly I have the following collection:
Dictionary<int, List<int>> myDict = new Dictionary<int, List<int>>();
My intention is to send this collection to my stored procedure and perform a Bulk insert of this data.
If it is possible how can I go about doing this?
Can someone provide me with example in PL/SQL and C# please?
Kind Regards,
modified 7-Jul-15 5:14am.
|
|
|
|
|
No database engine out there knows what a .NET Dictionary is.
Since your using a stored procedure on the database side, you might be a bit disappointed. Read these[^].
|
|
|
|
|
Thanks for your input. I will check those links out.
Ultimately what I am trying to achieve is to improve the performance of the application I am working on.
Currently I do a database call for each entity. This works but from a performance aspect it isn't good hence why I decided to ask the dev community.
|
|
|
|
|
How to write a C# code for create a current(System date) DATE&TIME folder per day and copying files continuously from watching a specific folder 'hai'
ex:Desktop/hai ---->watching folder
Desktop/hello/07-07-2015/abc.txt
Desktop/hello/08-07-2015/xyz.pdf ----->target folder(here create DATETIME & copy files every day)
|
|
|
|
|
What have you tried?
Where are you stuck?
What help do you need?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I WANT SOLUTION FOR CREATING DIRECTORY EVERYDAY AT 12.00AM(E:\TARGET_DIR_WITH_CUR_DATE) THEN COPY FILES TO RECENTLY CREATED FOLDER (TARGET_DIR_WITH_CUR_DATE) FROM SOURCE(CONTINUOUSLY WATCHING FOLDER)IN D:\SOURCE.
|
|
|
|
|
DON'T SHOUT!
Did I shout at you? No.
So what yell at me as if I'm an idiot?
Using all capitals is considered shouting on the internet, and rude (using all lower case is considered childish). Use proper capitalization if you want to be taken seriously.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
CREATING DIRECTORY EVERYDAY AT 12.00AM(E:\TARGET_DIR_WITH_CUR_DATE) THEN COPY FILES TO RECENTLY CREATED FOLDER (TARGET_DIR_WITH_CUR_DATE) AFTER 12.00AM FROM SOURCE(CONTINUOUSLY WATCHING FOLDER)IN D:\SOURCE.
|
|
|
|
|
That's just shouting at Griff for not being able to see what you have on your screen. Rather than stating requirements, why don't you tell us what you have done? What code do you currently have or are you expecting someone else to supply the code for you?
|
|
|
|
|
I would suggest that you look up
Directory.CreateDirectory[^]
File.Copy[^]
Then I would try to build the process that you are after, if you still have problems after that I would post the relevant code that you are working on and describe the problem etc.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Hi please why i cant download any zip file from this site
|
|
|
|
|
|
Either your browser is messed up in some way or you have some antivirus that is flagging the .ZIP files as bad, even if they are not bad.
|
|
|
|
|
I guess you're trying to right-click and save. That does not work for me too. It downloads a 26 kb junk file.
Instead, just click on that zip file (I mean left-click). A new window opens up, and your download starts. This works fine for me.
modified 6-Jul-15 10:30am.
|
|
|
|
|
It doesn't download a "junk file" it downloads the webpage to download the zip - which is in itself useless. Have a look with a text editor, and you'll see the CP HTML source...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
|
In CP every download of a source form an article gives the author some reputation points...To make it possible you must download the attached files via a special page that adds the points, so the link is not really a link to some file but to a page and for that 'download as' will download the page and not some file...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
string[] names = new string[] { "Alex", "George", "Bob" };
For the example above in Visual Studio the string is blue which represents the string class and "Alex", "George", "Bob" are red.How I change the colors of that to what I want and I saw a video which had light red the 0 and 1 of this
array[0] = 1 ;. thank you.
|
|
|
|
|
On the "Tools" menu, select "Options..."
In the resulting dialog, open the "Environment" branch, then select the "Fonts and Colors" page.
It allows you select the fore- and back- ground color for each part of the syntactical highlighter.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Nice thank you but can't find any words related to arrays to make the content of an array light red.
|
|
|
|