i have a form in which when i enter value and upon pressing submit button all the data were shown
on the grid.from where i can edit and update the grid view. in this case i can edit the only particular row. but i want to edit the whole grid and then update it. means bulk edit
Share the code regarding bulk edit and update according to my above mentioned code.
How to do bulk edit/update with checkboxes in GridView control where in the selection of editting a row needs to have some info brought from db for validation on update?
I have a set of dataset with different column retrieved from DB. I need to present the datasets in one GridView (or other ListView etc...) without specifying the column_header. It should present automaticly since the GridView is bind to the DataSet.
In additional, I want this GridView to handle multiple rows edit and update the dataset, idealy, show data in textboxs in initially.How could I set the GridView to edit_model without hardcode column_header and textboxs in 'itemtemplate' or filed.
How could I achieve the bulk edit and update, so that I can assign 'mydataview1.table' to the dataset.
I am following this article in aspsnippets. I followed each and every line, but when the user check the check box, the row become highlighted and it turns light yellow. I could not figure out where the code to make the row yellow/highlighted is and the gridview in my code is not turning yellow either. URL...
I have a gridview with checkboxlist for each record. I was updating each record individually based on that check, but now they want it to be a bulk update instead of individual. So i have commented out my individual update and added a button below the gridview and created my button event, how to loop thru the gridview and find the checked records and call my update procedure.
i found something kinda close to what i need, but its in VB and not sure how to convert that to C#
I'm having a gridview in my aspx page with checkbox, User can select one or more than one record(s) at a time and clicks on delete button, Then i'm constructing an object of my DTO and adding all the checked row's Primary Key (DataKeyNames - GUID's in my case) to a serializable class and generating an XML and sending it as parameter to the Stored Procedure.
My Doubt is, can i bulk delete all the rows from database table those are present in my XML document??
If it works, I can do bulk update with XML only, i already did bulk insertion by generating an XML..
My Another Question is, Will it affect the performance? Each time when i construct an DTO object and adding it to the Generic List?
Which one is better, I mean ObjectDataSource or SQLDataSource or my XML method?
I have a gridview that has an edit button. I want to have dropdownlists in the edit template, which I have. I cannot get the dropdowns into the update sql. Is that done with code behind or is there another way to do it?
I have a gridview and am using the Edit - Update function to update one field in my gridview. I have the textbox appearing as I want it and am able to update the data for that cell.
The problem I have is refreshing the gridview after the update. The Update and cancel are still shown instead of the gridview refreshing back to the Edit statement after the update.
I want to change single cell value and color by click on cell in grid. and i want select more one cell.this process only happen in client side after giving approval only i want to upload in database.
Using the pubs database, my GridView groups titles by publisher. Everything displays correctly; I just can't edit anything. I click on "Edit" an the Textboxes don't appear. What am I doing wrong? Should my FillGrid() function be returning all the records or just the ones from that particular publisher group? Here is my .aspx code:
I want to set up a gridview that will display data like this
[Code]....
and that allows editing. Is it possible to have multiple update statements when editing from he gridview? Each day will need a separate update state since the data will be stored in the database like this
[Code]....
I think for each row I would need 7 update statements - one for each day. Is this possible with the gridview edit button?
my gridview doesn't return to readonly mode after an update. i have set the editindex to -1did the databind() for the gridview too. but nothing works.setting keepineditmode to false doesn't work either.he documentation says that the gridview automatically returns to readonly after pressing the update button.my gridview is on a panel, and that panel is on an update panel.