473,480 Members | 4,985 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Help creating web form tied to SQL

Trying to determine the best way to do this. I have a table that has
about 16 columns of free form text and one column that needs to be
updated by an enduser. Instead of trying to put the data in a
datagrid, I wanted to created something like an input form where the 16
columns were readyonly and the 17th was a text box that could be
updated.

I need a next and back type button to navigate the data. I am not sure
what the best way to approach this is. The old DataControl (i think
thats what it was called) in VB6 is kind of the gist of what I am
trying to do. Where you could tie the fields on the screen to
databasefields and do the movefirst, back, next, movelast type of
thing.

Any thoughts?

Nov 17 '05 #1
2 1182
"hartbypass" <gh***@medex.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Trying to determine the best way to do this. I have a table that has
about 16 columns of free form text and one column that needs to be
updated by an enduser. Instead of trying to put the data in a
datagrid, I wanted to created something like an input form where the 16
columns were readyonly and the 17th was a text box that could be
updated.

I need a next and back type button to navigate the data. I am not sure
what the best way to approach this is. The old DataControl (i think
thats what it was called) in VB6 is kind of the gist of what I am
trying to do. Where you could tie the fields on the screen to
databasefields and do the movefirst, back, next, movelast type of
thing.

Any thoughts?

You were going in the write direction with the datagrid. You can easily
build an updateable datagrid that contains the textboxes with a button to
click that will submit the data back to the server. The datagrid control
has paging that has to be enabled to navigate back and forth between data.
You can customize the paging style with in the data grid.

Jeff
Nov 17 '05 #2
Thanks Jeff.

Would you have any kind of example in C# to demonstrate this? Even if
it only contains one text box and a submit button.

Greg

Nov 17 '05 #3

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

Similar topics

6
2114
by: allyn44 | last post by:
HI--what I am trying to do is 2 things: 1. Open a form in either data entry mode or edit mode depending on what task the user is performing 2. Cancel events tied to fields on the form if I am in...
11
2987
by: Steve | last post by:
I'm hoping someone can help me out. I'm a newbie to vb.net still. I'm trying to convert the code below from VB6 to VB.NET. I'm not sure of the best way to go. This is basically a simple...
1
1072
by: deercreek | last post by:
I need some help figuring something out. I'm not sure if I heading in the correct direction. What I'm trying to accomplish is the following. I have a table that has id, discrip, and 2 date...
6
7432
by: Rick | last post by:
I have a main form called frmDemo with a subform frmStageTrack_Sub. On the subform is a Combo Box CboTermID. The frmDemo is tied to tblDemo and the frmStageTrack_Sub is tied to tblStageTrack. ...
0
1804
by: GovEgg | last post by:
Hi All, I am new to writing xml in .net and am wondering how to get my xml document to start with the following startelement?... - <EMSDataSet xmlns="http://www.nemsis.org"...
5
2069
by: Don Do | last post by:
Ok, this is my 2nd ever post. 1st one was solved quickly. Thanks. Now I'm stuck again. My mdb has a main form with 3 subforms. Each tied to the succeeding by single autonumberID/foreign...
7
1465
by: Will1234321 | last post by:
Hello, I am creating an Inventory database and have the following setup to track sales made. I have 2 tables, tblSales and tblSaleItems. tblSales has the following fields: InvoiceNum, Date,...
11
1748
by: melon | last post by:
Let's say, I have a form class... public class MainForm : Form { private CustomClass cc; public MainForm() { DoSomething() InitializeComponent(); } /// Do something more
4
1423
by: sparks | last post by:
TRYING TO USE SHORT NAMES might make more since. I have a main form and its tied to tblmain subform1 and it is tied to tbl1 subsubformA on subform1 tied to tbl2 MAIN---tblmain----autoid...
0
7040
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6905
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7041
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7080
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6908
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4772
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4478
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
178
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.