Sorry, Rex ... I guess we both should've mentioned that from the beginning, eh? <g> This is for WinForms, not WebForms. Not having really messed with the WebForms yet, I'm not sure what the syntax is there.
~~Bonnie
>Bonnie,
>
>Is this for Windows or Web controls? I am looking to bind to a web control. Is this possible?
>
>TIA
>
>Rex
>
>>Rex,
>>
>>Typically this code would go on the form.
>>
>>~~Bonnie
>>
>>
>>
>>>Bonnie,
>>>
>>>Where would the code go? What is the "this" object?
>>>
>>>TIA
>>>
>>>Rex
>>>
>>>>Rex,
>>>>
>>>>In C# it's
>>>>
>>>>this.DataBindings.Add("Text", MyTable, "MyColumn");
>>>>
>>>>
>>>>~~Bonnie
>>>>
>>>>
>>>>>All,
>>>>>
>>>>>What is the syntax to bind a dataset field to a textbox?
>>>>>
>>>>>Thanks
>>>>>
>>>>>Rex