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
milan dhore
NA
2
10.5k
Want to fetch data from Gridview to varible for Update event
Aug 24 2010 12:02 PM
hi
I want to fetch different data parameters from
Gridview
to following varible ,and use
int rptId = Int32.Parse(GridView1.DataKeys[e.RowIndex].Value.ToString());
string client = GridView1.DataKeys[e.RowIndex].Value.ToString();
string counterparty = GridView1.DataKeys[e.RowIndex].Value.ToString();
DateTime scheduledate = DateTime.Parse(GridView1.DataKeys[e.RowIndex].Value.ToString());
DateTime scheduletime = DateTime.Parse(GridView1.DataKeys[e.RowIndex].Value.ToString());
such code to implement above cited condition ,but getting exception like
"Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index".
Can you help me out.
Reply
Answers (
1
)
Merging 3 grayscale bitmaps into RGB
Access to form controls in classes