2
Answers

How to save array of value in json format to database using C#

Meghana M

Meghana M

1y
633
1

Json format from angular 

books:"tables",

Color:[

Color:red,

Color:white

]

DataModel.cs

public string Books{get;set;}

Public string Colors{get;set;}

How to store in  database table  like separated by commas in same row of column using C# code

output:Colors    

          Red,White

Answers (2)