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

Global Change to DataGrid

In my app, I get all the info/data that I want from an Access data base. In
one place I've the information displayed on a ListView.

I let a user click on any line and then an 'edit' button. This picks the info
from the line and displays the data in a DataGrid for editing. The
information displayed is 1 to 7 lines.

What I want to do is to change some text in a column ("description") that is
the same to all the info displayed in the DataGrid. I plan to have a TextBox
where the user makes the change and then clicks an update button. Later they
have to click another button (accept changes) to re-write the updated
information back to the Access data base).

My initial thought to do the update was to reload the data and instead of
using the data base "description" information, to substitute it with the
revised wording.

But maybe there is an easier way to simply just replace all the info in one
column with the updated text? If so, I'd appreciate some direction here.

LASTLY, in a ListView, how can you get a 'double' click to function? I would
like to allow a user to double click a line to bring up my edit shell (right
now it's a line click to highlight, then an edit button). I've tried:

Private Sub lvProjDisplay_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles lvProjDisplay.Click
.... code here...
End Sub

.... but this doesn't work. Anyone?

Thanks in advance!

Bruce
Nov 20 '05 #1
0 732

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

Similar topics

0
by: Mr. B | last post by:
In my app, I get all the info/data that I want from an Access data base. In one place I've the information displayed on a ListView. I let a user click on any line and then an 'edit' button. ...
2
by: Mr. B | last post by:
In my app, I get the info/data that I want from an Access data base (ADO.net). And I display the data in a DataGrid for editing. The information displayed is 1 to 7 lines depending upon the info....
0
by: Bill Johnson | last post by:
Server Error in 'DataGrid' Application Compilation Error CS0234: The type or namespace name 'Global' does not exist in the class or namespace 'System.Web.UI.WebControls.DataGrid' (are you...
6
by: Alpha | last post by:
I have several textboxes that I need to chang the text when the selection row is changed in a datagrid. I have the following code. This textbox displayes the initial selection but when I click on...
6
by: Prince | last post by:
I have a question about the global.asax.cs file. I'm reading info from a database to populate a DataGrid. I read somewhere that the opening of the database should occur in the global.asax.cs...
41
by: Miguel Dias Moura | last post by:
Hello, I am working on an ASP.NET / VB page and I created a variable "query": Sub Page_Load(sender As Object, e As System.EventArgs) Dim query as String = String.Empty ... query =...
9
by: Shapper | last post by:
Hello, I am declaring a variable in my aspx.vb code as follows: Public Class catalogue Public productid As String Private Sub Page_Load ... I have an image button where I call the...
2
by: Steve | last post by:
I am new to this newsgroup & to .NET in general. I have been playing around with Visual Studio .NET, building and rendering web pages using VB "code behind" files. My problem / question is; How...
1
by: JustinRU | last post by:
Hi, I'm pretty new to .NET and have (what I think) is a simple question. I have a program that contains a datagrid, which is bound to different sql queries depending on search criteria. I set...
1
weaknessforcats
by: weaknessforcats | last post by:
C++: The Case Against Global Variables Summary This article explores the negative ramifications of using global variables. The use of global variables is such a problem that C++ architects have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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: 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...
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...
0
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
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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...

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.