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...
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...
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...
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...
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...
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...
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()...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.