asp.net - How to Bind Sql DataSource using code? -
I have a SQL data source that I have built with Gridview. Where I have the column name. I am updating the value in the data base, using the AJ rating, and I want to show that value even after updating. But this will not show an updated value until the page is refreshed. & lt; ItemTemplate & gt; & Lt; Table range = "0" cell padding = "0" cell area = "0" width = "auto" & gt; & Lt; Tr style = "width: 150px;" Valign = "top" & gt; & Lt; Td style = "height: 30px;" & Gt; & Lt; Asp: Label ID = "lblTotalRate" runat = "server" text = '& lt;% # DataBinder.Eval (container.datetime, "total right")% & gt;' & Gt; & Lt; / Asp: Label & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; Tr style = "width: 150px;" Valign = "top" & gt; & Lt; Td style = "height: 30px;" & Gt; &...