468,104 Members | 1,293 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,104 developers. It's quick & easy.

How to get default value of a column using GetSchema

Dear Friends,

how can we get the default value of the columns using getschema functionality.

is there any alternative is available?

Regards
Jay.
Oct 3 '09 #1
3 2920
hi

u may use this na
dsTestTitle.Tables[0].Columns[0].DefaultValue;
Oct 30 '09 #2
Thanks for reply,
I was moved to another project so wasn't seen the reply.

Jaydeep.
Nov 25 '09 #3
There is one more question.

How can we get Foreign key information using the GetSchema method.

I exercised this but only able to retrieve the Foreign key constraint name, and table name.

But if we want to extract the Foreign key Columns name, and its primary key in parent table, how it can be?

Jaydeep.
Dec 3 '09 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Plop69 | last post: by
11 posts views Thread by Dominic Vella | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.