msdata:ReadOnly="true" ???

  • Thread starter Thread starter G Dean Blake
  • Start date Start date
G

G Dean Blake

I have a textbox in an ItemTemplate of a grid I'm using to allow users to
change a value. I've done it a hundred times. In this project I have it
returns the original amount even though the user enters a revised value in
the textbox. the code is identical to my many working examples.

However, I notice that the xml dataset that the grid is binding from I am
using has msdata:ReadOnly="true" generated in it. I can't see how or why
that got there. Anyone know?

Thanks,
G
 
I think, your column is a unique autogenerated column like guid or intger.
And u set the column as identity column. Remove identity and re-generate
dataset. It should work

--
HTH

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
 
It's not an identity column in the table.
G

Yunus Emre ALPÖZEN said:
I think, your column is a unique autogenerated column like guid or intger.
And u set the column as identity column. Remove identity and re-generate
dataset. It should work

--
HTH

Thanks,
Yunus Emre ALPÖZEN
BSc, MCSD.NET
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top