Columns of dataset and sql server table [modified]
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all I am writing a program in which I want to read all the column names of a table in db of sql server and against every column I want to check wether it is NULLABLE or not. I am using
MyDataset.Tables[0].Columns[j].AllowDBNull
property of dataset but it shows always a true. I mean all the columns are shown as NULLABLE. Could someone help me? -- modified at 1:44 Friday 24th August, 2007Mujtaba "If both of us are having one apple each and we exchange it, at the end we both will have one apple each. BUT if both of us are having one idea each and we exchange it, at the end both of us will be having two ideas each."