Click here to Skip to main content
15,359,191 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I need to insert the gridview row values into DB.

this is my Gridview
<asp:GridView ID="GrdOptions" runat="server" AutoGenerateColumns="False"
Width="212px" ShowHeader="False">


 <asp:TextBox ID="txttask" runat="server" CssClass="Text" MaxLength="500"

 <asp:TextBox ID="txthrs" runat="server" CssClass="Text" MaxLength="500"


i need to check the each row that how many rows have tha values based on this only i need to insert only that row has value.

I need to show the summarise value of second textbox value while i enter a value in that text box.

Thanks in advance

Updated 2-Jan-12 20:45pm

1 solution

you can insert into a temp table and then update the main table based on some criteria in temp table

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