?
Solved

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

Posted on 2014-10-29
2
Medium Priority
?
168 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:Murray Brown
[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 2000 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:Murray Brown
ID: 40418813
thanks
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

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

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Suggested Courses

770 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