Rajesh Gami

Rajesh Gami

  • 81
  • 24.4k
  • 1.3m

boolean type checkbox checked unchecked in MVC

Apr 14 2018 11:42 PM
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)