By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,566 Members | 1,820 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,566 IT Pros & Developers. It's quick & easy.

Enter Data in the AddNew Row

P: n/a
I have a datagrid with 2 columns, Column 1 is the primary key

How can I allow the user to enter data in the AddNew row, but don't allow them to edit the existing value in column 1

Thank you

Nov 15 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
Are you talking about the AddNew row of a datagrid? You should be able to create a tablestyle and a columnstyle to make that row readonly to the user. Search GotDotNet in the C# board and include "Andrew" in your search. I am pretty sure I have posted a sample on how to do this. It may be in VB, but it should be easy to understand and translate

Nov 15 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.