DataGrid
Good morning, when I show the data I have a field to add numbers, I need to know the code that should go in the event the power button to add data typed into the field of Datagrid, Thank you
View ArticleDisplaying integer values in a text box from a class - Values not changing
Seems I am having issues with this. When the program starts, the values are initialized with 0 and will be displayed in the text boxes. I can initialize with any value, and it will be shown.However,...
View ArticleComboBox Items Not Showing On Dropdown
Hi All, I am inheriting a windows form and modifying it in C#. The parent form has three ComboBoxes and all are populated pragmatically to fit the user’s options. In the parent form, the ComboBox...
View ArticlePerforming calculations after passing through IDataErrorInfo using binding
I am fairly new to C# and I'm teaching myself WPF in the process. I can't seem to find a solution for my problem after hours of searching. I have a demo app I'm writing that accepts input values on 3...
View ArticleUsing datagridviewautofilter to load the rows based on a condition.
hello,I am using datagridviewautofilter as it is and its working perfectly fine on the columns where I have set the property to Datagridviewautofiltercombobox column. However, on my datagridview I have...
View ArticleRecommended method to develop DataGridView. Using properties or code?
Hello.I'm developing a C# application with a DataGridView using Visual Studio Community 2015, .NET Framework 4.6.00081 on a Dell laptop.When I read articles and walkthroughs about programming the...
View ArticleUpdate XML through DataGridView
Hi,I deserialzied an XML File to an objcet and bind him to DataGridView. (That works fine)Now I want that when the user update the DataGridView , The XML File will also get updated.How i'll do that?Thanks
View ArticleHow to select whole row when user clicks one cell or consective/concurrent...
Hello.I'm developing a C# application with a DataGridView using Visual Studio Community 2015, .NET Framework 4.6.00081 on a Dell laptop.When a user clicks a cell in a DataGridView, I would like my...
View ArticleData design question for windows form application
I am designing a Windows Form application for CRUD data use and it is going good, except now we have a set of data that needs to be displayed and worked with and I am not sure which control to use. I...
View ArticleHow can i convert or make a wraper so listView will accept/add object[] ?
In listBox there is no problem. I can do:listBoxSnap.Items.AddRange(WindowSnap.GetAllWindows(true, true).ToArray());But in...
View Articlecombobox data deletion problem
I have a combobox named combobox1 and i have set its datasource bt when i tried to remove a item from it on a button click event it generates an errorcan't remove when datasource property is set
View Article3 synchronized datagridviews... best approach?
I have 3, 1 to Many related tables. Let's say Customers to Orders and then Orders to Item Details. I have a window that displays all three dgv's. When I select a customer, I want the orders for that...
View ArticleSerialize /Deserialize XmlAttribute with Enum values and some default
Hi,MY XML:<ColProperty DBColumn="System" DisplayInGrid=" Mode" IsDisplay="true" IsSelecte="true" SelectedPosition="0" Coordinate="-1" IsClassifyFiled="false" />The attribute Coordinate contain...
View ArticleWriteXml
I found the writexml class does not include columns in the output when the column is null such as a date field. The suggestion is to use isnull(fieldDT, ''). The problem I've encountered with this is...
View ArticleHow to get the value of checkbox in the DataGridView?
In a DataGridView,There is a column,It's type is "DataGridViewCheckBoxColumn",How can I get the status of this checkbox? ArrayList aList = new ArrayList();foreach (DataGridViewRow row in...
View ArticleDataGridView guidance
I am working with a form which uses a BindingList<T> and a ListBox to display items that are added/removed. The request is to maintain a sorted collection and allow editing of existing items post...
View ArticleDoes entity framework work 6.0 work with visual studio community version...
If I install Entity Framework 6.0 and SqlServerCompact packages into a Visual Studio 2012 community version project, will all the functions of of Entity Framewok work with SQL Server Compact 4?
View ArticleDelete some old files from a folder with some squence by windows batch...
Hi,There is a folder in our app server where there are millions of files present. However they all are unused. I have to delete the files based on a sequence. The sequence is weekly basis. Ex: firstly...
View ArticleAutomatic Mouse scroll is not working in c# winforms
Hi,I have a C# Winforms Application. I have Form which contains TabControl having 2 tabpages. If i come from one tab page to other tab page Automatic MOUSE SCROLL (vertical scroll bar) is not working...
View Articledatagridview
Hello Guys (i am using a Access database and using sql to get my data)It am trying to get my information from a datagridview to another form in a datagridview this is working perfectly.But i have...
View Article