TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Olukayode Oluwole
NA
4
1.3k
Error Inserting into a postgresql database through a stored
Jan 15 2019 5:47 PM
I have a c# application that needs to write into a postgresql table
using a stored procedure.
The stored procedure is developed and tested. It is working correctly when i tested
it manually using the select script facility in postgresql
When tried to insert from my C# application i got the error below:
System.InvalidCastException: 'Can't write CLR type System.Int32 with handler type TextHandler'
My guess is that there is probably a disconnect between the data been inserted and the
respective datatypes in the database.
I have tried to check the datatypes for the 7 parameters but cant resolve it
I attach a word file that contains the details of ALL that i have done step by step
I will be grateful to have any input that can help to resolve the issue
Olukay
Attachment:
Error_Inserting_into_a_postgre_table_using_stored_procedure_14-01-2019.zip
Reply
Answers (
1
)
how to write any blogs in c#?how much required Explanation??
Download Multiple binary file from database