booleanExpression ? trueValue : falseValue;
            Example:  string itemText = count > 1 ? "items" : "item";

2

View comments

  1. iif ([Total_a_pagar] =0 , [Saldo_pendiente]=0 ,[Total_a_pagar] - [COBRO_TOTAL_MES])
    pero en después de la primer coma me sale un false en vez de un 0.

    ReplyDelete
SQL Delete From Table With Constraints.
SQL Delete From Table With Constraints.
SQL JOINS Examples
SQL JOINS Examples
SQL Complex Grouping using group substring
SQL Complex Grouping using group substring
C# csv parser CSVParser
C# csv parser CSVParser
2
C# String Wrapper Function
C# String Wrapper Function
C# Copy From Text File To DataTable
C# Copy From Text File To DataTable
C# RegEx Validator
C# RegEx Validator
C# How To Add Or Subtract Days Months Years From Date
C# How To Add Or Subtract Days Months Years From Date
c# - How to create images thumbnail control using picturebox
c# - How to create images thumbnail control using picturebox
C# Get All Files In A Directory
C# Get All Files In A Directory
C# Find Most Recent File In Directory
C# Find Most Recent File In Directory
3
C# XML To SQL Stored Procedure
C# XML To SQL Stored Procedure
C# Serialization/DeSerialization
C# Serialization/DeSerialization
SQL - Check For Not Null Field
SQL - Check For Not Null Field
C# - VB6 Equivalent of Err.Number
C# - VB6 Equivalent of Err.Number
2
C# Using App.config file.
C# Using App.config file.
1
SQL C# Procedure expects parameter which was not supplied
SQL C# Procedure expects parameter which was not supplied
Error: COMException Was unhandled. Retireving the COM class factory for component with ‘xxx’ failed due to the following error: 80040154
The process cannot access the file because it is being used by another process.
The process cannot access the file because it is being used by another process.
C# ? Operative
C# ? Operative
C# - VB Equivalent Of IIF
C# - VB Equivalent Of IIF
2
Error while trying to run project: Unable to start debugging. The Microsoft Visual Studio Remove Debugging Monitor has been closed on the remote machine
Convert Octal To Decimal In C#
Convert Octal To Decimal In C#
Convert Decimal To Octal In C#
Convert Decimal To Octal In C#
SQL - Copy a row from same table
SQL - Copy a row from same table
Convert Decimal To Binary In C#
Convert Decimal To Binary In C#
Convert Binary To Decimal In C#
Convert Binary To Decimal In C#
Using Custom Class in C# Dictionary
Using Custom Class in C# Dictionary
Replace \r\n with actual carrige return and line feed
Replace \r\n with actual carrige return and line feed
Check For Palindrome
Check For Palindrome
SQL Merge two rows based on two tables.
SQL Merge two rows based on two tables.
Insert multiple rows in a table.
Insert multiple rows in a table.
Remove unwanted words from a table.
Remove unwanted words from a table.
The type or namespace name '??????' does not exist in the namespace
The type or namespace name '??????' does not exist in the namespace
OCR Using MS-Office
OCR Using MS-Office
7
Creating An Access DataBase Programatically In C#
Creating An Access DataBase Programatically In C#
7
ADD A New Column with default values filled
ADD A New Column with default values filled
C# IsDate Function
C# IsDate Function
C# IsNumeric Function
C# IsNumeric Function
VB Like InputBox in C#
VB Like InputBox in C#
1
Find the first and last date of a given week, month, quarter or year. (A C# Algorithm)
Find the first and last date of a given week, month, quarter or year. (A C# Algorithm)
2
Encode
Encode
VB.NET - StringBuilder
VB.NET - StringBuilder
VB.NET - Constructs
VB.NET - Constructs
VB.NET - AddHandler & RemoveHandler
VB.NET - AddHandler & RemoveHandler
VB.NET - Threading
VB.NET - Threading
VB.NET - Serialization
VB.NET - Serialization
VB.NET - Reflection
VB.NET - Reflection
VB.NET - Interface
VB.NET - Interface
VB.NET - Generics
VB.NET - Generics
VB.NET - Dictionary
VB.NET - Dictionary
VB.NET - Delegates
VB.NET - Delegates
VB.NET - Attributes
VB.NET - Attributes
Blog Archive
Topics
Topics
Loading
Dynamic Views theme. Powered by Blogger. Report Abuse.