Datagrid

  • Thread starter Thread starter Sebastian Santacroce
  • Start date Start date
S

Sebastian Santacroce

Hi,
I'm trying to make it not possible to add new rows to a
grid by the user only modify. If I set it to readonly then
they can't add but they can't modify.

Is what I'm looking for possible?

Seb
 
Sebastian Santacroce said:
Hi,
I'm trying to make it not possible to add new rows to a
grid by the user only modify. If I set it to readonly then
they can't add but they can't modify.

Is what I'm looking for possible?

Maybe somebody at
microsoft.public.dotnet.framework.windowsforms.controls
knows the answer.
 
No, you cant - Once you make it read only you cannot edit it. One
alternative is to creat a form which you use to edit the record, this means
you can see all the records but cannot directly edit them or add to them.
Use a form for this,

I have done exactly the same thing on one of my projects.

Regards - OHM


Sebastian said:
Hi,
I'm trying to make it not possible to add new rows to a
grid by the user only modify. If I set it to readonly then
they can't add but they can't modify.

Is what I'm looking for possible?

Seb

Best Regards - OHMBest Regards - OHM (e-mail address removed)
 
Hi Armin,

For that we have our own very active specialist, maybe you saw some post
from him?

:-))

Cor
 
Hi Armin,

That could be it also yes I had to laugh about that (friendly) but I was
meaning OHM

This newsgroup you did give as a redirection

microsoft.public.dotnet.framework.windowsforms.controls

is in my eyes a dead newsgroup.

I did post a question to it a week ago but never got an answer. Most post
there are crosspost from this newsgroup.

But the answer HKW was funny, I had to think and then I understood it.

Cor
 
Cor said:
This newsgroup you did give as a redirection

microsoft.public.dotnet.framework.windowsforms.controls

is in my eyes a dead newsgroup.

I don't know because I've never been there. :-))))
I did post a question to it a week ago but never got an answer. Most
post there are crosspost from this newsgroup.

That's why I made the suggestion. If all windowsforms.controls related
questions were posted there, it would be a busy group. ;-)
 
Back
Top