cnetworks
❔ CRud in .net core mvc Image file return as null from view to controller
Now this issue is image comes a null in the entry of Create Method. Even though all other values of form I could fetch using Request.Form.That is fine. Now the issue is image.
My create : public IAction Create(RegModel reg, IFormGile image)
(
)
7 replies
❔ How can I save a status of chechbox to a db
yes Thanks.I almost figured out.
But how could I pick the only selected data from view(via checkbox selected) to csv.
Some guys recommended to use jquery datatable etc
But I am interested on server side implementation like u did
Could you help in the view part
To pick the selected records.
10 replies
How to save Checboxes values into single column?
i hv created two tables and created keys
Table 1: Employee Tabke(ID(pk), Name, Address)
Table 2: EmployeePersonalTable( Id(fk),Phone Number, PIN)
Entity First db
Created keys on both tables and designed ui in view.Did code in controller.
Created a view model to hold two models and tried to push it into db.
However, error show up that second Table I'd can't be traced since it is not primary key.
However, I created fk on I'd field.Please
31 replies