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

ASP.NET

 
AnswerRe: handling validatiors in javascript Pin
Sam's Den11-Jan-07 23:41
Sam's Den11-Jan-07 23:41 
QuestionWhile Rendering the Page Specified cast is not valid Pin
pavanabollineni11-Jan-07 18:39
pavanabollineni11-Jan-07 18:39 
QuestionApostropy Problem Pin
Khan.Bangash11-Jan-07 18:37
Khan.Bangash11-Jan-07 18:37 
AnswerRe: Apostropy Problem Pin
Sebastian T Xavier11-Jan-07 21:17
Sebastian T Xavier11-Jan-07 21:17 
AnswerRe: Apostropy Problem Pin
sunilkr11-Jan-07 22:59
sunilkr11-Jan-07 22:59 
QuestionThreading Pin
miniThomas11-Jan-07 18:22
miniThomas11-Jan-07 18:22 
AnswerRe: Threading Pin
suketh11-Jan-07 18:25
suketh11-Jan-07 18:25 
GeneralRe: Threading Pin
miniThomas11-Jan-07 18:47
miniThomas11-Jan-07 18:47 
protected void Page_Load(object sender, EventArgs e)
{
Thread pthread1 = new Thread(new ThreadStart(Thread1));
Thread pthread2 = new Thread(new ThreadStart(Thread2));
pthread1.Start();
}


public void Thread1()
{

string strThread1;
strThread1 = "I am first thread.";
for (int i=0;i<5;i++ )
{
ListBox1.Items.Add(strThread1);
if(i==3)
{
pthread2.Join();
}
}
}
public void Thread2()
{
string strThread2;
strThread2 = "I am second thread.";
for (int j=0;j<5;j++)
{
ListBox1.Items.Add(strThread2);
}
}

I want to call pthread2.Join() in public void Thread1() but gives error
also i need to access pthread1 in public void Thread2()..How to do this?


Mini Thomas
QuestionDifference b/w Dataset &amp; Recordset? Pin
suketh11-Jan-07 18:22
suketh11-Jan-07 18:22 
AnswerRe: Difference b/w Dataset &amp; Recordset? Pin
_AK_11-Jan-07 18:25
_AK_11-Jan-07 18:25 
GeneralRe: Difference b/w Dataset &amp; Recordset? Pin
suketh11-Jan-07 18:33
suketh11-Jan-07 18:33 
GeneralRe: Difference b/w Dataset &amp; Recordset? Pin
_AK_11-Jan-07 18:40
_AK_11-Jan-07 18:40 
QuestionGarbage Collector Pin
miniThomas11-Jan-07 17:57
miniThomas11-Jan-07 17:57 
AnswerRe: Garbage Collector Pin
Captain See Sharp11-Jan-07 18:00
Captain See Sharp11-Jan-07 18:00 
GeneralRe: Garbage Collector Pin
Amit Kumar G11-Jan-07 18:09
Amit Kumar G11-Jan-07 18:09 
GeneralRe: Garbage Collector Pin
miniThomas11-Jan-07 18:21
miniThomas11-Jan-07 18:21 
GeneralRe: Garbage Collector Pin
Captain See Sharp11-Jan-07 18:26
Captain See Sharp11-Jan-07 18:26 
GeneralRe: Garbage Collector Pin
Captain See Sharp11-Jan-07 18:24
Captain See Sharp11-Jan-07 18:24 
QuestionVS 2005 Master/Content Pages Pin
Amit Kumar G11-Jan-07 17:52
Amit Kumar G11-Jan-07 17:52 
AnswerRe: VS 2005 Master/Content Pages Pin
Deepak the Cool11-Jan-07 18:19
Deepak the Cool11-Jan-07 18:19 
AnswerRe: VS 2005 Master/Content Pages Pin
Khan.Bangash11-Jan-07 18:42
Khan.Bangash11-Jan-07 18:42 
QuestionData Adapter Pin
Rahithi11-Jan-07 17:50
Rahithi11-Jan-07 17:50 
AnswerRe: Data Adapter Pin
minhpc_bk11-Jan-07 18:39
minhpc_bk11-Jan-07 18:39 
AnswerRe: Data Adapter Pin
anuj_24mar@yahoo.com11-Jan-07 23:45
anuj_24mar@yahoo.com11-Jan-07 23:45 
QuestionGetting the value of 2nd formview from 1st Formview Pin
pksahoo11-Jan-07 17:48
pksahoo11-Jan-07 17:48 

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.