datagrid Articles

Datagrid Tidbit

By Alvin Bruney Have you seen this annoying error with the datagrid? Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount. Permutations of this bug appear to occur when paging is used and viewstate is turned on. Let?s examine why it occurs and, most importantly, how we can cure this ailment. Because […]

Read more

C# DataGrid combobox Simple Sample

Summary This article explains how to add the Combobox DataGrid Column Style into a DataGrid on your .NET Windows form. The sample introduces how to add the Combobox DataGrid Column Style into a DataGrid on your .NET Windows form.The main idea of the sample is to provide you with a suggestion how to update values […]

Read more

Extend DataGrid Functionalities

<!– – STEP 1 —><!– Fill in the details (CodeProject will reformat this section for you) –><!– – STEP 2 —><!– Include download and sample image information. –> Download demo project – 21 Kb Download source – 129 Kb <!– – STEP 3 —><!– Add the article text. Please use simple formatting (, etc) –> […]

Read more

DataGridColumnStyles in C#

Here is some sample code that demonstrates DataGridColumnStyles Download ColumnStyleTest.zip

Read more