gridview
-
asp .net grid control common gridview operations update edit cancel sort paging
There are many ways to accomplish the end result of what is displayed below. To display multiple records of data on the same page, you may alternatively use Repeater (my favorite of the dataview controls), DataList or ListView (also great).… Continue reading
-
OrderBy Column Name as String using Linq C# .Net Dynamic Sorting of Anonymous Types
If you’re familiar with Linq, you have undoubtedly used the popular “OrderBy” extension method. Unfortunately, this method does not accept a string value with the column name. To resolve, you can add the following small class or just the method… Continue reading
-
Winforms Databinding
Snippets below have been condensed from their original sources for brevity. See references for original articles. Dataset usage: Binding DataGridView: References: MSDN, “DataSet Class”, http://msdn.microsoft.com/en-us/library/system.data.dataset.aspx MSDN, “How to: Bind Data to the Windows Forms DataGridView Control”, http://msdn.microsoft.com/en-us/library/fbk67b6z.aspx Continue reading