Difference between revisions of "CSharp Notes"

From PeformIQ Upgrade
Jump to navigation Jump to search
Line 24: Line 24:
* http://www.codeproject.com/KB/cs/readwritexmlini.aspx
* http://www.codeproject.com/KB/cs/readwritexmlini.aspx


=Lists=
* http://stackoverflow.com/questions/10018957/c-sharp-remove-item-from-list
* http://stackoverflow.com/questions/4903893/how-to-delete-an-item-from-a-generic-list
==Examples==
<pre>
List<Address> people = new List<Address>();
Address t = new Address();
people.RemoveAt(e.RowIndex);
grdShow.EditIndex = -1;
grdShow.DataSource = people;
grdShow.DataBind();
</pre>
[[Category:CSharp]]
[[Category:CSharp]]
[[Category:Dot.NET]]
[[Category:Dot.NET]]

Revision as of 17:58, 28 May 2015