I have s detailsview and I bind it to a table in database.I want to use edit command of detalsview but when I click on update I see this error .I dont ewant to write cod .here sourecode of detalasview.
"DetailsView1" runat="server" AutoGenerateRows="False"
DataSourceID="SqlDataSource1" Height="50px" Width="151px">
"city" HeaderText="cit" SortExpression="city" />
"country" HeaderText="coun" SortExpression="country" />
"address" HeaderText="add" SortExpression="address" />
"phone" HeaderText="tell :" SortExpression="phone" />
"fax" HeaderText="fax :" SortExpression="fax" />
"Email" HeaderText="Email :" SortExpression="Email" />
"copyright" HeaderText="copyright :" SortExpression="copyright" />
"cancel" EditText="edit" ShowEditButton="True" UpdateText="update" />
