Click here to Skip to main content
15,895,935 members

Comments by __BrokenArrow__ (Top 17 by date)

__BrokenArrow__ 24-Feb-13 6:41am View    
Well its both there from me and OriginalGriff
__BrokenArrow__ 10-Feb-13 3:11am View    
I think KalaiPond wants to remove all of the datagridview rows
__BrokenArrow__ 10-Feb-13 3:03am View    
Hi KalaiPondy here is a solution you might be able to try Let me know if you it worked for you

private void BtnDcDelete_Click(object sender, EventArgs e)
{
int i = dataGridViewEx1.Rows.Count - 1;
try {
while (!(i <= -1)) {
foreach (DataGridViewRow row in dataGridViewEx1.Rows) {
dataGridViewEx1.Rows.Remove(row);
}
}

} catch (Exception generatedExceptionName) {
}
}
__BrokenArrow__ 25-Jan-13 0:50am View    
I found the solution to my problem... Posting it now
__BrokenArrow__ 24-Jan-13 5:19am View    
Oh so it should look something like this then
Dim method As MethodInfo = type.GetMethod(strMethodName,int32 or just the number or string?)