Checkbox in data grid view
Hello, I need your help. I have a datagridView, which has checkboxcolumn. I want on application runtime, when the checkbox is clicked, change the other column ("Status") value also to change...
View Articlehow to get auto increment value of field in sql server 2008 to integer...
hi my name is vishal.Sorry to disturb you people. But i have a problem.I have form named:frmDoctor in which i insert values into two tables named:doctor and doctordetailGiven below is structure of my...
View ArticleAdding new column to an Access database
My application works with an Access database that contains valuable production data. I need to add a couple of new columns to one of the tables, but don't want to trash the user's data. At startup, I...
View ArticlecomboBox of dataGridview throw null reference exception
I have a dataGridView with a comboBox. The dataGridView binding data from dataTable with multiple coulmns and rows.I set ValueMember of ComboBox as "Driver Id" and DisplayMember of the ComboBox as...
View ArticleAdding a RadioButton to a DataGridView using VB.Net
I have seen the example of how to add a RadioButton to a Windows DataGridView control using C#. However, I am not a C# programmer and am having a difficult time converting that code to VB.Net. Is there...
View ArticleImporting Data from different Excel Sheets into the same Datagridview without...
I am currently working on a system and I have a number of spreadsheet that come in via email and they all hold the same type of data just from different people. I want to be able to upload each of...
View ArticleHow to get location coordinates for a DataGridViewTextBoxCell
I have a ListView that I want to place just under a DataGridViewTextBoxCell when the cell is entered. My DataGridView with the DataGridViewTextBoxCell resides in a panel in a splitContainer. The code...
View ArticleHow to Pass a ListView to a Custom DataGridViewListViewCell?
On MSDN, there is a page for How to: Host Controls in Windows Forms DataGridView Cells. This example uses a DatePicker as to illustrate creation of a custom control. I want to use this How To example...
View ArticleAdapting DataGridView to Data Structure
I'm designing a small desktop Windows Forms application to store user account information, i.e. usernames and passwords. I'm using C#/LINQ to SQL and SQL CE. The application allows the user to create...
View Articleinheritance bindingsource
I started with inheriting the Bindingsource and added some additional events and properties which i needed. Using inheritance seemed the right choice, so i started to inherit the Bindingsource. Below...
View Articledatatable.DefaultView.RowFilter vs bindingsource.filter
datatable.DefaultView.RowFilter vs bindingsource.filterWhat is the difference between the 2 and is there a performance difference?Debra has a question
View ArticleDataGridViewComboBoxCell value is not valid
Hi All, In my application's DataGridView there are 3 ComboBoxColumns. Out of which two are filled by Enumerator type and one from DataSet.I set Generic Class object as DataSource to DataGridView. Based...
View ArticledataGridView.SelectedRows[0].DataGridView is null
I have check that dataGridView.SelectedRows.Count=1But the dataGridView.SelectedRows[0].DataGridView return null,why
View Articlecustom Datagrid column binding with Datagrid.ItemsSource
I have this class which which was generated by Linq to SQL class : public partial class Meetlijn : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs...
View ArticleRetrieve the index value of an item selected in a datagridviewcombobox
Hello all, I have a datagridview and one of the items inside is a datagridviewcombobox, correctly bound to data, and with displaymember and valuemember correctly set. How do I retrieve the selected...
View ArticleDataSource / Datagridview LINQ filter
Hi,I have created a class that contains 14 bytes of data held in a BindingList, the list gets data when 14 valid bytes arrive from the serial port, so the datagridview is being used to display live...
View ArticleGetting error running SP from c# application
I have the following method: public bool CheckEmail(string email) { bool success = false; string name; using (SqlConnection con = new...
View ArticleDatagridview selection
why does the datagridview stay highlighted/selected when the form is focused on something else, like by a listview..?Debra has a question
View ArticleHow to bind a result of condition to a combobox?
How can I bind a condition of Boolean data type?there is a bit field which contain false or true in the Database, when scrolling the data Movenext or Moveprevious either of them must checked Yes Or No...
View ArticleNew row not committed in DataGridView
Hi.I have a DataGridView which is bound to a DataTable:myDataGridView.DataSource = myDataTable;The user does the following:He creates new row by clicking on the last row of the DataGridView ("*"). He...
View Article