pulkit jain
Top achievements
Rank 1
pulkit jain
asked on 23 Aug 2010, 10:23 AM
Hello All
I am trying to use your sample database and i have binded your sample database with scheduler,whenever i tried to save the appointment this error come
Unable to cast object of type 'System.Guid' to type 'System.IConvertible'.Couldn't store <995f3481-b5a0-4435-82ec-137fb699b43b> in ID Column. Expected type is Int32.
Please guide me to find the solution.
Thanks & regards
Pulkit
I am trying to use your sample database and i have binded your sample database with scheduler,whenever i tried to save the appointment this error come
Unable to cast object of type 'System.Guid' to type 'System.IConvertible'.Couldn't store <995f3481-b5a0-4435-82ec-137fb699b43b> in ID Column. Expected type is Int32.
Please guide me to find the solution.
Thanks & regards
Pulkit
4 Answers, 1 is accepted
0
Nicu Olaru
Top achievements
Rank 1
answered on 24 Aug 2010, 09:21 PM
You can read about "The ID field is not a Guid, or is not read only in the Data base" in this page: mapping
0
Hello guys,
Nicu, thank you for your suggestion. Pulkit, please verify that the help article for RadScheduler mapping, pointed out by Nicu Olaru, was helpful for you. Please write us back if you have a more specific scenario and experience some other difficulties.
Best wishes,
Alexander
the Telerik team
Nicu, thank you for your suggestion. Pulkit, please verify that the help article for RadScheduler mapping, pointed out by Nicu Olaru, was helpful for you. Please write us back if you have a more specific scenario and experience some other difficulties.
Best wishes,
Alexander
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
pulkit jain
Top achievements
Rank 1
answered on 04 Sep 2010, 07:58 AM
Hello aexendar
I have already done this but i am having the same problem.
Please for me can you build the sample project demonstarting this thing.
It will be of great help.
Thanks & regards
Pulkit
I have already done this but i am having the same problem.
Please for me can you build the sample project demonstarting this thing.
It will be of great help.
Thanks & regards
Pulkit
0
Hello pulkit jain,
Thank you for writing back. It look likes that you are trying to bind to a MSAccess database.
There is an issue when the VS creates a data table in the dataset. Please take a look at the available documentation. The important thing is that RadScheduler uses GUID for ID by default. If you do not set the ReadOnly property of the ID field in the data table with appointments, then you should to take care of the conversion from GUID to int in order to store the values in the database.
I hope that this will help you.
Greetings,
Dobry Zranchev
the Telerik team
Thank you for writing back. It look likes that you are trying to bind to a MSAccess database.
There is an issue when the VS creates a data table in the dataset. Please take a look at the available documentation. The important thing is that RadScheduler uses GUID for ID by default. If you do not set the ReadOnly property of the ID field in the data table with appointments, then you should to take care of the conversion from GUID to int in order to store the values in the database.
I hope that this will help you.
Greetings,
Dobry Zranchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items