Changing data in datagrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hello,
i'm writing a windows application in C#.
i have a dataGrid that takes data from dataset that connected to sql stored procedure, and i have few radio buttons.
i want that when ever the selected radio button chaged the data in the the datagrid will change also.
i replaced the dataMemeber and the dataSource but what i get is a child table and i want that the data i get will be in the parent table.

how can i clear the parent table and put new data init?

thank you all
 
Can you show what you are binding to, it sounds like your datasource is
wrong.

--

W.G. Ryan, eMVP

http://forums.devbuzz.com/
http://www.knowdotnet.com/williamryan.html
http://www.msmvps.com/WilliamRyan/
Gidi said:
hello,
i'm writing a windows application in C#.
i have a dataGrid that takes data from dataset that connected to sql
stored procedure, and i have few radio buttons.
i want that when ever the selected radio button chaged the data in the the datagrid will change also.
i replaced the dataMemeber and the dataSource but what i get is a child
table and i want that the data i get will be in the parent table.
 
Hi Gidi,

I don't think I got your question right. But try setting the DataSource property to the datatable directly.
 
Back
Top