>>On the same page I have a GridView bound to a dataset. Below the GridView there is a textbox (or several textboxes). As user navigates through the GridView (clicking on this or that row) I want the value/text in the textbox(s) to be updated according to new row in the dataset. My understanding is I need to bind the textbox(s) to the same dataset. How do you do it? An example, of one textbox binding to the dataset would be very helpful.
>>TIA
>
>Dimitry
>
>This is how I do it with a Winform. I'm not sure whether ASP.NET does it the same way.
>Actually, you don't bind to a dataset. You bind to a column in a datatable that belongs to a dataset.
>miscSysdataInf.sysdatads is a strongly typed dataset.
>appuser is a datatable and username is the column.
>
>
>
> textBoxUsername.DataBindings.Add("Text", miscSysdataInf.sysdatads.appuser, "username");
>
Bill, first, thank you for your input. I did find a post online that uses Databinding but I think it (this post) also was illustrating the WinForms application. I think ASP.NET (web application) should use a different approach. I will keep looking - online - and here.
Again, thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham