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
ZAIN ULARIFEEN
1.6k
143
150.2k
How to write this code fro the datagrid.
Feb 6 2013 8:30 AM
#region SAVE AND UPDATE
for (int i = 0; i < rowCount; i++)
{
//CHECK ROW IS NOT SELECTED
if (Convert.ToBoolean(dataGridView1.Rows[i].Cells[0].Value) == false)
{
//ROW MUST HAVE STRING VALUE(NOT NULL OR EMPTY)
if (dataGridView1.Rows[i].Cells[1].Value != null && string.IsNullOrEmpty(dataGridView1.Rows[i].Cells[1].Value.ToString()) == false)
{
//IF ID IS NULL THAN SAVE
if (dataGridView1.Rows[i].Cells[5].Value == null)
{
}
Plzzz, Anyone Can Help Me.
Reply
Answers (
1
)
Datatable row
How to make privilege form for the user.?