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
fateme soleimani
NA
2
4.4k
how to select new record in gridex janus for add in database
Oct 7 2014 11:36 AM
hi every one
i want when i click icon save in navigator that i new record that updat as case select record and add database but not all record select and show one of record is null beacasue not column select. please help me one of column add with value 0 beacasue not column select. and for add record whiout 0 value i was in run one click after edit a record but i dont click i want in code a click after edit that record to be select how this write .
my code:
try
{
((DataRowView)fatemeBindingSource.Current).Row["code"] = codemax;
int g, b;
g = Convert.ToInt32(gridEX1.CurrentRow.Cells["code_b"].Value);
b = Convert.ToInt32(gridEX1.CurrentRow.Cells["name"].Value);
((DataRowView)fatemeBindingSource.Current).Row["code_b"] = g;
((DataRowView)fatemeBindingSource.Current).Row["name"] = b;
fatemeBindingSource.EndEdit();
fatemeTableAdapter.Update(this.baziDataSet.fateme);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
best regards
Reply
Answers (
0
)
VB.Net Update command updating Row with last Row values
StoryQ