|
I connect to SQLDB as Follow code
-------------
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:121ConnectionString %>"
SelectCommand="SELECT [text], [count] FROM [Test] WHERE ([id] = @id)">
<SelectParameters>
--------------
and bind data in DAta list like this
-------
<asp:Label ID="textLabel" runat="server" Text='<%# Eval("count") %>'></asp:Label><br />
-----
I want to access the value of DB fiels from code bbehind.I do not want to use Eval command, I want to work with them as a variable. i.e work with "countt" field as Golbal variable on my weform and change it's valut to i.e "count" * 15 = 100
what should I do?
|