473,383 Members | 1,866 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Dynamic Editing

Hi,

I need to create an ASP.Net form that will allow one to edit data in various tables. What I need is the following:

When a user initially arrives to a form they are provided a drop down list containing text values representing the names of several tables (5-10 total).

Upon selecting a table name in the drop down list I would like the form to have the ability to add/edit/delete records in the selected table. One of the road blocks is that a lot of the tables have fields that simply store ID values representing records in other tables (look ups).

So how do I dynamically accomplish this? Any help would be great!
Nov 17 '05 #1
1 936
I'd recommend creating a user control for each table you want to edit. That
will let you set up the grid and the data separately for each table. In
your common form, after the user selects the table from the dropdown, you
dynamically load the appropriate user control.

This should also let you set up some generic user controls that can handle
multiple tables as well.

Jeff

"Demtri" <an*******@discussions.microsoft.com> wrote in message
news:C8**********************************@microsof t.com...
Hi,

I need to create an ASP.Net form that will allow one to edit data in various tables. What I need is the following:
When a user initially arrives to a form they are provided a drop down list containing text values representing the names of several tables (5-10
total).
Upon selecting a table name in the drop down list I would like the form to have the ability to add/edit/delete records in the selected table. One of
the road blocks is that a lot of the tables have fields that simply store ID
values representing records in other tables (look ups).
So how do I dynamically accomplish this? Any help would be great!

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Big Red | last post by:
Hi all I am reasonably new at php. I have a database table with three fields, id, caption and data. I have used the id and caption to create a dynamic menu. it just throws it into a loop with...
7
by: jorntk | last post by:
How can i make a drop down menu that are dynamiclly generated base on the value selected in another drop down menu? thanks nad regards Jorn
12
by: Phil Powell | last post by:
The customer made a wild request: they want on their admin panel a textarea that will display an existing resume. This textarea, however, must have a dynamic width, one that "fills the screen...
1
by: seanmayhew | last post by:
I have a form page that that while editing saves the data to an xml doc before submitting to db. On each page unload it saves the xmldoc as the user can add multiple items to the company like...
1
by: Director - Minvent | last post by:
I am having a problem! I am using the Task Pane control which MS gave out in their VBPowerPack. If I add an image to the task frame I have to use a physical path e.g. c:\connected.bmp as...
4
by: Alain \Mbuna\ | last post by:
Hi to all. I recently installed VB.NET express edition final, after using the Beta 2 version for a while. Now I have noticed that the Dynamic Help is no longer available??? Is this normal, or...
8
by: Sandy Pittendrigh | last post by:
I have a how-to-do-it manual like site, related to fishing. I want to add a new interactive question/comment feature to each instructional page on the site. I want (registered) users to be able...
9
by: Mike Hofer | last post by:
BACKGROUND: We've designed a Website for a client that will be deployed across multiple physical locations. The site will be hosted from a corporate NOC, and administered by the IT group there. ...
2
Frinavale
by: Frinavale | last post by:
I've created a ASP.NET control that displays a "book" of schedules. It dynamically displays scheduling times and allows the user to page through the schedules. It also lets the user edit the...
3
by: azegurb | last post by:
hi I have just took from internet dinamic table. this table is dynamic and its rows dynamically can be increased. but i would like how create SUM function that automatically sums each added row...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.