TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
alireza abedi
NA
3
739
when i add new column in my sql server 2014 Table..Visual c#
Apr 22 2018 11:35 AM
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
}
}
Reply
Answers (
2
)
How To push notification in IOS c# with multiple parameters
How to display lucky draw result on a table