Questions tagged as 'datagridview'

1
answer

Questions about the datagridview

Hello, I have some questions about the datagridview of visual studio, I would like to know how I can change the values of the columns that appear to the foreign key of the sql server by the value of the table that is referenced to the primary key...
asked by 10.07.2015 / 02:56
1
answer

How do I lock the mouse scroll in the DataGridView?

How to disable ScrollBar in a grid in vb.net, a problem is occurring and I want to block it to fix this.     
asked by 16.05.2015 / 22:04
1
answer

C # and mysql pagination

I have a form and a datagrid, in this form I am using a timer to do a search in mysql that fills the datasouce of the datagrid, so far everything is right. Now I need to limit the amount of search. For example: Select <campos> from tabel...
asked by 25.03.2015 / 13:22
1
answer

How to make a filter using LIKE on fields of type int in a DataView?

I'm using the code below to make a filter in my DataGridView , but when I do the filter using like in a field of type int , I get the following error:    Can not perform 'Like' operation on System.Int32 and System.String. Fo...
asked by 24.12.2014 / 15:44
2
answers

DataGridView with columns of different tables in a DataSet

I imported 16 tables from my MSSQL into a DataSet and made all the necessary relationships. I need to generate a report on a DataGridView (or other tool) with columns specific to several tables. How can I do this?     
asked by 02.12.2014 / 13:48
2
answers

How to fix this problem with the DataGridView Check Box cell?

I'm having a problem with the DataGridView checkBox cell: Click the checkBox , and it marks the Checkbox and updates a value field. I click again, and it does the opposite. Everything works fine until I quickly click on the checkBox . i...
asked by 15.07.2014 / 15:37
2
answers

Error adding value sum into the footer of a gridview

I'm trying to include in the footer of a gridview the sum of two columns, but I'm having trouble creating the method that performs this function. I have already set the ShowFooter property to true , now I have to implement...
asked by 16.06.2014 / 04:54
0
answers

dataGridView with line break, however when exporting to excel it does not break

Galera, I have a dataGridView that I used the following code snippet to break the text: dataGridView1.Columns[0].DefaultCellStyle.WrapMode = DataGridViewTriState.True; dataGridView1.Columns[1].DefaultCellStyle.WrapMode = DataGridV...
asked by 23.10.2018 / 17:52
1
answer

DataGridView with DataSet Custom Value

Hello, good morning. I would like to ask you for help on the following situation: I use the PostgreSQL database integrated with Visual Studio Enterprise with the (PostgreSQL Integration) Npgsql package. For those who do not yet know this pa...
asked by 13.09.2018 / 15:58
1
answer

DataGridView - Edit by CurrentRow.Index does not exit Index 1

   Note: I am learning to use the DataGrid, so I am testing   some examples. I have this form: Andthiscode:usingSystem;usingSystem.Collections.Generic;usingSystem.ComponentModel;usingSystem.Data;usingSystem.Drawing;usingSystem.Linq;using...
asked by 25.10.2017 / 14:22