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
elham deljooei
NA
84
73.3k
How to auto sort datagridview when the user enter a new data
Jan 15 2013 4:23 AM
I have a DataGridViewX1 when get its data from Datatable. Now i want to sort it when the clerk add data to sql, DataGridViewX1
automatically sort
and
show new row
.
i tested this code but it isn't correct.
//Fill datatable
adp = new SqlDataAdapter("FillDataGridViewWithClerk", conn);
adp.Fill(dtbl);
grd.AutoGenerateColumns = false;
DataView view = dtbl.DefaultView;
view.Sort = "clrk_Name, clrk_Family asc";
grd.DataSource = view;
Reply
Answers (
1
)
c# write processmemory 2 offset
when i clik the hid button want to validate in DGV.