1. W

    Question DataGridView Matrix

    Hi, I have a .csv file which automatically updates with sales data. This data is loaded into a datagridview, but is there a way to display this into a datagridview matrix ? Data is as follows; Header as: Person, Sales, Area Data as: Person 1, £200, North Person 2, £100, South Person 3, £95...
  2. W

    Datagridview Changes

    Hi, I'm currently using 2019 and have a program which contains a datagridview. The purpose of the datagridview is to load the .csv file every 5 mintues and the datagridview is updated to reflect any changes. For example Data imported Name Checked Date Time Timestamp John...
  3. W

    Resolved Merge Bindingsources to a Master

    Hi, Can anyone be kind enough to assist me with the following situation; I have a weekly data file (.csv) and a historic datafile (.csv) and I wish to merge these together and present this within a datagridview. I have 1 command button which loads the Weekly Data and displays that in...
  4. W

    Resolved csv to multiple datagridviews

    Hello, Is there a way I can load a csv file into 5 datagridviews. I will then assign a command button for each datagridview which will filter for something specific for each datagridviews. The reason to the 5 datagridviews is that I can then create a dashboard which will refresh every so...
  5. L

    Question Fetch items from Datagridview to Attachment

    Hello can someone help me, How i can fetch the items from datagridview to attach them to email How it will be in function SendMail() Can someone tell me is it correct now , how to read files from Datagridview in attachment Public Sub SendMail() Dim oEmail As MailItem = CType(New...
  6. NewAtThis

    Every time I run my program it will change DataGridView font sizes and color

    I have no idea why every time I save and run my program it will change DataGridView font sizes and color? Please help me. Thank you Changes the cell font color from black to white Changes the size of the Column header from 11pt to 14.25pt Column header DefaultCellStyle
  7. R

    Question How to start exporting data to an excel file from a particular row of excel sheet?

    Hi everyone, I am trying to export the data to an excel file which has a template like this: I want the data to be inserted from the 3rd row without affecting first two rows same as here But in the actual output first row is being overwritten by column names and data is inserted from...
  8. Runescope

    Question DataGridView padding still there even though it's set to zero

    Greepings, I've been banging my head on this for a few hours now and I can't seem to figure out a way to get around it. I've got a datagridview setup with lots of empty columns and rows. The user clicks into a cell to fill it with a pattern they've picked. I want the patter to go right to...
  9. Runescope

    Resolved Pick from DataGridView ComboBox with Pre-Filled Collection

    So I have a DataGridView control, it has a few columns, one column is a DataGridViewComboBoxColumn. I have pre-filled it through it's own Items collection with the numbers 0 to 9. I want to pick one of the numbers as a default when the program loads, how do I select it's index? Here's the...
  10. S

    Question Update Database and datagridview from textboxes

    I have an application with a datagridview on the bottom half of the page and textboxes, combo-boxes, buttons, etc... on the top half. When the user changes the highlighted row in the grid then it displays all of the information for that row in the objects on the top half. If user wants to change...
  11. D

    Question What does no value given for one or more required parameters mean? How to fix?

    Hi all, I'm making a program in which the user can update a table of their choice from a list box. When an item in the listbox is selected, it shows the MS-Access database in the DataGridView. When a user selects a cell in the DataGridView, it will show the ID, the field name and the actual data...
  12. P

    Question Adding and removing image columns in Datagridview

    Hi everyone, I?m having the following problem. I have a windows form application with 2 main forms, one of them is master form and the second one is the UNDO form, in the first form i input images in the datagridview based on the numeric key pressed, the second form is the undo form where i can...
  13. T

    Populate DataGridView With Multiple Arrays

    Hi again friends, So actually what I've been trying to do is practice collecting data from one of my temporary websites (more like a web page). I have added product details to this web page & was trying to practice parsing the data & then sending that data to either a listview or datagridview...
  14. L

    SQl Server doesnt update new values from Textbox Bind to Datatable

    Original Post: Using: SQL Server 2014, VS2015, VB I have a Datagridview that fills with a DataTable (Table). I have several Textboxes that are bind with their corresponding values from the binding...
  15. M

    Question Change to different SQL Server database

    I have a VB.NET (4.5) project in VS2013. In it I have several DataGridViews populated by a SQL Server 2012 database. The DGV and connection has all been set up with the wizards, so I have BindingSources, DataSets and TableAdapters for the DGVs - no custom coding to populate the DGVs. I need to...
  16. VBobCat

    Question Implement Column/Cell/EditingControl derived classes, host custom ComboBox control

    I have this custom Control class, derived from ComboBox. Its purpose is to provide a standard behavior for controls whose list of items will be populated depending on what user types in it as search criteria. Imports System.ComponentModel Public Class SearchBox Inherits ComboBox Private...
  17. E

    datagridview and DB Firebird

    Hello everyone. I am developing a Windows Forms application with Visual Studio 2010 and on the "load" of a form I inserted the following code that takes data from a Firebird DB and I would populate a "datagridview" but I can not: Private Sub Form1_Shown(ByVal sender As Object, ByVal e...
  18. T

    custom design for datagridview

    hello guys am making a car rental app i need your help on how to make a custom gridview or another solution and the result should be like the image attached thanks in advance
  19. W

    Problem Autoscrolling to last row of Datagridview

    As my datagridview fills and the autoscrolling control appears I want to have the last row of the datagridview to be displayed by default. Currently I have to manually scroll to the last row, but want this handled automatically.
  20. mond007

    DataGridView Image Button Cell

    Hi Does anyone know how to programme up a ?Delete Image Button? using an Icon for a DataGridView in Visual Studio .Net I am struggling find trying to get my last column in my DataGridview to have a delete icon instead of the a "Delete Button" and I want to display a little dustbin icon. I...