Click here to Skip to main content
16,004,647 members

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 :)