how to add an internal DB on a project
Hello all.. newbie here!!can someone explain me the best way (or just the easy) to add to a windows form project (VB) with 3 or 4 forms a local database (loaded from and to a XML file) with 5 tables...
View Article.Net Windows forms ComboBox Accessibility Issue
Hi ,We are using .net winforms application(C#). Screen reader(NVDA) is unable to read combobox items in the below scenario.Scenatio 1 : Focus to the combobox and use Alt+Up/Down keys->Combobox items...
View ArticleDisabling SetSelectedRowCore without infinite loop
When I set CurrentCell it has the side effect of changing the selected rows as well. This is probably because I set SelectionMode =...
View ArticleContextMenuStrip in DataGridView - get the current column
Hi!I try to implement an interactive filter to my DataGridView. So I've created a ContextMenuStrip with to menus "Add Filter" and "Remove Filter". I've assigned this ContextMenuStrip to each HeaderCell...
View ArticleVisual Studio Deleting Databound DGV
I'm not sure what the hell keeps happening and it's driving me up the wall. I added the DGV to the form and ran the program, all was well. Then I closed it and my form errored out saying the grid...
View ArticleBind Report to Datagrid View... HOW?
how can i bind my report/report Viewer to a datagrid view?ive created an ID card design in a Report. I bind all textbox in the report in my database fields(Data set). but when i run the program, the...
View ArticleC# Access/OLEDB Database Application Keeps Crashing
I'm at a bit of a loss. I've got a MS Server development environment with VS 2010. When I run the application file on that, everything loads and works. I switch it over to my regular Windows 7...
View ArticleLogin with auth can't read if admin or not.
Hi; I am trying to check if someone is admin or not with a simple login form, my login works but when i try to check if admin or not that if statement doesn't work. I have a table with 3 column with...
View ArticleOverride OnEnter to disable formatting onenter text but breaks Data Binding
public class CustomTextBox { protected override void OnEnter(EventArgs e) { if (this.DataBindings.Count > 0) { this.cancelvalidating = true; this.DataBindings[0].FormattingEnabled = false;...
View ArticleHow to prevent currently loged in user from deleting himself from database?
Hi;I have a data table contains username and password and type, and a gridview to edit users. Now when I click the delete user button I want it to check if the current user name and selected rows user...
View ArticleGENERAL ELECTRIC (repair) صيانة جنرال اليكتريك 0235682820 ، توكيل جنرال...
الرائدون فى مجال صيانة الاجهزة المنزلية , مصرتوفر شركة صيانة جنرال اليكتريك الصيانة والتجديد للاجهزة ارقام اتصال جنرال اليكتريك 0235682820 01096922100|01210999852-المحمول :01060037840 غسالات جنرال...
View ArticleDatagridview master check-box in c# windows application
Hi ,I have a datagridview which is having 1st column as check-box column and header having master check-box which select/un-select all checkboxs.We are supporting the CATO(Accessibility). I need to...
View ArticleOperation did not succeed because the program cannot commit or quit a cell...
Hello everyone,I got the following error message :"Operation did not succeed because the program cannot commit or quit a cell value change."When I sets the current cell to anyone cell of DataGridView.I...
View ArticleHow to perform databinding with WinForms and Entity-Framework 6
I'm competent with ASP.NET programming, both web forms and MVC, but just coming up to speed with WinForms. I assumed that I could find a walk-through/demo/tutorial on databinding WinForm controls with...
View ArticleDataGridView Col mul
hello Sir i am creating a POS and i want to multiply two columns in gridview and show result in it how can i do it?
View ArticleBinding DataGridView to Junction (many-to-many) table.
Public Class InterviewForm 'Public drPoCo As JobHuntingDataSet.PositionCompanyRow 'Public drP As JobHuntingDataSet.PositionRow 'Public drC As JobHuntingDataSet.CompanyRow Private Sub...
View ArticleBindingSource.DataSource Problem
I've been struggling with a problem for days.I always try to let Visual Studio take care of the binding by dragging and dropping tables on to a form. Then Fill() does the...
View ArticleCannot save tables in VisualStudio 2015
In Visual Studio 2015 I create a new Service Based Database. I add a table to the database and make edits to the table. I Save All changes and the table is never saved into the database.Any thought...
View ArticleHow to update changed row color on DataGridView (in tabs)
I have a number of tabs with with a DataGridView on each. When I change the row color on some of the GridViews the change doesn't take place until I click the last tab. Then going back to the other...
View ArticleHow do I hide first column in every DataGridView using a CheckBox?
How do I hide the first column for all the DataGridViews in the tabs?public partial class Form1 : Form { public Form1() { InitializeComponent(); tabControl1.TabPages.Clear(); createGridViews(); }...
View Article