|
Mr nelsonpaixao, my Image in database And not in file ...
if(Human.live)
{
Human.peaceful = false;
while(true)
{
Human.love(Human girl, Human Boy);
}
}
|
|
|
|
|
hi
i want to load external codes to my project
i need run defferenct codes by defferent developers that i dont know what they write in their codes
but there is same naming roles in system
external codes have same operation names, makes running codes easy
but base of system is wich they wrote in there functions and methods
How can i load external dlls in my code and use their functions?
tnx
|
|
|
|
|
Hi,
You probably want to take a look at Reflection.
Also, while I realise your first language may not be English, I suggest you run your posts through some form of English spellchecker (the Google toolbar has one), and if possible a grammar checker. You may find that helps you get better results.
Tony
|
|
|
|
|
Suppose that the thread which parses any page put found URLs in a URL server,
how i can use multy_threading to download the content from internet
|
|
|
|
|
Perhaps you should rephrase your question. It doesn't make any sense (or it's too general).
The need to optimize rises from a bad design.
My articles[ ^]
|
|
|
|
|
Visual studio 2008 c#
i have a treeview with nodeA, nodeB, NodeC.
i have array with child in tow colums (name of child, name of parent)
i want to insert this value into the treeview, but i don't now how to insert the child to the receptive parents
IN VB6
Set xNode = tvClass.Nodes.Add(xPai, tvwChild, xcod, xText, 1, 2)
|
|
|
|
|
Have you done a search on this? There should be plenty of documentation on how to do so.
"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
|
|
|
|
|
Simply press F1 on TreeView class and you'll get something like: TreeView Class[^]. If you scroll down a bit you'll find good basic examples.
The need to optimize rises from a bad design.
My articles[ ^]
|
|
|
|
|
Hello!
Yesterday I posted an article, which tried exactly to explain my problems with Linq2Sql - Dataclasses.
It contained 3 questions, but the simply answer I got were 2 Ratings of "1", so from now on noone will find that article anymore.
So I ask you again, please to help me.
My questions in short are:
- How can I define in the DataClass-Designer an Linq2Sql-Association with deletrule.cascade ?
- Is there a more simple way to add Entities directly to a Table<TEntity> (without submitting data to the DB)?
- How can I enforce the Datacontext to submit Delete-Commands, when I delete a Child-Entity from a DataGridview (actually it submits an Update, which sets the Child.ParentID to null)?
As I said, my questions are asked more detailed in that article[^], and are shipped with a sample-project to make it easy to reproduce my problems.
|
|
|
|
|
Well Mr poorenglish an article is supposed to be an informative, instructional contribution from you to CP. If you pose a complex question in an article then you must expect it to be vetoed as a rubish article.
If you look at the forum list you will find a forum for LINQ and dotnet 3.5. I suggest you pose the questions in that forum and just possibly you may get an answer.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Hmm - in my opinion the article was informative and instructional too.
- It shows, how to set up a SQLServer-Database fromout a real Designer. (IMO that Table-"Designer" of the Database-Explorer cannot seriously be called "Designer").
- It shows, how to avoid superflues Database-requests by first adding new Entities in memory.
- It points out, that the Linq2SQL-DataContext creates Requests wich may not reflect the user-Input propperly.
Ok, u're not the right address to argue with about my ratings
And thanx for the tipp with the appropriate forum, I will look, wether I can find it.
|
|
|
|
|
Sorry - I did not (and still have not) read the article so I only judged the content from your posting here.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Mr Poor,
The purpose of an article is to educate others. You should not write an article to ask questions.
The right way would be break down your problems to smaller units and work your way up. Ask questions, pin-pointing the exact problem in an appropriate programming forum and you'll sure be helped.
After all your problems are solved, write down an article. Neatly explain the problems that you encountered and the strategy that helped you to over come the problems.
Cheers,
Rajesh R Subramanian.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
Hi!
I dont agee with u.
The article is educating - can't u see that?
pls look at my answer to Mycroft.
Sorry, that I formulated the statement "Linq2Sql-Dataclasses leak providing basic functionality", sorry, that I've formulated that as a question (truth is: I do not like to believe that myself)
But simply decide: "That article ends up with a questionmark - rubbish!" - what I said: I don't agree with that.
|
|
|
|
|
This is from the original post: Yesterday I posted an article, which tried exactly to explain my problems with Linq2Sql - Dataclasses.
It contained 3 questions...
Mr.PoorEnglish wrote: But simply decide: "That article ends up with a questionmark - rubbish!" - what I said: I don't agree with that.
Nope. I haven't decided yet, but it is better left to the readers and staff, methinks.
Cheers,
Rajesh R Subramanian.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|
|
what I understand is, that u decided, to forward it to the staff and expect them to remove it - hmm, hmm, and now its a "matter of opinion", wether that makes a big difference or only a small one, isnt it?
|
|
|
|
|
Mr.PoorEnglish wrote: It contained 3 questions, but the simply answer I got were 2 Ratings of "1", so from now on noone will find that article anymore.
Perhaps you need to check spelling, capitalization, and formatting. It is lacking any real informative value for anyone. You even state in the beginning it is more of a question, and in your conclusion, you say you even treat it as a long post, hoping someone will answer your questions for you.
"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
|
|
|
|
|
You seem not to understand that an article is not the correct place to "ask questions". The whole purpose of articles is to describe a solution, or provide information, not solicit help or ask for answers. The forums are the correct place to ask those questions, but this particular forum may be a bit to general in topic to be ideal for your questions. As has been pointed out, the linq and .Net3.5 forum would seem an ideal place for the questions.
The 1 votes and removal of your article were because it was an inappropriate use of an article.
|
|
|
|
|
Rob Graham wrote: The whole purpose of articles is to describe a solution, or provide information, not solicit help or ask for answers.
It would be understandable if he did the article in the form of: here are questions I had with such-and-such, and here is the solution I came up with.
"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
|
|
|
|
|
Hi All,
I'm just working on some new features for my current project. Its a WPF project that makes use of the Composite Application Library. I have a number of assemblies that all talk to the database via a single class caled DatabaseManager in my data layer module. Part of the Composite Application Library is a dependency injection container so all other modules communicate with this class via the IDatabaseManager interface. The class is used to keep table on what is being done with the database so is also registered with the container as a singleton.
At the moment the interface defines 12 properties/methods and I'm just about to add 2 more to this.
Considering the context does this constitute a bloated interface? Its not as if its a 'normal' interface that is going to be implemented in multiple classes its more of an API onto a single class due to the dependency injection.
|
|
|
|
|
It's too big when you can't dead-lift it.
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
Considering interfaces themselves have no implementation details, I don't think this is an issue. If all of the methods/properties logically make sense to belong to the same interface, then they should be in the same interface. If you can logically break things up into smaller portions and those portions could possibly be used elsewhere indepedantly of the larger whole then break them up and have IDatabaseManager inherit from the smaller interfaces.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
|
in c#....
i have form1 and from there i am openning form2 (normally or as dialog). now wehn user enter a value in form2textbox how can i update form1textbox with the same value?
|
|
|
|
|
if u open it as dialog the call .ShowDialog the blocking of the code-Execution in OwnerForm makes it easy. U can read the Text of the Control after .ShowDialog() has run through.
Furthermore u can use the returned DialogResult to figur out wether the user wants to cancel his input.
Opening it with unblocking .Show() requieres, that u watch the ChildForm_Closed-Event.
In both cases it would be the better programming-style if the ChildForm provides a special Property to read out.
|
|
|
|