Devexpress rowupdating example
At example you can add a Command Button in the grid itself or simply start editing let’s say on a row double click.
There are also many other modes, you have rich client and server side methods in order to start editing one or more rows.
Sorting and changing position of columns is by default enabled. Note : You can download Devexpress controls from have tried this with versions 9.2.3 and 9.3.2.
For example purpose I have used connection strings and queries in same file but for you, you need to retrieve it from web.config file and also use stored procedures.using System;using System.
The only exception is the Remove Credit Card method, which actually doesn’t delete the item and in cascade the related items in the tbl_Import, but only flags the credit card as inactive.
In order to make this thing actually work, we need to modify the stored procedure that we defined in previous post sp_Get Credit Card Imports.
I will not go in the detail about the environment and developing requirements, if interested jump op to my other posts.
The attached project is written in Visual Studio 2012. Also you will need a Microsoft SQL Server 2012, Express or and more advanced version will be just fine.
w=300" data-large-file="https://taditdash.files.wordpress.com/2014/06/debugger-inside-gridview-rowupdating-event.png? w=800" src="https://taditdash.files.wordpress.com/2014/06/debugger-inside-gridview-rowupdating-event.png? w=800&h=359" alt="Debugger Inside Grid View Row Updating Event" width="800" height="359" class="size-full wp-image-328" srcset="https://taditdash.files.wordpress.com/2014/06/debugger-inside-gridview-rowupdating-event.png?
In this post we will continue adding functionality on our previous example.
If you missed my previous post you can get it here: ASPx Grid View Excel style – Adding notes to grid cells.
Net is useful for displaying large data in a tabular format.
I have previously posted an article on how to insert new rows in database using a Grid View.