16,004,647 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Bharath Balu (Top 6 by date)
Bharath Balu
7-Sep-15 2:53am
View
Will that fix windows application error also?
Bharath Balu
7-Sep-14 10:02am
View
Yes thats really good idea. Could you give a glimpse of using id's to update the row in gridview.
Please let me know if there is a way to update my rows in gridview. My inputs(textboxes,dropdownlists,etc..) and gridview table are in separate form and I have this gridview in another web-form.
Previously, both inputs(textboxes,dropdownlists,etc..) and gridview were in same web-form. So i updated the rows by using "FindControl" with reference to those inputs like this....
id = Convert.ToInt32(((Label)(GridView1.Rows[e.RowIndex].FindControl("label4"))).Text);
name = (((TextBox)(GridView1.Rows[e.RowIndex].FindControl("txt_name"))).Text);
address = (((TextBox)(GridView1.Rows[e.RowIndex].FindControl("txt_address"))).Text);
email = (((TextBox)(GridView1.Rows[e.RowIndex].FindControl("txt_email"))).Text);
...................
Bharath Balu
7-Sep-14 9:48am
View
Please let me know if there is a way to update my rows in gridview. My inputs(textboxes,dropdownlists,etc..) and gridview table are in separate form and I have this gridview in another web-form.
Previously, both inputs(textboxes,dropdownlists,etc..) and gridview were in same web-form. So i updated the rows by using "FindControl" with reference to those inputs.
Bharath Balu
7-Sep-14 4:51am
View
I am aware of what i was using. I used correct instance too. Still don't know why the error occured but I feel happy that I solved it.
Bharath Balu
7-Sep-14 3:26am
View
Thank you so much Mike :)
Bharath Balu
6-Sep-14 8:32am
View
Thank you so much for the answer. I too had a same problem and solved. Thanks a lot.
Show More