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
mark jones
NA
31
0
delete a row
Jul 6 2006 4:09 PM
I was hoping that someone could assist me in the following. I have created a dataset in c# and have bound this to a datagrid and I want to delete a row in the datatable in the dataset. I know how to add a row to the dataset but am unsure of how to delete a row. I want to delete a row by using the unique ID number but I am unsure of how to do this. Can I use the indexof operator to obtain the index of the row in the datatable? I am not using an adapter as the datasource is based on xml. I would be grateful of any advice.
Reply
Answers (
1
)
instanciating connection object
find a row in the datatable