UpdateParameters

G

Guest

I'm exploring Microsoft sample code. This is a master/detail scenario with
two SqlDataSources. The master table shows Northwind.Customers data. In the
detail table, I can massage a row of data selected from the master table.

In the SqlDataSource code that handles the "detail" part, I see a mile-long
<UpdateParameters> list:

<UpdateParameters>
<asp:parameter Name="CompanyName" Type="String" />
<asp:parameter Name="ContactName" Type="String" />
...
</UpdateParameters>

If I delete the list, the program works just as well.

- Why is that?
- What is the purpose of the list?

Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top