No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
4 Posted Topics
Re: 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 … | |
Re: 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] | |
![]() | Re: 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, … ![]() |
Re: 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 … |
The End.