Click here to Skip to main content
16,005,697 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Radcombo Client ID Pin
samerh24-Jul-08 1:16
samerh24-Jul-08 1:16 
AnswerRe: Radcombo Client ID Pin
Sherin Iranimose23-Jul-08 22:46
Sherin Iranimose23-Jul-08 22:46 
GeneralRe: Radcombo Client ID Pin
samerh23-Jul-08 22:55
samerh23-Jul-08 22:55 
QuestionHow to use public static members in asp.net Pin
gurdeep_67723-Jul-08 21:52
gurdeep_67723-Jul-08 21:52 
AnswerRe: How to use public static members in asp.net Pin
N a v a n e e t h23-Jul-08 22:27
N a v a n e e t h23-Jul-08 22:27 
GeneralRe: How to use public static members in asp.net Pin
gurdeep_67724-Jul-08 0:18
gurdeep_67724-Jul-08 0:18 
GeneralRe: How to use public static members in asp.net Pin
N a v a n e e t h24-Jul-08 1:35
N a v a n e e t h24-Jul-08 1:35 
GeneralRe: How to use public static members in asp.net Pin
gurdeep_67724-Jul-08 0:32
gurdeep_67724-Jul-08 0:32 
I know about the scope of static variable, consider the following code i thing u understand that what i need

//Declare on Top
public static DataTable dt = new DataTable();

//on page load
{
dt.Columns.Add("HName");
dt.Columns.Add("fee_type");
dt.Columns.Add("fee");
dt.Columns.Add("disc");
dt.Columns.Add("net");
}

//DataList itemCommand Event
protected void drphead_item(object source, DataListCommandEventArgs e)
{
if (e.CommandName == "add")
{
lblerror.Visible = false;
DataRow dr = dt.NewRow();
LinkButton lb = new LinkButton();
lb = (LinkButton)e.Item.FindControl("LinkButton1");
lb.Enabled = false;
dr[0] = lb.Text;
dr[1] = "Yearly";
dr[2] = 0.00;
dr[3] = 0.00;
dr[4] = 0.00;
dt.Rows.Add(dr);
dlFeeHead.DataSource = dt;
dlFeeHead.DataBind();
}

Every time when user clcik on linkbutton (which is into the datalist control) accordingly the new DataRow is created it run perfactly, but the problem is occured when application run on two or more machine which i explained before....

If u have some solution then please reply thnks in advance...
GeneralRe: How to use public static members in asp.net Pin
Christian Graus24-Jul-08 1:33
protectorChristian Graus24-Jul-08 1:33 
AnswerRe: How to use public static members in asp.net Pin
Christian Graus24-Jul-08 0:12
protectorChristian Graus24-Jul-08 0:12 
GeneralRe: How to use public static members in asp.net Pin
gurdeep_67724-Jul-08 0:29
gurdeep_67724-Jul-08 0:29 
GeneralRe: How to use public static members in asp.net Pin
Christian Graus24-Jul-08 1:33
protectorChristian Graus24-Jul-08 1:33 
Questionproblem in displaying large image Pin
Miss Maheshwari23-Jul-08 21:42
Miss Maheshwari23-Jul-08 21:42 
AnswerRe: problem in displaying large image Pin
Imran Khan Pathan23-Jul-08 21:54
Imran Khan Pathan23-Jul-08 21:54 
GeneralRe: problem in displaying large image Pin
Miss Maheshwari23-Jul-08 22:36
Miss Maheshwari23-Jul-08 22:36 
GeneralRe: problem in displaying large image Pin
Imran Khan Pathan23-Jul-08 23:09
Imran Khan Pathan23-Jul-08 23:09 
QuestionProblem setting focus dynamically Pin
Arindam Datta23-Jul-08 20:49
Arindam Datta23-Jul-08 20:49 
AnswerRe: Problem setting focus dynamically Pin
eyeseetee23-Jul-08 21:39
eyeseetee23-Jul-08 21:39 
AnswerRe: Problem setting focus dynamically Pin
gurdeep_67723-Jul-08 22:05
gurdeep_67723-Jul-08 22:05 
Questionsession Pin
nithydurai23-Jul-08 20:23
nithydurai23-Jul-08 20:23 
AnswerRe: session Pin
N a v a n e e t h23-Jul-08 20:37
N a v a n e e t h23-Jul-08 20:37 
GeneralRe: session Pin
nithydurai23-Jul-08 20:44
nithydurai23-Jul-08 20:44 
GeneralRe: session Pin
N a v a n e e t h23-Jul-08 20:48
N a v a n e e t h23-Jul-08 20:48 
GeneralRe: session Pin
eyeseetee23-Jul-08 21:40
eyeseetee23-Jul-08 21:40 
AnswerRe: session Pin
Abhijit Jana23-Jul-08 20:40
professionalAbhijit Jana23-Jul-08 20:40 

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.