Join 150,402 C# Programmers for FREE! Get instant access to thousands of C# experts, tutorials, code snippets, and more! There are 963 people online right now. Registration is fast and FREE... Join Now!
Community my ass. Why can't you guys help him? He's not asking for the whole code, he just wants the equivalent function of "setString()".
Actually, no.
He's looking for database code equating to prepareCall, which is not a trivial answer. The way the question is phrased would lead anyone with expirience to believe that the Q&A session following any answer would be long, drawn out, and painful. The question shows not just an unfamiliarity with C#, but also Java and OO in general. Answering such a question is like sliding down a hill razor blades into a pool of alcohol. Any sane person whould shy away.
Ok, coffee has kicked in. This is all I'll say:
The answer would be to look all the DbCommand interface. Better yet, actually read something about C# database connections. PsychoCoder's tutorial OleDb Data Objects in C# has the answer, for instance.
Community my ass. Why can't you guys help him? He's not asking for the whole code, he just wants the equivalent function of "setString()".
Jesus.
WTF??!! I went and looked at the threads you started and all your questions were answered, so I don't understand you're reaction here
EDIT: and this is a community, we volunteer our time, free I might add, to help people the best we can. We are not, however, here to just do peoples work. As baavgai stated, if he knew anything about Java, C# or OO he would know where to start, then if he ran into trouble after that he could have asked for help.
We push people to solve their problems, we are here to help after they've at least tried to solve it themselves. If they cant help themselves how are they going to make it in the real world as a programmer?
This post has been edited by PsychoCoder: 7 Mar, 2008 - 07:27 AM
Community my ass. Why can't you guys help him? He's not asking for the whole code, he just wants the equivalent function of "setString()".
Jesus.
WTF??!! I went and looked at the threads you started and all your questions were answered, so I don't understand you're reaction here
Yeah, you guys did help me! And I'm massively thankful! I'm just annoyed that someone asks a simple question that isn't even asking for full code, and some of you just type: "Please use [code] for your questions"
If he's asking it means that he doesn't know. Why not help someone out?
Edit: Here's his question again: What is the C# equivalent of a setString()?
I would answer him if I knew. And I know the answer isn't more than 3 lines. :S
This post has been edited by papuccino1: 7 Mar, 2008 - 07:29 AM
Well, from the way the post is worded its pretty clear that he hasn't even made an attempt at helping himself. We don't mind helping people, in fact the majority of us do it because we love to. But what we don't like is someone who doesn't even make an attempt to solve a problem, someone who just expects his questions to be answered just because he asked. Thats not how the real world works
So if I asked for instance: "What is the equivilant of print() in C++?"
If you asked that question, without any preface as he did, my first thought would be why you didn't use Google. If you had you would at least have something to show you tried. Had he tried Google he would have found his answer here
All we ask is that someone try before abandoning it and wanting someone else to give them what they need before even attempting to figure out themselves