datagridview

  1. E

    Question Adding Property to DataGridView Column

    Hello to everyone, i have created one instance of datagridview on my form(by using the designer), with some columns from a custom class (CustomDataGridViewTextBoxColumn) which inherits from the base DataGridViewTextBoxColumn class. So far i ve added one extra property on my...
  2. S

    Datagridview keeps adding unwanted new column

    Hi all.... if anyone can help me with this i would be very greatfull! Im using VB08 Express Edition I have simply made a new project (windows form application). Put 2 dataviewgrids on the form. Added 3 columns to each grid (at design time). I then added one line of code as follows to the rows...
  3. P

    data to display in the grid at run time?

    I've added a datasource to my project and dragged an element from Data Sources onto my form. It automatically created a DataViewGrid and placed this statement in my form load event: Me.SortBillsTableAdapter.Fill(Me.DoBills_2009DataSet.sortBills). When I preview the data element from right...
  4. R

    How to give fixed width in datagridview to save in text format

    I have a datagridview and few testbox. User types in the details into the text box and when pressed enter it adds to the datagridview. Now the question is user will be allowed to save the rows into a text file but it in not saving in a proper format ie i am getting as: Quantity Name Rate...
  5. S

    Question Copying One DataGridView from form to form

    So my final goal is to take some columns from one form's datagridview (in form3) and place them into a seperate form's datagridview (form4). I started off by just trying to put all of the rows in there one-by-one. Later I will be moe picky about which rows I want. Below is the code I am using...
  6. T

    Datagridview only updates database after changing row selection...

    I have a bound datagrid that contains textboxes and comboboxes. I am having problems getting my changes to consistently update the database behind the scenes. I have an EndEdit event that fires everytime it needs to and executes the code to update the database. However, the update commands...
  7. S

    Question Connecting to ODBC then parsing data, then viewing in datagridview

    Hey, so I am a new programmer, and I am trying to receive data from an odbc connection. I would like this data to be filtered before it comes in, and then I would like to view it in a datadgrigview. Below is some code I adapted from an example and it is getting an error that reads: ERROR...
  8. S

    Question DataGridView doesn't show changes of its DataSource

    Hello everybody! My application looks like the following: 1. An XML file is read using LINQ and the result is an enumeration of objects of a specific type (i don't use anonymous types). The result is then converted with result.ToList() to a standard list and saved to a list-variable. 2. I...
  9. P

    Resolved Updating the BindSource

    Again I have hit a snag!!!! I have patched together a program, initially using the VS object helpers and then coding in functionality as and where I need it. Initially I had a problem updating a table from a combobox, but I did that with a class and attaching it an arraylist as I read on...
  10. B

    Question Displaying data from related table in DataGridView

    I have 2 tables in my dataset: - Items - Warehouse The Items table contains a column named 'WarehouseID'. It tells me which warehouse this item belongs to. The Warehouse table contains an 'ID' column and a 'Name' column. Now if I display the contents of Items table in a datagridview I will...
  11. P

    Question DataGridViewTextBoxColumn with dataset

    I hope you can help me. I have a form with the normal controls as well as a datagridview which get data from another table based on the record displayed. I have hidden the first two columns, as I do not want to show ID and QuoteNumber. However, I do want to display NumberOfPeople, StartDate...
  12. C

    Question How to make DataGridView loads data faster ? (4000+ records)

    Hi, I am making a small POS program using VB.Net and MySQL as the database. There's more than 4000 items so far and still increasing. It could be 1000 items more. So, at the Transaction form, I want to call a form which contain all items information a Dialog Form. It worked perfectly when only...
  13. P

    Question Comboboxes in Datagridview

    I am using a datagridview with comboboxes. Initially at the column level for testing but ultimately will be at the cell level. I can add combobox items both at design time and runtime ok and verify programatically that the comboboxes have items. Downside is the items don't display. Must be...
  14. L

    Question Populating ComboBox coloum dropdown items in DataGrid

    Hello all, I have encountered what iam sure must be a fairly simple problem when it comes to populating the items of a comboBox column of a databound Datagrid. I have a simple dataset returning information from two tables (products & categories) into two tableAdapters (products & categories)...
  15. D

    Having an issue with DataGridViewButtonColumn

    I have a datatable that I am using as a datasource to a datagridview. I am adding a datagridviewbuttoncolumn just before I set the datasource. The problem that I am having is that I want the text "View" to show on the button and it is not. I was under the impression that setting the Text...
  16. K

    Question DataGridView MouseUp Event

    Hopefully a dumb question, but I can't find a reference to it (or even acknowledgment anywhere online that it is an issue)... I'm trapping the MouseUp event on a DataGridView. It works great as long as I click on an "unused" portion of the DGV. If I click on a cell, the event does not...
  17. Mr.White

    Question Strange DataGridView error

    Hi all, I have a datagridview which I populate myself (not data bound) where users are able to view the full grid (lets say 60 rows) or the summary view (30 rows). When I remove every second row for the summary view, some of the cells decide to change value from 0.5 to 1. Even though if I ask...
  18. R

    Question Is this possible with DataGridView?

    Hi If i have a DataGridView is it possible to insert the details of a selected row into another form to update? If so...... How can i do this? I have 2 forms frmMain (where the datagrid is placed) and frmCustomer (this is where i want the selected Row details to be inserted, so i can update...
  19. K

    Ellipse button control on DataGridView

    As a continuation to this post... http://www.vbdotnetforums.com/winforms-grids/33755-datagridview-cell-location-problem.html [...and thank you for your assistance!] I'm trying to use implement an ellipse button within a DataGridView to trigger a more detailed popup menu. This would be similar...
  20. K

    DataGridView Cell location problem

    I'm using the DataGridView control to display a table of textboxes and comboboxes. In one of the combobox columns, I need to popup a form when that cell is (left) clicked. I have that portion working. The part that I have issue with is locating the popup form properly. In the _CellClick...
Back
Top