-
Apr 15th, 2012, 09:02 PM
#1
Thread Starter
New Member
-
Apr 15th, 2012, 10:46 PM
#2
Re: Input data into a textbox and output into a datagridview?
Originally Posted by scheine
I am doing some practice and one of the examples is to create a program in C#
Originally Posted by scheine
I'm using VB 2010 btw
I just want to make absolutely sure that you really are using VB and not C#.
-
Apr 16th, 2012, 07:30 AM
#3
Thread Starter
New Member
Re: Input data into a textbox and output into a datagridview?
OH sorry I'm using Visual Studio! It has to be in C#, sorry. My mind is frazzled
-
Apr 16th, 2012, 07:34 AM
#4
Re: Input data into a textbox and output into a datagridview?
In that case I'll ask the mods to move this thread from the VB forum to the C# forum.
-
Apr 16th, 2012, 07:34 AM
#5
Thread Starter
New Member
Re: Input data into a textbox and output into a datagridview?
Thank you, sorry for that!
-
Apr 16th, 2012, 10:53 AM
#6
Re: Input data into a textbox and output into a datagridview?
Thread moved from the 'VB.Net' forum to the 'C#' forum
(thanks for letting us know jmcilhinney )
-
Apr 16th, 2012, 04:52 PM
#7
Re: Input data into a textbox and output into a datagridview?
What code do you have so far?
Are you storing the data in a DataTable and binding the DataGridView to that or just trying to add the data directly to the DataGridView?
This pattern in common to all great programmers I know: they're not experts in something as much as experts in becoming experts in something.
The best programming advice I ever got was to spend my entire career becoming educable. And I suggest you do the same.
-
Apr 16th, 2012, 07:33 PM
#8
Re: Input data into a textbox and output into a datagridview?
Now that we're in the correct forum, can we have some more specific details? I'm guessing that the idea here is that you enter data into some TextBoxes and then click a Button and the data is added to the grid as a new record. Correct?
-
Apr 17th, 2012, 01:23 AM
#9
Re: Input data into a textbox and output into a datagridview?
You can query the Class properties. I would create an array or list of the class for Employees, and then for each, display into the DataGridView.
You can easily do this by making it your datasource.
<<<------------
.NET Programming (2012 - 2018)
®Crestron - DMC-T Certified Programmer | Software Developer <<<------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|