Click here to Skip to main content
15,910,886 members

Comments by YassineYousfi (Top 3 by date)

YassineYousfi 3-Aug-15 17:29pm View    
ok, sorry wont copy any more questions, i just thought it would be helpful for that guy...i am new to CodeProject questions&answer thing :) sorry !!!
YassineYousfi 3-Aug-15 11:06am View    
You are having issues in understanding basic programming stuff.
example:
dgv.Columns.Add() : u should pass something to the Add function, ask yourself the question "Add what" Add(<what here="">).
dgv.Columns.Count = (Dt.Rows.Count + 2) : you cannot change that property it's readonly, the only way to change a readonly property is by adding/removing items from dvg.Columns.
YassineYousfi 3-Aug-15 11:01am View    
debug the exact line that throws the error. and tell which object that crushes.