Click here to Skip to main content
15,912,400 members

Comments by KevinBadger (Top 11 by date)

KevinBadger 10-Mar-17 7:51am View    
That gets me entries in solution explorer but how do I get selected file in source control explorer?
KevinBadger 20-Feb-16 7:20am View    
Thanks,
I will look into that.
KevinBadger 19-Apr-15 8:37am View    
Erm...
Being a bit dumb here but:

1. Canvas? Where is this in relation to the listview item?
2. If I can use .canvas where do I put the code? Drawsubitem relates to a subitem and I want to highlight the entire line but drawitem does not seem to get triggered?
KevinBadger 22-Mar-15 16:20pm View    
See my comment

I am catching the error and putting up a message.

I didn't write the code, just like I didn't write code to populate mu grid and that works OK.

I don't understand why the update SQL was not defaulted to the correct thing?

But, as I say, I am new to this.
KevinBadger 22-Mar-15 16:17pm View    
Well, this is all a bit new to me
I didn't write the code for update, I dropted the grid onto the form:

private void ordersBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
try
{
this.Validate();
this.ordersBindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.santanderDataSet);
}
catch (System.Exception ex)
{
MessageBox.Show(string.Format("Update failed ({0})", ex.Message));
}
}