3
Answers

boolean type checkbox checked unchecked in MVC

Rajesh Gami

Rajesh Gami

6y
643
1
In my project some table field like GST_No , isGST_no etc.
 
in SQL server database
GST_No  nvarchar(100),
isGST_no  bit
 
in Moldels.
public string GST_No { get; set; }
public Boolean isGST_no { get; set; }
 
so when i write GST_No in create part then after automatically isGST checked checkbox and delete GST_No then unchecked automatically. How it possible ?
 
please give me answer for ONLY MVC not for simple asp
 
 
Thanx
 
Answers (3)