Questions tagged as 'datagridview'

1
answer

Update Chart with data from a column in GridView

I have in my project a GridView where I manually enter data in the last column (index 7) and a PieChart that should be updated according to this last column, however, however much I can get the data from column I can not pass them to the Chart...
asked by 26.05.2017 / 02:36
1
answer

Error: String Conversion in Type 'Integer' is not Valid

I have a DataGridView that loads all the data from a table, all data is of Short Text type in the DB. I make the call by a SQL statement to display in the DataGridView, until that step goes well, everything is loaded and displayed perfectly!...
asked by 29.04.2017 / 02:44
0
answers

Lock DataGridView Changes

I am creating a Windows Forms C # request screen in which the user fills in the order item data and then clicks an "Add" button, which instantiates an OrderItem object, adds it to a list and then assigns this list to the DataSource of a DataGrid...
asked by 29.03.2017 / 03:52
1
answer

Decimal places in DGV in C #

Here are 2 images that summarize my problem. Image of db (Access) DataGridViewImage Whenthevalueswithdecimalplaces"0" are released the DGV does not show, eg: 1.00 = 1 1.50 = 1.5 Follow the properties of the field: Any way to...
asked by 13.10.2016 / 19:41
1
answer

Passing data from a DataGridView to TextBoxes in C #

Hello, I'm having a problem and I've even asked a similar question previously, but now I'm being more specific. I have two forms, one form has a DataGridView attached to one Database and the other form will serve as an edit for the data of th...
asked by 15.10.2016 / 02:16
1
answer

Find / select database with C #

I have a form with a button and a simple datagridView, but my problem is that I have to look for my file in ".mdb" (Access database) on the computer, so it can be shown in the datagridView then the question remains: When I click the button, I...
asked by 28.07.2016 / 15:39
1
answer

XtraGridView - Where with variable

Have a good night, how are you? I'm creating a user registration screen, where every user has an ID, on this screen, I have an xtragridview, which loads some address information. However, in this xtragridview table, you have addresses of s...
asked by 10.07.2016 / 01:44
1
answer

How to import data from DataGridView to textboxs

As I do for, when I click the Modify button bring the data from a row of the DataGridView to the fields above and also if I save as inactive leave the row as Enabled = false.     
asked by 02.07.2016 / 20:45
2
answers

Error trying to add a self-incrementing column to a datagridview

I'm trying to add a autoincrementable column in a datagridview but I can not figure out what's missing to work properly. My program reads the data from a database table and displays it in datagridview . I need to add a autoincrem...
asked by 30.05.2016 / 18:53
1
answer

Customizing datagridview in C #

I'm doing a project and I'm having customization issues in my datagrid, as the information in the two textbox returns in the same datagrid I can not customize the header of the two, but rather just one, does anyone know how to sort it wit...
asked by 13.05.2016 / 01:36