thanks, just got fired. i had 6 months off and got rusty, i was practicing linux and sql dba not knowing what i may get hired for. well, i got 3.5 days pay. better than nothing
OK, I know this was obserd to think this would work.
It threw no erros
Try
dgvTables.Update()
Catch ex As Exception
MsgBox(ex.Message & " Update Changes got Hosed")
End Try
End Sub
Ok i was wrong I did get an update from intellisense.
example dgvTables.Update .But there is no insert or delete, so does this mean the DataViewGrid is smart enough to know to make any and all changes that where edited in the grid to the table in the database if I put dgvTables.Update in a sub?
Thanks River Guy.
I am new at vb.net.
Here is what a developer wrote for me that gets me started.
with the way he is connecting to the ms sql db (below), will I be able to use the above aproach that RiverGuy gave me?
The form has a cbo box that fills all user tables in the database. then when...
I have a dynamic datagridview that brings rows from user tables. Now I need to be able to update the dataset when someone make a change to a cell in in the dataGridView.
Has someone done this before?
Ok, well I am trying to narrow it down before I start coding it for the development app, this is not the dev tables or data.just trying to see if someone thinks i am on the right track.
now I am trying to figure out if the only and best wat to update into 2 or more tables at the same time is to...
Ok, well I am trying to narrow it down, this is not the dev tables or data.
just trying to see if someone thinks i am on the right track.
now I am trying to figure out if the only and best wat to update into 2 or more tables at the same time is to use 2 or more update queries.
like so:
1.make...
I know this is both a T-Sql and a VB.net question, but did not know where to post...
SO I finally got hired and am rusty as can be. so much its embarrassing.
I need to make a sp that the vb.net forms controls will pass and updated values too.
so do i make one update sp for the form to call...
this way it will not let me specify which column i am putting it in
Try
Dim colNames() As String = {"InventoryLocation", "InventoryLocationID", "Description"}
Dim dt As DataTable
dt = InvLocationAdapter.GetinvLocation
dt.Rows.Add(New Object()...
I was asked to add a row to a data set that is already in memory to be put into a combo box.
where and how do i put it in my code? It needs to say in combo box "Select Item"
'Location
Try
Dim colNames() As String = {"InventoryLocation", "InventoryLocationID"...
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.