DataGridViewColumn.Visible=False is being ignored.
Hi All, I have a DGV with many columns bound to a binding source and I've set the DataGridViewColumn.Visible property to False for several of the columns including the first column. At design time, the...
View ArticleAyuda en DataGridView
como puedo hacer que la columna de mi datagridview no sea modificable por el usuario Le puse en las propiedas del datagridview el siguiente codigo dgvCambioTasa.AllowUserToResizeColumns = Falsepero...
View Articleasync
Hi all,I'm trying to clean a datagridview on what is written in a SEARCH (textBox). It's works on column COD. I would like to do ASYNC, since I have 2000 rows, but I can't. tips?For example: COD 124...
View Articlesinc to async
Hi all,I have this code private void btnLoad_Click(object sender, EventArgs e) { FillProd(); } private void FillProd() { try { dgvProd.Rows.Clear(); var det = new Product().LoadProducts(); // 15000...
View ArticleDataGridView vertical scroll is Disabled.
Hi,I am using DataGridView and binding list as source and the list is getting populated to the grid properly, the vertical scroll bar also displayed but disabled. How can I enable the vertical scroll...
View ArticleHow to save NULL to Sql DB when dataset non primary column bound to TextBox
I was trying implement behavior where when a user backspaced,cut or deleted selected text to an empty string in a bound Textbox to a dataTable column, the underlying DB value would be set to NULL, but...
View ArticleDataGridViewRow.DataBoundItem throws IndexOutOfRangeException
Hi, I have a DataGridView bound to a dataset and am trying to validate a row during the RowValidating event. I want to access the DataRow being validated and get its RowState, however sometimes when I...
View ArticleFilNotFoundException was unhandled
Please help me with my code I tried everything I know but I think I just know less Private Sub btnPrint_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPrint.Click...
View ArticleRight-2-Left combo box is left aligned
I have a problem with a R2L combo box (actually a DataGridViewComboBoxCell control): the drop down is left aligned and not to right aligned. I mean the following: in L2r language (like English), the...
View ArticleHow to resize form to fit DataGridView?
I have a form that contains dataGridView, whose coloumn are set todgrv1.Width =dgrv1.Columns.GetColumnsWidth(DataGridViewElementStates.Visible)+20;I want to make the form to automaticaly follow the...
View Articlei want to add row in datagridview but selected row i want to move below
Hello guys i am working on win form on datagridview i have 2 datagridview in 1 form and i want if i drag 1 row from datagridview to datagridview2 and drag there its working perfectly but the issue is i...
View ArticleAcceptChanges long time GetChanges is nullptr
A previous question I had about saving NULL in sql db led me to abandon DataAdapters, Bindings, etc and use only DataTable, sql commands and TextBoxes. Towards the end with it working properly, I...
View ArticleHow to connect WinForms DataGridView to PostgreSQL DB over network
I'm trying to set up a connection to a PostgreSQL database as a datasource for a WinForms DataGridView. I can't figure out how to set up the connection. I'm using DBeaver for my DBMS and have set up a...
View ArticleMay i ask how can convert xls to mdb file
can someone teach me how can i write xls convert to mdb and using vb.net language.thanks a lot
View ArticleI get error message on my code can someone help me take a look
i am develop excel convert mdb system i get error message on below picture can someone help me take a look thanksbelow is my code . If File.Exists("D:\B.mdb") Then File.Delete("D:\B.mdb")...
View ArticleMay i ask how to delete columns from datagridview
I am trying write a program to delete my datagridview columns. but my code not effect to delete columns of datagridview.below is my code. Can someone help me take a look. Did any reference can provide...
View ArticleMay i ask how to load selected columns data in datagridview
I am working in Visual Studio 2010 and have two forms in my Windows Application.In the first one (Form 1.vb), the user read excel file to datagridview1. user selected which columns user want and load...
View ArticleHow to export datagridview to mdb database. can help me take a look with my...
i am writing a program is export datagridview to mdb database. i search and try many method but i am fail export datagridview to mdb file below is a code i am trying can give me any comment thanks. If...
View ArticleHow to export datagridview to mdb database.
i am writing a program is export datagridview to mdb database. i search and try many method but i am fail export datagridview to mdb file below is a code i am trying can give me any comment thanks. If...
View ArticleDataBinding array of TextBox to array of an array of String^s
Is there a way to make a correct Binding expression for aTBX[i]->DataBindings->Add() to use an array<array<String^>^>^ aas[?][i] ?
View Article