Solved

VB.net Excel Add-in Update base table data using a view

Posted on 2014-10-29
2
159 Views
Last Modified: 2014-11-02
Hi

In a VB.net application I have a view that combines three tables: Customers, Orders, and [Order Details]
I load the view to a DataGridView and an  Excel spreadsheet with every column having an alias with the table
and column name separated by a pipe delimiter. I want to update the base table info based on the View
Is it possible to do this in the DataGridView or use Excel as a way to fire update commands?

I have included the ID columns of all three tables as shown in the image

View
0
Comment
Question by:murbro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
Kamal Khaleefa earned 500 total points
ID: 40410407
you may use the DataGridView   to fire update commands

and to update the table not the view since the view is a combination of tables

then reload your grid/excel from DB
0
 

Author Closing Comment

by:murbro
ID: 40418813
thanks
0

Featured Post

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question