By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,805 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,805 IT Pros & Developers. It's quick & easy.

how to programmatically manipulate the ControlParameter property 'Name'?

P: n/a

i want to programmatically manipulate the property 'Name' of a
ControlParameter inside a InsertParameters tag.

This the aspx code:
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%
.......... %>"
InsertCommand="INSERT INTO .......)"
<asp:ControlParameter Name="myname" ControlID="na"
PropertyName="text" />


Dim a As String
a = SqlDataSource1.InsertParameters.Item(0).ToString

but 'm stuck here

Thanks for help
Jun 6 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.