msdata:ReadOnly="true" ???

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
 
Y

Yunus Emre ALPÖZEN [MCSD.NET]

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
 
G

G Dean Blake

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

Members online

No members online now.

Forum statistics

Threads
474,430
Messages
2,571,676
Members
48,796
Latest member
Greg L.

Latest Threads

Top