We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Making a Column Read-Only when using a background Access Database in the DataSource Property

Thread ID:




26743 Mar 31,2005 05:20 AM UTC WinForms 0
Tags: FAQ
Asked On March 31, 2005 05:20 AM UTC

Hi, I''m working on a project currently where the user must enter data that is placed into a background Access Database. I made the data adapter and the data set of the table being used. I also use the dataset as the datasource for my datagrid. The problem is that a particular column in the dataset is a foreign key to another table and must be constantly set to a specific value that must not be tampered with in order to keep the relationship for updates. Is there a way to easily make specific columns in this datagrid read-only? And also is there some way to set the default value of a particular cell to a preset variable value? (Variable because the foreign key used in this table has to match an autonumber key from the parent table.)


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon