Click here to Skip to main content
15,917,005 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: storing text of textboxes in list ang show them in textbox again(in gridview) Pin
goradaranaresh5-Sep-08 19:18
goradaranaresh5-Sep-08 19:18 
GeneralRe: storing text of textboxes in list ang show them in textbox again(in gridview) Pin
strawberrysh5-Sep-08 19:39
strawberrysh5-Sep-08 19:39 
Questionjavascript Script Error: Expected ')' in Asp.net Pin
Rajeshwary5-Sep-08 8:30
Rajeshwary5-Sep-08 8:30 
AnswerRe: javascript Script Error: Expected ')' in Asp.net Pin
Bassam Saoud5-Sep-08 11:18
Bassam Saoud5-Sep-08 11:18 
GeneralRe: javascript Script Error: Expected ')' in Asp.net Pin
NeverHeardOfMe5-Sep-08 11:56
NeverHeardOfMe5-Sep-08 11:56 
GeneralRe: javascript Script Error: Expected ')' in Asp.net Pin
Rajeshwary5-Sep-08 21:25
Rajeshwary5-Sep-08 21:25 
GeneralRe: javascript Script Error: Expected ')' in Asp.net Pin
Guffa6-Sep-08 0:12
Guffa6-Sep-08 0:12 
Questiondeleting a row of gridview and the id of product from a list Pin
strawberrysh5-Sep-08 7:12
strawberrysh5-Sep-08 7:12 
i have a list that I bind it to gridview.in this list I store id of products.my list is in a session..in itemtemplate column of this gridview I put a button , named delete , for deleting every row.i dont bind this gridview to sqldatasource .it binds to a list.the id of product is one of the columns of gridview.I want to when user click this button the id of that product remove from the list .how should I remove thi sid from my list and where should I write code.please help me.here is gridviewsource:

<asp:gridview id="GridView1" runat="server" autogeneratecolumns="False" height="140px" width="572px" showfooter="True" xmlns:asp="#unknown">
    <columns>
    <asp:boundfield datafield="product_id" headertext="product_id" />
        <asp:templatefield headertext="name">
            <edititemtemplate>
                <asp:textbox id="TextBox1" runat="server" text="<%# Bind("category_name") %>"></asp:textbox>
            </edititemtemplate>
            <itemtemplate>
                <asp:label id="Label1" runat="server" text="<%# Bind("category_name") %>"></asp:label> 
                <asp:label id="Label2" runat="server" text="<%# Eval("type") %>"></asp:label>
            </itemtemplate>
        </asp:templatefield>
    <asp:boundfield datafield="degree" headertext="degree" />
    <asp:boundfield datafield="package_type" headertext="package" />
        <asp:templatefield headertext="price">
            <edititemtemplate>
                <asp:textbox id="TextBox2" runat="server" text="<%# Bind("price") %>"></asp:textbox>
            </edititemtemplate>
            <itemtemplate>
                <asp:label id="Label3" runat="server" text="<%# Bind("price") %>"></asp:label>
            </itemtemplate>
        </asp:templatefield>
        <asp:templatefield>
            <footertemplate>
                <asp:label id="Label3" runat="server"></asp:label>
            </footertemplate>
            <itemtemplate>
                <asp:textbox id="TextBox2" runat="server" width="97px"></asp:textbox>
            </itemtemplate>
        </asp:templatefield>
        <asp:templatefield>
            <itemtemplate>
                <asp:button id="Button3" runat="server" commandname="delete" cssclass="button" text="delete" />
            </itemtemplate>
        </asp:templatefield>
       
    </columns>
    </asp:gridview>

AnswerRe: deleting a row of gridview and the id of product from a list Pin
Gayani Devapriya5-Sep-08 7:34
Gayani Devapriya5-Sep-08 7:34 
GeneralRe: deleting a row of gridview and the id of product from a list [modified] Pin
strawberrysh5-Sep-08 9:19
strawberrysh5-Sep-08 9:19 
Questionajax tab panel and datagrid Pin
vjvjvjvj5-Sep-08 5:21
vjvjvjvj5-Sep-08 5:21 
Questionsql query for dropdownlist Pin
eyeseetee5-Sep-08 4:02
eyeseetee5-Sep-08 4:02 
AnswerRe: sql query for dropdownlist Pin
Dilip H. Patel5-Sep-08 4:17
Dilip H. Patel5-Sep-08 4:17 
AnswerRe: sql query for dropdownlist Pin
Blue_Boy5-Sep-08 4:19
Blue_Boy5-Sep-08 4:19 
GeneralRe: sql query for dropdownlist Pin
eyeseetee5-Sep-08 4:37
eyeseetee5-Sep-08 4:37 
GeneralRe: sql query for dropdownlist Pin
Blue_Boy5-Sep-08 4:41
Blue_Boy5-Sep-08 4:41 
GeneralRe: sql query for dropdownlist Pin
eyeseetee5-Sep-08 4:49
eyeseetee5-Sep-08 4:49 
GeneralRe: sql query for dropdownlist Pin
Blue_Boy5-Sep-08 4:53
Blue_Boy5-Sep-08 4:53 
GeneralRe: sql query for dropdownlist Pin
eyeseetee5-Sep-08 5:11
eyeseetee5-Sep-08 5:11 
GeneralRe: sql query for dropdownlist Pin
Blue_Boy5-Sep-08 5:13
Blue_Boy5-Sep-08 5:13 
GeneralRe: sql query for dropdownlist Pin
AprNgp5-Sep-08 7:13
AprNgp5-Sep-08 7:13 
GeneralRe: sql query for dropdownlist Pin
Blue_Boy5-Sep-08 7:22
Blue_Boy5-Sep-08 7:22 
Questionwindow popup on textbox textchanged Pin
kishorg15-Sep-08 2:48
kishorg15-Sep-08 2:48 
Questiongetting image from scripts Pin
rohit tiwary5-Sep-08 2:22
rohit tiwary5-Sep-08 2:22 
Questioncalling ASP function Pin
The Web Developer5-Sep-08 1:42
The Web Developer5-Sep-08 1:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.