Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karenpayneoregon/datagridview-combobox-cs
Code sample for working with a DataGridView Combobox columns
https://github.com/karenpayneoregon/datagridview-combobox-cs
csharp datagridview sql-server
Last synced: 2 days ago
JSON representation
Code sample for working with a DataGridView Combobox columns
- Host: GitHub
- URL: https://github.com/karenpayneoregon/datagridview-combobox-cs
- Owner: karenpayneoregon
- Created: 2020-10-12T15:43:43.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-07-02T21:14:48.000Z (over 3 years ago)
- Last Synced: 2024-11-30T19:25:53.009Z (2 months ago)
- Topics: csharp, datagridview, sql-server
- Language: C#
- Homepage:
- Size: 48.8 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# About
> Originally just for DataGridViewComboBox has now expanded
Simple code sample for DataGridViewComboBox and DataGridViewCheckBox feed from SQL-Server using DataTable containers
- To see how to get at the current row values see [Form1.CurrentValuesView](https://github.com/karenpayneoregon/datagridview-combobox-cs/blob/master/DataGridViewComboCS/Form1.cs#L107) method.
- See the [following](https://github.com/karenpayneoregon/datagridview-combobox-cs/blob/master/DataGridViewComboCS/Form1.cs#L141) to get checked and unchecked rows![screen1](assets/dgvc.png)
# Instructions
- Open [databasescript.sql](https://github.com/karenpayneoregon/datagridview-combobox-cs/blob/master/DataGridViewComboCS/databasescript.sql) in SSMS (SQL-Server Management Studio)
- Adjust the path the database will be created
- Run the script
- Build the solution
- Run the project# Requirements
:heavy_check_mark: SQL-Server 2012 or higher
:heavy_check_mark: Visual Studio 2017 or higher