Questions tagged as 'datagrid'

0
answers

How can I enter data from a DataGridView to an SQL table through Linq?

I have to fill a table with the data from a DataGridView but I can not do it, I pass the data to a first DataGriView. All this with LINQ After filling the first DataGriView I want the "Save Week" button to save the data in SQQL and show...
asked by 12.05.2018 / 19:27
2
answers

Copy and Paste into DataGridView Cells, C #

I am trying to copy the value of a celda or several and to paste it to another (%) celda(s) . I currently have this basic method that works. myDataGrid.ClipboardCopyMode = DataGridViewClipboardCopyMode.EnableWithoutHeaderText;...
asked by 04.01.2018 / 22:49
2
answers

problem fill datagridview c #

hello I have a problem filling the datagrid with the data from my BD, the datagrid is a schedule grid with the days of the week, the problem is that I only fill one cell of the datagrid for each day, that is, if I have in the BD three schedules...
asked by 28.12.2017 / 00:53
2
answers

Update my DataGrid in C # without using buttons

I tell you I am trying to update my datagrid without the need to give any button. This datagrid is filled by making calls to a database. It had occurred to me to use threads for in the background to update the calls every so often as if it were...
asked by 20.03.2018 / 20:26
3
answers

Modify a cell and save its modification from a DataGridView

I am developing an application for the control of labels for the company where I work. I am working with a DataGridView which stores the data entered from the first Textbox as shown in the following image: When the application starts, t...
asked by 10.08.2018 / 01:26
3
answers

How to interleave 2 colors in rows of the DataGridView DevExpress? In C # .Net

I used the RowStyle event with the following code: private void dgvPersonalizadoInterior_RowStyle(object sender, RowStyleEventArgs e) { try { for (int i = 0; i < dgvPersonalizadoInterior.RowCo...
asked by 09.06.2017 / 17:29
1
answer

How to add an indicator to the datagridview

What I would like to add in my Weight field that I show you below A word, that is to say for the values that are in ZERO "0" that in the gridview is visualized as NA and if it has a value different from ZERO, that conserves the value. I do...
asked by 07.09.2018 / 00:49
1
answer

How to select and get the value of a cell in WPF?

[I'm pretty new to WPF] I would like to know how I can obtain the value of a cell or several in WPf, I am currently working on a project and I need to be able to select a cell or several cells and obtain their value. Once this is achieved, I...
asked by 05.03.2018 / 14:27
1
answer

Add data from one DataGridView to another from another form

I am making an application that allows me to loan several equipment or tools, so I have created a loan form that registers the user and another form that searches for the product in question. The data that I would like to send would be the id of...
asked by 27.03.2018 / 23:25
1
answer

How to go through datagrid to form an email with the data of it and remove some columns? vb.net

I'm going through a datagrid in vb.net and with the information that has an email in html format to send it by mail, everything works fine, only that the datagrid has two columns that are marked in the photo that are with the property invisible...
asked by 20.09.2018 / 17:46