I have a problem with my C# project in Visual Studio 2017
. When I'm adding a new column to my SQL server 2014 table I can't find it in VS 2017 data grid and other you can check my 3 picture:
My code in Student.cs class
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace CURD
- {
- public class Student
- {
- public int StudentID { get; set; }
- public string FullName { get; set; }
- public string mcbRozetavalod { get; set; }
- public string mcbMahetavalod { get; set; }
- public string mcbTarikheTavalod { get; set; }
- public string Email { get; set; }
- public string Address { get; set; }
- public string ImageUrl { get; set; }
- public bool Gender { get; set;
- }
- }
- }
And my code in EntityState.cs class
- using System;
- using System.Collections.Generic;
- using System.Linq; using System.Text;
- using System.Threading.Tasks;
- namespace CURD
- {
- public enum EntityState
- {
- Unchanged,
- Added,
- Changed,
- Deleted
- }
- }