473,372 Members | 1,082 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,372 software developers and data experts.

best way to proceed

Hello all
I need to build a web form that will allow user to enter database
table column definitions. Each row on the form would contain column
name, data type (chosen from a drop down list), size (if applicable)
and other wonderful attributes. I will then take this input and build
a CREATE table statement.

I am using C# in vs2003, .net 1.1

I have been reading through several groups here to get ideas, but
really dont know what would be best.

One idea is to use a datagrid, that would initially have one empty row
with blanks or drop down lists as needed in each field (of grid). User
would fill in each field in grid then start a new (dynamically added)
row in the grid.

or another idea is
present 1 textbox, dropdownlist,etc as needed for describing one table
column and then when finished filling those in, generate an HTML table
display showing the new row of information that was just added
(representing 1 table column), while displaying new empty text
boxes,etc again to begin creating the next column definition.

Should be able to have a check box or delte button on each row to
delete an entry if desired.
Of course I want it to do everything but not be complicated ;o)

Any ideas, input, links, (already written code :o) )
is appreciated.
Jeff

Dec 7 '05 #1
1 1177
Hi,

Is this a web app?

You can use any list control as long as it allows you to make changes to
the rows (or place any kind of control you want) a datagrid may be useful.

you then have to iterate in the control to each row and see if any change
was done.

you can add a button "Add Column" to add a new row.
cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Jeff User" <je*******@hotmail.com> wrote in message
news:ff********************************@4ax.com...
Hello all
I need to build a web form that will allow user to enter database
table column definitions. Each row on the form would contain column
name, data type (chosen from a drop down list), size (if applicable)
and other wonderful attributes. I will then take this input and build
a CREATE table statement.

I am using C# in vs2003, .net 1.1

I have been reading through several groups here to get ideas, but
really dont know what would be best.

One idea is to use a datagrid, that would initially have one empty row
with blanks or drop down lists as needed in each field (of grid). User
would fill in each field in grid then start a new (dynamically added)
row in the grid.

or another idea is
present 1 textbox, dropdownlist,etc as needed for describing one table
column and then when finished filling those in, generate an HTML table
display showing the new row of information that was just added
(representing 1 table column), while displaying new empty text
boxes,etc again to begin creating the next column definition.

Should be able to have a check box or delte button on each row to
delete an entry if desired.
Of course I want it to do everything but not be complicated ;o)

Any ideas, input, links, (already written code :o) )
is appreciated.
Jeff

Dec 7 '05 #2

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

Similar topics

1
by: MickeyBob | last post by:
I want to develop a web application that displays real- time data. I'm thinking that a typical web form would have between 25 to 75 values that needed to be updated every second or so. The...
8
by: Ian Davies | last post by:
Hello I am trying to run a few INSERT queries only if the user clicks 'continue' in a <a href> The queries takes variables created from SELECT queries. I have tried to acheive this by putting The...
10
by: jaYPee | last post by:
I have a function that call a stored procedure which performs an insert command. now i want to refresh the dataset so that the newly inserted data will be available to my datagrid I have tried...
2
by: dbuchanan | last post by:
Hello, Windows forms & database What are the considerations when choosing how to display reference information from the calling form? What is recommended? Table1 is the parent of Table2. ...
2
by: Jeff User | last post by:
Hello all I need to build a web form that will allow user to enter database table column definitions. Each row on the form would contain column name, data type (chosen from a drop down list), size...
10
by: rAinDeEr | last post by:
Hi, I am trying to create around 70 tablespaces for around 100 tables.. Am using DB2 UDB 8.2 in Linux environment... This is one i generated through Control centre.... CREATE REGULAR...
9
by: raylopez99 | last post by:
What's the best way of implementing a multi-node tree in C++? What I'm trying to do is traverse a tree of possible chess moves given an intial position (at the root of the tree). Since every...
3
by: venujune6 | last post by:
Hi All, I have a C++ on windows code with no underlying documents. I need to produce the Technical specification for this code, explaining each and every function in the program in terms of both...
6
by: jeddiki | last post by:
I am writing a little script that will improve authors writing skills by finding repeated phrases in the text. The text of a chapter will average about 10,000 words, however, I could reduce the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.