|
Member 15750670 wrote: I tried using datagridview, but it has too many bugs
Like what? I've been using it for well over a decade and it hasn't shown any bugs in all that time.
Member 15750670 wrote: I tried using datagridview ... is too hard to understand
I suspect that the "bugs" comment and this are related by a common factor: you don't know how to use a DataGridView.
Maybe this wold help: C# DataGridView Tutorial[^]
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Yes, part of it is exactly that: I don't know how to use a DataGridView. I have not found enough examples (that's how *I* learn). I DID find (and document) some squirrelly behavior in one program that I have since discarded.
|
|
|
|
|
Member 15750670 wrote: I have not found enough examples (that's how *I* learn)
Then stop trying to learn like that: you don't learn properly by looking at existing code because code doesn't tell you *why* it is like it is: what was tried, what was rejected, why was it rejected.
Development isn't a "memory exercise" like learning a language, or chemistry, or biology - it's a skill, and the only way to learn a skill is to think and try. You can watch as much of the Tour de France as you like, it won't teach you to ride a bicycle!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I don't need to know "why" until I can get it to work the way I want. My goals are clear. I am an accomplished mainframe professional. I learned most of what I know from examples, not by poring through reams of unintelligible documentation. Now I am embarking on a hobby of learning C# and .Net. I appreciate the advice of people who have been there.
You are wrong. Watching the Tour de France can give you a lot of insight to riding a bicycle in a crowd. I believe you are a little narrow-minded to think that everyone learns the way you do (or did).
How is step 1. Why is step 2.
Thanks for your input.
|
|
|
|
|
And that's why you have problems getting stuff to work.
When you have kids, expose them to loads of Tour de France, then put them on their first bike - no training wheels needed! - and let them cycle away down the hill.
Have an ambulance on call.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Member 15750670 wrote: I am an accomplished mainframe professional Wow mainframe work must be lot simpler than what we do then! So if you cannot find a "control" that does exactly what you want then get a good book (most people ask for recommendations here) and work through the relevant examples customising it to meet your requirements.
You don't need to go through "ream of documentation" but you will need to understand the details of the datagridview is you are going to get a good looking and functional result. Do the work!
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
I didn't think there was going to be so much condescending commentary out here.
Mainframe work is NOT simpler. It's the same, just a different environment and a different language.
I have done LOTS of research for a "good book". They don't exist. I have spent hours going through online searches. There is lots of beginner-level stuff, but nothing to assist me.
My motto is "work smarter, not harder". None of this is from the lack of "doing the work". I have not found enough examples. I have not found enough mentors who are willing to ASSIST instead of SCOLD, especially here. It's really easy to sit up there and spout general instructions. If you have something specific and useful to contribute, then it's welcome. Otherwise, please keep your remarks to yourself; they are not appreciated.
|
|
|
|
|
Your "my way or the highway" attitude is what's condescending. People were trying to help, but you reject it as not up to par.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
Member 15750670 wrote: I don't need to know "why" until I can get it to work the way I want
If you don't understand the "why" behind the functionality, how are you going to "get it to work"? The only way that can happen is if you guess and get it correct, and that will almost never happen on the first try.
|
|
|
|
|
"Why" sometimes takes a lot longer to figure out than following a good example, trying it out, and seeing if it works. I have used that technique many times. I would love to know the "why" every time, but oftentimes, you don't have the luxury of the time to study that. You're right about not getting right on the first try, especially if the example is too general. That is where tenacity comes in. 
|
|
|
|
|
I used to think like you, way back in the day. I'm entirely self-taught. Eventually, you, like I, will find out that "trying stuff is faster" is actually false. You may find code that works for what you want, you'll even figure out how it works, but you will not figure out the WHY behind the code. You'll also miss the limitations and design considerations that went into the "why".
All that missing information is what is going to make your "find, copy, paste" approach take much longer than you think it does now.
|
|
|
|
|
Member 15750670 wrote: I don't know how to use a DataGridView. I have not found enough examples There are lots of good examples here on CodeProject: Search: DataGridView[^].
|
|
|
|
|
If you can't write the control, how do you expect to create an application that is "like Quicken, only better"?
|
|
|
|
|
I'd like to know what his "new app" is going to be called - just so I can avoid it.
Would you trust your money to somebody who wants to swap one control he doesn't know how to use for another he still doesn't know how to use, and expects it to work exactly how he wants it to right out of the box?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Maybe he works for Microsoft, or TSB. 
|
|
|
|
|
By buying (licensing) one that someone else has already written. There used to be tons around. I can't find them anymore.
|
|
|
|
|
There are tons of control libraries out there. You're just not going to find a control for a very specific, and niche, function.
|
|
|
|
|
I don't believe this is that niche. A check register is very common. I would think that SOMEONE has written that control. You said "There are tons of control libraries out there." Where exactly would "out there" be?
|
|
|
|
|
In the world of controls, a "check register" is VERY niche. I think the closest you're going to find is something akin to an accounting ledger, but it won't be a perfect fit, and even then, you're going to have a hard time finding a control.
The world of controls is more for "general use", like buttons, dropdowns, list views, charting, knobs, gauges, and the like. If you find a "check register" control, you're going to be extremely lucky and probably end up using something that is about a decade old, at least.
|
|
|
|
|
I see. That is good information. We don't have controls on the mainframe side.
Thank you.
|
|
|
|
|
i am beggainer please help me
|
|
|
|
|
|
Why do you claim to be from the U.S.?
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
Probably because it's the default location setting when you sign up to CP.
Unless you change it to your actual country, US is what it stays.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I'd recommend you learn English first; most documentation is in English, most open source projects use English, the articles on this site are in English.
You need not master the entire language, but it would help a lot if you could gain access to those resources.
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|