Click here to Skip to main content
15,916,951 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: pls help restricting multiple logon to an application with single user account. Pin
surender9395-Sep-08 22:22
surender9395-Sep-08 22:22 
GeneralRe: pls help restricting multiple logon to an application with single user account. Pin
The Web Developer5-Sep-08 22:36
The Web Developer5-Sep-08 22:36 
GeneralRe: pls help restricting multiple logon to an application with single user account. Pin
surender9395-Sep-08 22:50
surender9395-Sep-08 22:50 
AnswerRe: pls help restricting multiple logon to an application with single user account. Pin
Dilip H. Patel5-Sep-08 23:57
Dilip H. Patel5-Sep-08 23:57 
GeneralRe: pls help restricting multiple logon to an application with single user account. Pin
N a v a n e e t h6-Sep-08 0:24
N a v a n e e t h6-Sep-08 0:24 
GeneralRe: pls help restricting multiple logon to an application with single user account. Pin
surender9397-Sep-08 23:14
surender9397-Sep-08 23:14 
AnswerRe: pls help restricting multiple logon to an application with single user account. Pin
N a v a n e e t h6-Sep-08 0:22
N a v a n e e t h6-Sep-08 0:22 
Questionstoring text of textboxes in list ang show them in textbox again(in gridview) Pin
strawberrysh5-Sep-08 10:48
strawberrysh5-Sep-08 10:48 
I have a gridview that has a column of textbox that users input something in textbox.I want to retrieve text of textboes after postback,so i wrote this code to store texts of textboxes in list and list in a session.but I don't know how to show them agian in textboxes.
my code to store text of textboxes:

protected void Button1_Click(object sender, EventArgs e)
    {
        List<string> qy = new List<string>();
        foreach (GridViewRow gvr in GridView1.Rows)
        {
            TextBox q = (TextBox)gvr.FindControl("textbox5");
            if (Session["quantity"] == null)
            {
                qy.Add(q.Text.Trim());
                Session["quantity"] = qy;
            }
            else
            {
                ((List<string>)Session["quantity"]).Add(q.Text.Trim());
            }
}</string></string></string>

-----------------------------
and in pageloade i wrote this but I don't know how to continue it:
if(Session["quantity"]!=null)
{
    List<string> temp=(List<string>)Session["quantity"];
    foreach(GridViewRow gvr in GridView1.Rows)
    {
        TextBox tq=(TextBox)gvr.FindControl("textbox5");</string></string>

AnswerRe: storing text of textboxes in list ang show them in textbox again(in gridview) Pin
Bassam Saoud5-Sep-08 11:19
Bassam Saoud5-Sep-08 11:19 
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 
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 

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.