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.
Unfortunately, activation email could not send to your email. Please try again.

Primary Key Restrictions

Thread ID:

Created:

Updated:

Platform:

Replies:

46143 Jul 6,2006 01:25 PM Jul 6,2006 02:46 PM Windows Forms 1
loading
Tags: GridControl
Patrick Hampton
Asked On July 6, 2006 01:25 PM

I was wondering if there are restrictions on what values are valid when being used as a primary key? I have a grid that is bound to a sql datasource that lists documents and details about those documents. I use the document name as the primary key, and it appears that when I have certain special characters (such as +, %, and ;) in the document name, I can not select that document in the grid. To complicate things further if the top most document in the list contains one of these characters the grid goes into an infinate loop trying to select the first document on the page load. Has anyone seen this before or have any thoughts on how to get around this? I do not have access to restrict what these documents are named before they are saved to the database.

Administrator [Syncfusion]
Replied On July 6, 2006 02:46 PM

Hi Patrick, Here is a sample, which shows the primary column with special characters ( +, % , ; ) and selection of data’s goes fine. Please modify the sample reproduce the issue here. Sample : GGC_PrimaryColumn Best regards, Madhan

CONFIRMATION

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.

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.

;