Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #44.2K
Ranked #3K
~6K People Reached
Favorite Tags

4 Posted Topics

Member Avatar for mrnutty

I needed a new handle as my previous one was literally a bunch of letters, and trying to dictate it to people was a pain, and one day I was reading through some code at work and one of the guys I work with has a thing about adding comments …

Member Avatar for Reverend Jim
0
685
Member Avatar for poolet25

Try putting this before you re-populate, it will remove all the existing rows from your data grid, so the next time you populate it you'll only have the one set of data: [CODE] DataGridView1.Rows.Clear() [/CODE]

Member Avatar for poolet25
0
5K
Member Avatar for leyla

If the strings you are passing into Integer.Parse contain decimal places that may be why you are getting the problem. Try using the Parse overload in this example: [CODE] MessageBox.Show( String.Format("Basic hours worked: {0}{1}{1}Hourly rate of pay: {2}{1}{1}Basic pay: {3}{1}{1}Overtime hourly rate: {4}{1}{1}Overtime pay:{5}{1}{1}Total pay: {6}", txtHoursWorked.Text, Environment.NewLine, lstHourlyRate.SelectedItem.ToString(), Int32.Parse(txtHoursWorked.Text, …

Member Avatar for leyla
0
359
Member Avatar for Farhan_B

Could you repost the link? It appears to have been malformed when you've posted it so I can't actually see the linkage. I've taken a guess and I'm assuming you want to delete the records from one table if it is linked to from the other two tables. If that …

Member Avatar for 0x90
0
145

The End.