|
hi all,
i have a xml files which the the data is in attributes like this:
<detail>
<record>
<field name='field1' value='value1'/>
<field name='field2' value='value2'/>
<field name='field3' value='value3'/>
<field name='field4' value='value4'/>
</record>
<record>
<field name='field1' value='value1'/>
<field name='field2' value='value2'/>
<field name='field3' value='value3'/>
<field name='field4' value='value4'/>
</record>
</detail>
since datatables read only xml that are formated without attributes how could i load this into a datatable?
|
|
|
|
|
Seems like you'll create code to parse/load it into a table or use an XSL transform and then load it via ReadXml.
|
|
|
|
|
Any idea of a xsl/xps generator for attributed XML?
|
|
|
|
|
Sorry, you'll have to do some googling. I don't know of any.
|
|
|
|
|
I want to read some files over a network from over 200 pcs. I want to read from 1 pc and if ReadTimeOut has been reached, I want to try a different pc because I do not want to wait forever if I can not read from a certain Pc. How can I do this? FileStream has a property to set the ReadTimeOut but how do I know when this timeout is reached so I can do something else, and try again later.
|
|
|
|
|
|
|
I was actually reading about BeginRead() and IAsyncResult and that is why I asked the question. But the thing I am confused about is would I call BeginRead() on something like 10 different pcs and when each returns it will invoke the delegate in my code? Or do I have to do it differently? Also, can I store the data for all these files read in DataTable objects--1 for each pc--or is that too much resources? The files are not big but just about 50 lines.
|
|
|
|
|
Hi,
I want Auto complete with textbox with multiple columns.
I've seen alredy Auto complete combobox with multiple columns.
But I need it in text box.
When user enter a product it should popup autocomplete window and its related information. eg: Product Rate,Stock etc.
Can anyone help me Please? i am using c#.net 2008 Windows Application.
|
|
|
|
|
|
Mika Wendelius wrote: Did you serach the articles: http://www.codeproject.com/info/search.aspx?artkw=Auto+complete+textbox+&sbo=kw[^]
For example http://www.codeproject.com/KB/cs/AutoCompleteTextBox.aspx[^] looks promising.
Amazing, 5'ed.
|
|
|
|
|
Hi,
Thank you for your reply.
But i want more than one column in Auto Complete Text box.
Thank you.
|
|
|
|
|
Intellisense stopped working for anything in my App_Code folder - my class files and what not. Works just fine for regular code-behind pages.
Any ideas?
|
|
|
|
|
I've seen this happen while Debugging if you have it set to Release mode instead of Debug mode (no debug symbols created for Release exe).
Keep It Simple Stupid! (KISS)
|
|
|
|
|
By the way, I think my Texans will take care of business up there in the 'frozen tundra' this weekend .
Keep It Simple Stupid! (KISS)
|
|
|
|
|
Not a chance....Unless our secondary fails to show up like they haven't for the past couple games....
My 5-7 team is better than your 5-7 team!!!
|
|
|
|
|
packerfan1904 wrote: Not a chance....
I second that
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Damnit, figured it out. Typo in the web.config file...
|
|
|
|
|
i'm making my own system locker because i do not want windows authentication to unlock the pc. I just want to lock the pc's explorer operations(e.g. no start menu pop up when user press windows key, no context menu,etc)but other working processes should keep work, similarly like windows system locking.
Thats why i thought to kill the explorer process and it did something like this, but when i press Alt+Tab, everything get restored.
So i wanna ask is there any otherway to do this ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
This is all done through Group Policy. Pick up the Windows XP Resource Kit and it's documented through about half that book.
|
|
|
|
|
http://search.barnesandnoble.com/Windows-Group-Policy-Resource-Kit/Derek-Melber/e/9780735625143[^]
hmmm... costly, wont bother to buy just for one thing. Any other idea man.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Costly, huh? How much do you get paid an hour?? How long will it take you to write this app and support it??
Think of it this way. You have many holes to plug in this dam and not enough fingers and toes to plug them all.
And, on top of that, there are some holes that you cannot plug with code, but can only be plugged by policy.
|
|
|
|
|
HEHEHE....dude im not working under someone neither its my job. I just make programs for fun and for my use.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
no worries, i have done what i wanted by using some API.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKSQXUFYK[M`UKs*$GwU#(QDXBER@CBN%
Rs0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
--------------------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hi all
i've created a Form (Form1.cs) and Control Array handler (PictureBoxArray.cs) which all works fine but my problem is I want to be able to access the *clicked on* picturebox but it doesn't seem to be working, well I cant make it work is a bit more truthful. I'm sure its fairly simple but I can't work out a way of doing it and now I've been looking so long I'm kind of blinded by it!
I have this in my PictureBoxArray.cs
private void pictureBox_MouseDown(object sender, MouseEventArgs e)
{
System.Windows.Forms.MessageBox.Show("You have clicked button " +
((System.Windows.Forms.PictureBox) sender).Tag.ToString());
}
but but from here I can't do things like change the background colour, if I put a button into the main form (Form1) and do a :
public void button2_Click(object sender, System.EventArgs e)
{
pictureBoxArray[0].BackColor = Color.Red;
}
then it works fine but I want to be able to change the colour of the one I clicked on so I need to know which one it is (does that make sense ?)
I folowed the msdn guide on creating the control array here http://msdn.microsoft.com/en-us/library/aa289500(VS.71).aspx[^]
I sure it is probably fairly simple but like i said I've just lost it now !
thanks in advance for any help
tim
|
|
|
|