473,471 Members | 1,964 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Gridview Multi-row edit from external fields by button click

4 New Member
Hi

I have a page which displays a Gridview containing on each row a checkbox and 3 fields/cells (title, longitude, latitude). On the same page I have two textboxes containing the latitude and longitude values of a location (obtained from Google Maps).

I want to update the longitude and latitude values of the rows on the Gridview for which the checkboxes have been selected, with the values in the two (external) textboxes - by clicking a button next to the textboxes

I have been unable to switch the Gridview to Edit Mode to do this and loop through the rows amending the values. Is this actually possible? (I've used similar Gridview and button click to delete rows with checkboxes set, but first time have tried editing multiple rows)

Can anyone help? I code in VB.Net (fairly new to it - mostly VB6 before this)

Ken
Aug 10 '07 #1
2 6611
gyanendar
90 New Member
Hi

I have a page which displays a Gridview containing on each row a checkbox and 3 fields/cells (title, longitude, latitude). On the same page I have two textboxes containing the latitude and longitude values of a location (obtained from Google Maps).

I want to update the longitude and latitude values of the rows on the Gridview for which the checkboxes have been selected, with the values in the two (external) textboxes - by clicking a button next to the textboxes

I have been unable to switch the Gridview to Edit Mode to do this and loop through the rows amending the values. Is this actually possible? (I've used similar Gridview and button click to delete rows with checkboxes set, but first time have tried editing multiple rows)

Can anyone help? I code in VB.Net (fairly new to it - mostly VB6 before this)

Ken
For any thing to be done on gridview data..there should be an event for that.
Here u have external button...clicking that can u fire an event for gridview?
Aug 10 '07 #2
beish1
4 New Member
For any thing to be done on gridview data..there should be an event for that.
Here u have external button...clicking that can u fire an event for gridview?
There is a button to set off the event - don't know what the event coding to update the checked row fields should be
Aug 10 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: ABC | last post by:
I have an idea. I need to write a common gridview block which contains labels, textboxs, one girdview and some buttons. Then, I think the above block will apply on several girdview with...
5
by: John A Grandy | last post by:
It looks like MS wants you to use config a SQLDataSource , hand coding the SELECT, INSERT, UPDATE, DELETE SQL , and then assigning GridView.DataSourceID = SQLDataSource ... But what if you...
1
by: ZeroDev | last post by:
how can i do a multi header asp.net gridview and if it is Posible to do it as a class to use it any time , i mean Generic way , so ic an include the Header count style etc ,
0
by: steve.craver | last post by:
I am working with a multi-field search form which, when the form is submitted, queries a database and returns the results into a paginated GridView object. The site is being developed with master...
2
by: VMI | last post by:
I'm filling up a gridview and the underlying datatable has about 30,000 records, so it takes some time before I can see the page again with the records on the gridview. Is there any type of...
3
by: Jeff | last post by:
Hey asp.net 2.0 In the source I posted below, there is a GridView (look at the bottom of the script): <asp:GridView ID="gvwOnline" runat="server"> </asp:GridView> I'm trying to assign a...
3
by: gihope | last post by:
Can anyone tell me why I am not allowed to bind a two or multi dimensional array to GridView and possibly suggest how they would deal with similar scenarios? The array is simply a two dimensional...
4
by: tirath | last post by:
hi, I want to display data in on my web page, in gridview in this format: Group A Group B A1 A2 B1 B2 Test 1 1 2 1 2 Test 2 1 2 1 2 Group A is header to columns A1 and A2...
5
by: Eric | last post by:
Hi, there are several gridviews all with a linkbutton which all trigger the same procedure. I need to know from which gridview the linkbutton has been clicked. Thanks Eric Here the code:
3
by: Peter | last post by:
I have a GridView which is populated by List<ofObjects> Does anyone have example of how to sort the columns of this GridView? I have found examples without DataSourceControl but these use...
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
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
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
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
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
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.