Re: DataColum.DefaultValue



..V,

The default value column will give you the value of the column if no
value is specified. If you want the value of the column, you need to go to
the row and get the value for the column. The DataColumn class is metadata
about the column, not what provides the values for themselves. You have a
nullable column with no default (or a default value of null) specified,
which is why the DefaultValue property returns true.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"netsql" <cekvenich@xxxxxxxxx> wrote in message
news:ub99gtKGGHA.3176@xxxxxxxxxxxxxxxxxxxxxxx
>I am trying to get a vale of a column.
>
> Above gets me null, but it seems that I do have data.
> How to get data out of a column?
>
> tia,
> .V


.



Relevant Pages

  • Does using index.php affect search engine rankings?
    ... Apologies if this is the wrong group ... TIA ... Dynamo ... Prev by Date: ...
    (comp.lang.php)
  • Re: Stop a service programatically
    ... > Any thoughts/help? ... > TIA - Jeff. ... Prev by Date: ...
    (microsoft.public.dotnet.general)
  • Search Problem
    ... I just need a way to line by line search the entire file, fetching that ... making some modifications and moving further. ... TIA ... Prev by Date: ...
    (comp.unix.shell)
  • Calculating Differences Uniformly
    ... makes me, well, get pretty negative, lol ... TIA! ... tx12345's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=24776 ... Prev by Date: ...
    (microsoft.public.excel.worksheet.functions)
  • Use of Default Value property
    ... instead of resetting back to the default value of "Enter details here". ... there a way to reset this using code within the combo box's After Update ... event and the DefaultValue property? ... Prev by Date: ...
    (microsoft.public.access.forms)