View Complete Post
Hi. I have a itemtemplate inside a gridview.
<asp:TemplateField HeaderText="Enter OTP"> <ItemTemplate> <asp:Label ID="Label2" runat="server" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small" Text="PIN Num:"></asp:Label> <asp:TextBox ID="txtPIN" runat="server" Height="21px" Width="100px"></asp:TextBox> &
Hi i am saving color as a string in database
i have a gridview control
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowUpdating="Update_Schedule"
OnRowDeleting="Delete_Schedule" OnPageIndexChanging="OnPaging" OnRowEditing="Edit_Schedule"
<asp:CheckBox ID="Todo" runat="server" AutoPostBack="true" Height="23px" OnCheckedChanged="CheckedChanged" />
<asp:HiddenField ID="hdn_ScheduleID" runat="server" Value='<%#Eval("ID") %>' />
<asp:Label Text='<%# Eval("Title") %>' runat="server" ID="lbl1"></asp:Label>
i have a gridview in which i have added two textboxes .
the second textbox is placed in footer of gridview
wht i want is when the user enters values in the first textbox the total of these textboxes should be displayed in footer row.
I have been asking this for a long time.But the answer what i get is not want i need.I have a gridview with two template text box (t1 and t2) inside gridview and four textboxes outside the gridview on the form (txt1,txt2,txt3,txt4).All these textboxes allow only integer value to be entered.What i need is to get the total of all these textboxes (ie,template textboxes as well as textboxes outside gridview) in a textbox named Total at the same time we enter values in a textbox.Also if i change the value of a textbox later that too should be reflected in the Total textbox .I know how to calculate the total of the textboxes outside the gridview.But i need the total of all textboxes including template as well as textboxes outside simultaneously
Pls help and thanks in advance
Here i am using dropdown that will retrive from database when i will select an item from dropdownlist then item rate display on the selection of dropdown item name.
how will do this???