468,168 Members | 1,477 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,168 developers. It's quick & easy.

msdata:ReadOnly="true" ???

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

Nov 19 '05 #1
2 1332
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 Dean Blake" <gb@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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


Nov 19 '05 #2
It's not an identity column in the table.
G

"Yunus Emre ALP÷ZEN [MCSD.NET]" <yemre> wrote in message
news:Oh**************@TK2MSFTNGP12.phx.gbl...
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 Dean Blake" <gb@nospam.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
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



Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

By using this site, you agree to our Privacy Policy and Terms of Use.