Ask a Question related to ASP.NET Data Grid Control, Design and Development.
-
Tina #1
and null fields in a datagrid
in the itemDatabound event of a datagrid, both null fields and blank string
come through as in the e.items.cells field. Is there anyway to tell
them apart?
Thanks,
T
Tina Guest
-
#36974 [Asn->Csd]: ORA-01405: fetched column value is NULL on LOB fields in 10g
ID: 36974 User updated by: crescentfreshpot at yahoo dot com Reported By: crescentfreshpot at yahoo dot com -Status: ... -
How insert null in numerics fields?
Good morning, How insert null in numerics fields? I can't insert 0()zero and nor other number, because any positive number can be a possible code... -
is not generated for null values when using a format string
I have a DataGrid with which formats dates <ASP:TEMPLATECOLUMN SortExpression="EST_DATE" HeaderText="Est Date"> <ITEMTEMPLATE> <ASP:LABEL... -
#26351 [Opn->Bgs]: Incorrect handling of Null Fields/Numerical Fields with '0'
ID: 26351 Updated by: iliaa@php.net Reported By: jabberwocky at ibplanet dot com -Status: Open +Status: ... -
#26351 [NEW]: Incorrect handling of Null Fields/Numerical Fields with '0'
From: jabberwocky at ibplanet dot com Operating system: Any PHP version: 4.3.4 PHP Bug Type: MSSQL related Bug description: ... -
S.M. Altaf [MVP] #2
Re: and null fields in a datagrid
Is there anything specific you're trying to accomplish by differentiating
between the two? Under general scenarios, they would both be the same in
the datagrid. But if you're looking to change the value in the datagrid
based upon these values, you should check the corresponding value in the
dataset, and not in the datagrid cell. You can access it in the
ItemDataBound event with something like
ds.Tables(0).Rows(e.Item.ItemIndex)
HTH
-Altaf [MVP]
--------------------------------------------------------------------------------
All that glitters has a high refractive index.
[url]www.mendhak.com[/url]
"Tina" <tinamseaburn@nospammeexcite.com> wrote in message
news:eQfEAeD1FHA.2752@TK2MSFTNGP12.phx.gbl...> in the itemDatabound event of a datagrid, both null fields and blank
> string
> come through as in the e.items.cells field. Is there anyway to
> tell
> them apart?
> Thanks,
> T
>
>
S.M. Altaf [MVP] Guest



Reply With Quote

