Search results for query: *

  1. F

    DataGrid, Datagridview, ListView - Which one?

    I need to simply show the contents of some of the columns from a single table and open a form bases on the first column of the row clicked. I do not need editing, deleting etc Which one is the easiest to bind to an existing binding source or table adaptor and accomplish what I need: Datagrid...
  2. F

    Open form with from datagrid doubleclick

    This is the actual error message I get: Value of type 'System.Windows.Forms.DataGridViewCell' cannot be converted to 'String'.
  3. F

    Open form with from datagrid doubleclick

    When someone doubleclicks the datagrid, I want to open a form and filter it based on the ProductID( the first column) of the row clicked. I cannot work out how to get the cell contents of the first column of the current row. I have tried: datagrid.Item(0, dgPurchases.CurrentRow) But this...
  4. F

    How to stop deletion in data grid

    It is bound to a BindingSource which is bound to a Table adaptor??
  5. F

    How to stop deletion in data grid

    I don't see either datatable, or datarow as a property or method of the datagrid? Do you have some example code you could show me?
  6. F

    Add (and Delete) items from Listview from Database

    I would like to add a listview (just list of items) to my program, but have no idea where to start. I have a connection object (cnWSO) a datatabel (dtCats), as well as bindingsource, and table adaptor. I need to display 5 of the columns from the table and then be able to add, delete and also...
  7. F

    How to stop deletion in data grid

    Using vb.net 2.0 and visual studio 2005 I have a datagrid which is bound to a Bindingsource and has a connect binding neavigator. I want be able to cancel the deletiong based on a dialog result. so far I have: Private Sub BindingNavigatorDeleteItem_Click(ByVal sender As System.Object...
  8. F

    Linked combo box

    I have a form based on one table that is on the one side of a one to many relationship. I need to create a combo box that is linked to the many side. ie: Purchases: (one side) PurchaseID PurchaseName CategoryID (foreign key) Categories: (Many side) CategoryID (Primary Key) Category...
  9. F

    Running program from the path / file name

    Sorry, couldn't think of a better title for this. Anyway, I have someone who want to store the location of different files in a database (eg: c:\test\wordfile.doc) and for the program to load the associated program when the link is clicked. Storing and displaying these in a form is...
  10. F

    Simple Sample needed for loading and updating database

    I used some samples and put together the following code to save the data: PrivateSub C2K_PurchasesBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles C2K_PurchasesBindingNavigatorSaveItem.Click Me.Validate()...
  11. F

    Simple Sample needed for loading and updating database

    I wrote many different database applications in VB6 but cannot seem to get my head round doing the same thing in .net I have VB.NET 2005 I need a very simple application sample that takes a regular access database and displays the fields on a form and allows for update, new records and...
Back
Top