471,350 Members | 1,896 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,350 software developers and data experts.

DataType for BLOB

What DataType should I use for a field that is BLOB SUBTYPE TEXT on the
backend? I've tried String and Char. I'm getting a runtime error
telling me that the SourceColumn is a Char[].

Thanks.
Dec 5 '05 #1
2 5783
Try CLOB

T

C Glenn wrote:
What DataType should I use for a field that is BLOB SUBTYPE TEXT on
the backend? I've tried String and Char. I'm getting a runtime error
telling me that the SourceColumn is a Char[].

Thanks.


Dec 6 '05 #2
I've tried this:

dtTasks.Columns.Add("Note", System.Type.GetType("System.CLOB", false,
true));

I've also tried this:

dtTasks.Columns.Add("Note", System.Type.GetType("System.BLOB", false,
true));

Both cases return: DataType must not be null.

Is there another way to go about this that I don't know about?
tomb wrote:
Try CLOB

T

C Glenn wrote:
What DataType should I use for a field that is BLOB SUBTYPE TEXT on
the backend? I've tried String and Char. I'm getting a runtime error
telling me that the SourceColumn is a Char[].

Thanks.


Dec 6 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Carolyn Longfoot | last post: by
1 post views Thread by Troy Jerkins | last post: by
9 posts views Thread by matt | last post: by
2 posts views Thread by amoldiego | last post: by
reply views Thread by Dutt | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.