Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why might is be ignoring this bottom line below.

Status
Not open for further replies.

Gzk2010

Programmer
Aug 17, 2010
48
US
VS2010 - Why might is be ignoring this bottom line below.
It still puts in a null instead of when it is null, putting in "1417993940"); ????


sb.Append(drv["provider_npin"] != null ? drv["provider_npin"] : "1417993940");

Thanks in advance
 
are you sure the value is null and not an empty string?

Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top