Click here to Skip to main content
15,891,951 members

Comments by RmcbainTheThird (Top 52 by date)

RmcbainTheThird 1-Mar-21 13:00pm View    
One other thing, do not use int.Parse() it will throw an exception if the text is not a number. Use tryParse() instead
RmcbainTheThird 7-May-20 13:30pm View    
that snippet will not even compile. You are returning values before declaring it,you mark your get as a string and yet when you do declare it you declare it as an array.
RmcbainTheThird 30-Apr-20 13:15pm View    
I don't want to be a 'get off my lawn' kinda guy, but have you thought about buying a book and using that to learn how to write software?
RmcbainTheThird 26-Feb-20 9:33am View    
ok you need to find the column in the datagrid that has the auto increment field, get that value and pass it to the method that does the delete
RmcbainTheThird 25-Feb-20 15:26pm View    
When you wrote your query to get the data to populate your datagridview did it contain the column that holds the auto incremment value?