Skip to main content

Questions tagged [datagridview]

DataGridView is a Windows Forms control used to display and edit tabular data.

datagridview
1 vote
0 answers
31 views

How to get selected cell value of multi DataGridView in TabControl to main datagridview in form1 with VB.NET

I'm trying to get selected cell value of multi DataGridView in TabControl to main datagridview in form1 with VB.NET Please Guide me for example when I selected row in the Criteria1 tabcontrol with ...
dlaksmi's user avatar
  • 47
-1 votes
0 answers
34 views

How can I delete row based on the condition that the cell value in column 1 equals blank

How can I delete row with condition that the cell value in column 1 equals blank in DatagridView VB.NET column1 column2 column3 Ad32445. Fdd. Rcd3333 Empty null. ...
Bassam Alqadhi's user avatar
0 votes
1 answer
54 views

How to return all/multiple the Cell Addresses/Reference in Datagridview?

This is my new post but in continuation of Thread 78734244 of this forum. I was wondering How Could i get all the Cell Addresses/Reference in Datagridview. The above thread was for any single input of ...
SsD's user avatar
  • 11
1 vote
1 answer
68 views

Smoothly show resizing of DataGridView

When resizing columns/rows, the dgv doesn't visually update until you finish. It also doesn't show the regular "resizing bar" across the cells to show where it will end up. Is there a way ...
CocoaMix86's user avatar
0 votes
0 answers
6 views

DataGridView doubleClick event

Using VB.Net 2010, I have a DGV to display various fields from Access 2010 table, 7 cells across. I also have have 7 text boxes. I need to double-click on the ROW HEADER, of any row, to display the ...
Drew Wells's user avatar
-2 votes
0 answers
28 views

Modbus sniffer for Function code 03, 06, 16 [closed]

Hello I'm a student and I'm currently working for a small association and they asked me to create a modbus sniffer for the function code 0x03, 0x06 and 0x10. I've never used c# before in my life and ...
Sandro-Ale1205's user avatar
0 votes
0 answers
39 views

Conversion from type 'DBNull' to type 'String' is not valid in datagridview with VB.NET

I'm Trying to use event CellEndEdit in datagridview but there is an error I want when the user makes the DatagridView column empty then a MessageBox appears when the value becomes previous If I remove ...
dlaksmi's user avatar
  • 47
0 votes
1 answer
44 views

How to return Cell Reference of DataGridView if Value in that Cell Matches with Textbox?

I would like to get the reference to a Cell - i.e. the row and column numbers, or the cell address of the particular cell if that DataGridView cell contains the value of a Textbox. I've explored many ...
SsD's user avatar
  • 11
1 vote
0 answers
43 views

Getting or setting a value when clicking a checkbox in a datagrid view

Im trying to get a value once I click on a checkbox for a custom DataGrid view filled with a SQL query. The idea its to build a list of selected items with the value ID_COMANDA to delete later Now I ...
Juan Manuel Sanchez Cuellar's user avatar
-1 votes
0 answers
26 views

How to get cell values of selected row to label control by moving in rows with up and down arrow keys?

I have a datagridview containig Ledger details like Account name, address, contact etc. I want to pass cell values to display in labels when user move insight dgv with arrow key. I can easily achieve ...
wasim khan's user avatar
0 votes
0 answers
49 views

Adjusting DataGridView scroll behavior to change number of rows per scroll event in VB.NET

I'm working on a VB.NET application where I have a DataGridView on my form. I've noticed that by default, the DataGridView scrolls 3 rows per scroll event. However, I want to change this behavior to ...
Tesla96's user avatar
1 vote
0 answers
44 views

Adding Rows in DataGridView on form without writing the syntax DataGridView1.Rows.Add(3)

The thread question is clear and specific ie. to add rows in DGV1 on Form without writing its syntax (programmatically The reason i want is to work around with cells in DGV1 is for Numbering cells its ...
SsD's user avatar
  • 11
0 votes
0 answers
22 views

I need to join two xmlParameters into a datagridview

I need to join two xml Parameters in a datagridview, however parameters2 is replacing parameters1, and only the xml of parameter2 is appearing in the datagridview. I need to show the data where the ...
Bruno Ananias's user avatar
0 votes
1 answer
32 views

<solved> DataGridView linked to a BindingList : sorting rows not working

I am a beginner. I am developing a program in C# with Visual Studio and Forms. My Form has a DataGridView linked to a BindingList. I would like to be able to sort rows by clicking a column header. I ...
Chandernagor's user avatar
0 votes
0 answers
77 views

DataSource vs DataContext in Windows Forms DataGridView

Since .NET 7, Microsoft has improved the binding capabilities of Windows Forms to bring it closer to WPF and other XAML technologies: Using Command Binding in Windows Forms apps to go Cross-Platform - ...
Pedro Gaspar's user avatar

15 30 50 per page
1
2 3 4 5
1363