Connecting Tech Pros Worldwide Forums | Help | Site Map

How to get default value of a column using GetSchema

Newbie
 
Join Date: Jul 2009
Posts: 3
#1: Oct 3 '09
Dear Friends,

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

is there any alternative is available?

Regards
Jay.

Newbie
 
Join Date: Oct 2008
Location: Coimbatore
Posts: 29
#2: 3 Weeks Ago

re: How to get default value of a column using GetSchema


hi

u may use this na
dsTestTitle.Tables[0].Columns[0].DefaultValue;
Newbie
 
Join Date: Jul 2009
Posts: 3
#3: 1 Day Ago

re: How to get default value of a column using GetSchema


Thanks for reply,
I was moved to another project so wasn't seen the reply.

Jaydeep.
Reply

Tags
csharp, database, default columns value, getschema, vb.net