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

Is there a gridlike control that allows editing?

CR
Suppose you have a simple table consisting of Name, Address, and
Phone#. If I want to allow the user to edit this table I do the
following: I fill a listview or listbox control with the rows from the
table. Then the user highlights the row they want to edit and hits an
"Edit" button. That pulls up a form with Name,Address and Phone#
textboxes for the user to edit. Then I change the data in the table
and update the listbox.

Is there a control that would allow the user to directly edit the data
right in the control? I don't want a control that is data bound. I
want to manually update the data to the table.

Thanks!

Chuck.
Nov 21 '05 #1
3 927
The DataGrid is probably your best control. You can hook numerous events in
both datagrid (if you inherit) and ADO.NEt that will allow you to control
your data updates. otherwise, your going to write a lot of extra code.
"CR" <cr***@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
Suppose you have a simple table consisting of Name, Address, and
Phone#. If I want to allow the user to edit this table I do the
following: I fill a listview or listbox control with the rows from the
table. Then the user highlights the row they want to edit and hits an
"Edit" button. That pulls up a form with Name,Address and Phone#
textboxes for the user to edit. Then I change the data in the table
and update the listbox.

Is there a control that would allow the user to directly edit the data
right in the control? I don't want a control that is data bound. I
want to manually update the data to the table.

Thanks!

Chuck.

Nov 21 '05 #2
CR
"CJ Taylor" <jj******@jackson5.com> wrote in message news:<eo**************@TK2MSFTNGP14.phx.gbl>...
The DataGrid is probably your best control. You can hook numerous events in
both datagrid (if you inherit) and ADO.NEt that will allow you to control
your data updates. otherwise, your going to write a lot of extra code.
Thanks! That seems the be the control I need to use.



"CR" <cr***@hotmail.com> wrote in message
news:1a**************************@posting.google.c om...
Suppose you have a simple table consisting of Name, Address, and
Phone#. If I want to allow the user to edit this table I do the
following: I fill a listview or listbox control with the rows from the
table. Then the user highlights the row they want to edit and hits an
"Edit" button. That pulls up a form with Name,Address and Phone#
textboxes for the user to edit. Then I change the data in the table
and update the listbox.

Is there a control that would allow the user to directly edit the data
right in the control? I don't want a control that is data bound. I
want to manually update the data to the table.

Thanks!

Chuck.

Nov 21 '05 #3
There's also a free grid at my site that is built for just the kind of
simple purpose you're talking about--if you're still wanting to avoid
data-bound. Although, unfortunately, it's still COM-based for now.

Brian

--
Brian Schwartz
FishNet Components
http://www.fishnetcomponents.com
Building better tools for developers--be part of it!
Nov 21 '05 #4

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

Similar topics

12
by: Stephen Poley | last post by:
I have a report which prints data from a parent table and two child tables (Contract and Kosten). Because it is a bit long, I suppress some fields which are often empty, based on methods found in...
0
by: jack zhang | last post by:
Hi, UCCDraw ActiveX Control is an ActiveX control that allows creation and editing of Visio-style charts from within your application. Allows you to create flow charts, vector drawings, raster...
1
by: Amber | last post by:
The DataGrid allows you to make columns visible or invisible on demand - even edit and other special columns. This article will show you how it is done. Some developers have reported problems...
1
by: jack zhang | last post by:
Hi, UCCDraw ActiveX Control is an ActiveX control that allows creation and editing of Visio-style charts from within your application. Allows you to create flow charts, vector drawings, raster...
7
by: Randy | last post by:
I hope somebody can make a hero out of me before tomorrow! Let's say I have a web page with a couple of textboxes, checkboxes, radio buttons, etc. User fills in some data, clicks submit, and off it...
0
by: Frnak McKenney | last post by:
Can I use a bound ComboBox for both browsing and editing? I'm working on a small, standalone database application using Visual C#.NET 2003 and an Access data file. In order to keep the number...
0
by: Good | last post by:
Hello I am a newbie in ASP.net. I have found out that it has a details view control which allows us to group a set of controls for data editing. In general, will we use this control? Or it is...
0
by: prerak_v_shah | last post by:
Hi, Friends, I have been developing datagrid program in .Net 1.1 and having VB.Net as a programming language. I have created a datagrid which is bound to a datatable as its datasource. It also...
2
by: elijahs | last post by:
This seems like an obvious one but it has me stumped. I have a complex form with a bunch of databound grids and textbox controls. There is a MainMenu control, and a toolbar control with...
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
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: 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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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.