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
Ashok Kumar
NA
38
46.1k
Update, Delete in gridview
Jun 25 2012 2:56 AM
hi friends,
i have inserted two buttons(Update, Delete) in datagridview in windowsform application i want perform action on Update, delete buttons for each row in dataGridview Could anyone help me
My code is
private void from_load(object sender, EventArsgs e)
{
this.eMpDETAILTableAdapter.fill(this.eMPDataset.EMP_DETAIL);
{
DataGridViewButtonColumn dgbutton = new DataGridViewButtoncolumn();
dgButton.flatstyle = Flatstyle.Flat;
dgButton.HeaderText = "Button";
dvButton.Name= "Button";
dvButton.UseColumnTextForButtonValue = true;
dvButton.Text = "Update";
dataGridView1.Columns.Add(dvButton);
// in this way i have created another button name "delete"
private void dateGridView1_CellContentclick(object sender, DataGridViewCellEventArgs e )
{
}
thanks
Reply
Answers (
2
)
WinForm application for copying files using backgroundworker
get rowheight of printpreviwecontrol