Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27033

VS 2005 User control code question

$
0
0
Hi,

I am creating a vcr style navigation bar as a customer user control. What I am having a problem with is taking a property value (name of the binding control on a form that is entered into the property page) and inserting that value in to the click event of a button. Here is the pseudo code in Visual Basic . . . . . .

(name of binding control on the form that is stored as a string in a property of the my user control).EndEdit() or

(name of binding control on the form that is stored as a string in a property of the my user control).Count

How do I create the place holder for the property value in code so that I can use the methods on properties of the bindingsource?

I can't hard code the value at design time as I don't know the name of the binding source that will be used in the future.

Thanks,

Bob H.

Viewing all articles
Browse latest Browse all 27033

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>