Click here to Skip to main content
16,006,001 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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 
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 
dear i know about the static members but i have some problem, consider the following code if found any solution so please reply thanks in advance....

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();
}
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 
Questionmailserver will down have to fire again Pin
Member 387988123-Jul-08 20:03
Member 387988123-Jul-08 20:03 
AnswerRe: mailserver will down have to fire again Pin
Sam Xavier24-Jul-08 22:42
Sam Xavier24-Jul-08 22:42 
Questionwat is the best solution of getting values from the data base to the grid view. Pin
lakshmichawala23-Jul-08 19:51
lakshmichawala23-Jul-08 19:51 

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.