Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

mvc model validation for decimal type

[RegularExpression(@"^d+.d{0,2}$")]
[Range(0, 9999999999999999.99)]
public decimal Property { get; set; }
Comment

PREVIOUS NEXT
Code Example
Csharp :: uwp roaming data sample 
Csharp :: c# guid from string 
Csharp :: browser folder in wpf 
Csharp :: system.drawing.color to system.consolecolor 
Csharp :: dapper get list 
Csharp :: 2d array rows and columns in c# 
Csharp :: do while loop in c# 
Csharp :: c# byte + byte is int 
Csharp :: c# webbrowser write html to text file 
Csharp :: c# in equivalent 
Csharp :: vb.net drag window without titlebar 
Csharp :: c# get private property 
Csharp :: how create two database conction in laravel 
Csharp :: wpf databinding 
Csharp :: c# string across multiple lines 
Csharp :: fill dictionary c# 
Csharp :: instantiate c# 
Csharp :: c# multiple exceptions same handler 
Csharp :: delete selected cells in Datagridview 
Csharp :: datatable select c# 
Csharp :: how to filter a list in c# 
Csharp :: adding to a dictionary class c# 
Csharp :: create app() import vue cli 
Csharp :: Moq Unittest with ILogger 
Csharp :: csharp-for-loop 
Csharp :: c# Prefix Sum of Matrix (Or 2D Array) 
Csharp :: get one parameter from list in an new list c# 
Csharp :: validate preview input number wpf 
Csharp :: c# check value at design time 
Csharp :: show double in textbox c# 
ADD CONTENT
Topic
Content
Source link
Name
2+3 =