DetailsView Insert New Record |
Answered By
Moderator1
on
6/14/2011 9:57:50 AM |
|
|
Hi,
I suspect there is some in your FindControl syntax as you tried to use Rows[n], which might create issues in your code.
You can use the simple syntax as below to Find the control inside the DetailsView
TextBox txtID = (TextBox)DetailsView1.FindControl("txtID");
Try like. Hopefully, this might solve your problem. |
|
|