Click here to Skip to main content
15,895,283 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,


i have a GridView in which i can edit the contents as usual and it is ok. but my problem is when updating some values it requires some calculations with other tables in which i have another SqlDatasource connected with a Repeater.


how can i make my GridView after updating, refresh the other DataSource automatically in which the calculations also will be updated with the new values of my GridView items.
Posted

1 solution

i think you can use databind() method like

C#
SqlDataSource s = new SqlDataSource();
s.DataBind();


in your case i think datasource is already available which you just have to use
C#
yourSqlDatasourceName.DataBind()
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900