473,670 Members | 2,599 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Editing and Update Gridview

22 New Member
I have a simple app that has sqlDataSource pulling data from a table in a gridview. Now I want to be able to edit and update data in the gridview, without the automatic generate update in the sqlDataSource, by creating a function that will do that.

Any help would be greatly appreciated!

Thanks!
Mar 11 '08 #1
0 826

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

Similar topics

0
1080
by: Fred K. Augustine, Jr | last post by:
After upgrading from Visual Web Developer Beta2 to the final release version, web forms that contained GridView controls set up for data editing stopped working properly. No error is produced but the editing changes are not committed to the database (I am currently using SQL Server 2000). I have also created completely new web forms with the same result. Has anyone else experienced this problem (or anything similar) or does anyone have a...
2
8099
by: Bill Manring | last post by:
I am writing a very simple web application using VS 2005 and a SQL Server Database. I am just starting to experiment wth .NET 2.0 and I am trying out the supposedly improved databinding. I dragged a table from a datasource on to my web form and the GridView cpntrol was created. I turned on paging, and Edit and Delete buttons. I ran the app and everything worked great - not a single line of code written yet. Then I wanted to add a...
5
19056
by: misiek | last post by:
Hi all. I would like to know if it is possible to dynamically enable/disable row editing in GridView control in ASP.NET 2.0. I am asking because this feature should be enabled/disable depending on button, which was clicked by user. Thanks in advance, misiek
1
1280
by: aarif.shah | last post by:
Hi, i am Aarif, I Have a gridview.On clicking the edit link of gridview i want my edititem template(that i have defined ) to show either Texbox control or dropdown list depending on some condition. when user clicks on update link of the gridview,the value shoud be taken from either textbox or selected value of dropdown list depending upon which control is appearing in the edit mode. How can i do this?
1
2184
by: Haleigh | last post by:
Is this possible to update a gridview without datasource or is this a bug. I've tried newvalues and it doesn't work. Actually I've pretty much tried everything, but I always get null values for the text I have changed in my gridview. Also, I am using a stored procedure. Any help is appreciated. I've been stuck for days.. ~Haleigh
3
13398
by: cpnet | last post by:
I have a GridView which I'm populating from an ObjectDataSource (give the GridView a DataTable). The GridView will have about 20 rows, and only one editable column. The editable column consists of a RadioButtonList ("Yes", "No", "Not Answered") in a TemplateColumn. I want the user to be able to select a radio button for each row in the GridView (without having to first put each row into edit mode). Once the user has selected the Radio...
2
1672
by: vinodkus | last post by:
<asp: editCommandColumnis not available in version 2.0 then how an editing is possible in gridview.
0
1484
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I have a gridview that binds to an object datasource. I added an update method to the object data source through the wizard. The update method takes an object as input and returns an object of the same type. Anyhow it looks like the code is trying to run the update method when the user selects the update button (command field button on the grid). It does not work since the object is not passed in. I am guessing I would need to...
3
2211
by: krisviswa | last post by:
Hi experts I have googled for tips/solutuins and failed to get a right method to implement following scenario. I have a gridview populated with data on page load from my sourcetable. Tomake it precise say I have fields Ac_Id, Ac_Name, Balance, and user_Id in my table accounts. The user_Id and Ac_Id forms the composite key. I have 3 rows in my table as follows 1, Cash, 1000, ABC
0
8468
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8386
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8591
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8660
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7415
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6213
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4209
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2799
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 we have to send another system
2
2041
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.