Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
240
I cannot able to update webdata grid after editing a column in the grid
posted

Hi,

I am using webdata grid in visual studio 2010

i bind the grid by using entity datasource

in my grid i have totally 4 columns and the third column only Editable by user and want to update in DB

 when i run the application to that page i can see that the grid is binded and the i make the third column as empty(that happens from DB itself)

if i enter some value in the third column(edit) and press enter

it firing to this event  gvVendorParameters_RowUpdating in code behind page

after pressing F5 one error throws in web page like one window that i have attached here please see that

In the sametime now i am going to say this in two case

case 1:

if i enter some value in the third column and i suppose to click the button under that grid in the same page it does not works means(it does not firing to code behind while i have a breakpoint there)

 case 2:

if i didnt enter the value for that third column and i just selecting the row, after that pressing the enter button in the same place it works fine means it get firing to the code behind

What i want to do ?

if i enter the value for the third column and pressing "enter button" it want to store it in DB and all the events want to work(button,check box,radio btn etc...)

how to proceed with this and i reminding i used entity datasource to bind the WebDataGrid

 

and please help me how to proceed

 


Parents
No Data
Reply Children
No Data