Click here to Skip to main content
15,924,829 members
Home / Discussions / C#
   

C#

 
AnswerRe: monthcalendar Pin
JacquesDP6-Mar-06 18:56
JacquesDP6-Mar-06 18:56 
GeneralRe: monthcalendar Pin
nassimnastaran6-Mar-06 22:29
nassimnastaran6-Mar-06 22:29 
GeneralRe: monthcalendar Pin
Drew McGhie7-Mar-06 9:31
Drew McGhie7-Mar-06 9:31 
QuestionArrayList Problem Pin
AB77716-Mar-06 18:40
AB77716-Mar-06 18:40 
AnswerRe: ArrayList Problem Pin
DigitalKing6-Mar-06 19:03
DigitalKing6-Mar-06 19:03 
GeneralRe: ArrayList Problem Pin
AB77716-Mar-06 19:11
AB77716-Mar-06 19:11 
GeneralRe: ArrayList Problem Pin
DigitalKing6-Mar-06 19:18
DigitalKing6-Mar-06 19:18 
GeneralRe: ArrayList Problem Pin
AB77716-Mar-06 19:28
AB77716-Mar-06 19:28 
public void PostPageURLS()
{
string strPostURL="";
string strPostId = "";

bool BreakFlag = false;

//
j=Convert.ToInt32(Thread.CurrentThread.Name);



for(int k=0; k<urls[j].count; k++)
="" {="" {
="" monitor.enter(thread.currentthread);
="" try
="" if(thread.currentthread="" !="null)
" j="Convert.ToInt32(Thread.CurrentThread.Name);
" }
="" catch(exception="" exc)
="" messagebox.show(exc.message);
=""
="" if(k<="" urls[j].count="" &&="" bi="" <="" blogurls.count)
="" string="" keyword="urls[j][k].ToString();
" int="" chpos="keyword.LastIndexOf("=");
" posttext="SearchKeywordsYahoo(keyword.ToString());
" +="SearchKeywordsMSN(keyword.ToString());
" bloglib.movabletypeinterface="" mti="new" webbloggenerator.bloglib.movabletypeinterface(posturls[bi].tostring());

="" object[]="" obj1="{objDT.Rows[(int)" checkedobj[j]].itemarray[0],objdt.rows[(int)="" checkedobj[j]].itemarray[1],objdt.rows[(int)="" checkedobj[j]].itemarray[2],
="" objdt.rows[(int)="" checkedobj[j]].itemarray[3],objdt.rows[(int)="" checkedobj[j]].itemarray[4],k*100="" urls[j].count,
="" "blogging"};
="" checkedobj[j]].itemarray="obj1;
" objdt.acceptchanges();

="" sss="(string)" posturls[bi];="" <-="" occurs="" exception
="" if(sss.indexof("msn")="" post(blogusername[bi].tostring(),blogpassword[bi].tostring(),posttext,urls[j][k].tostring());
="" excc)
="" bi++;
="" }


="" strpostid="mti.NewPost("",BlogUsername[bi].ToString(),BlogPassword[bi].ToString(),"New" post="" "="" +"="" !!!","<a="" href="+urls[j][k].ToString()+">"+urls[j][k].ToString()+"
"+PostText,DateTime.Now,false);

if(Convert.ToInt32(mti.PublishPost(strPostId,BlogUsername[bi].ToString(),BlogPassword[bi].ToString()))>0)
{

// MessageBox.Show("Post Successful !!! "+str+ " " + th.Name);

}
else
{
// MessageBox.Show("Unsuccessful ???");
}

if(strPostId!=null ||strPostId!="")
{
WebBlogGenerator.BLL.PageUrl objPageUrl = new WebBlogGenerator.BLL.PageUrl();
int intPageUrlId=objPageUrl.UpdatePageURL(Convert.ToInt32(PageURLId[j][k]),Convert.ToInt32(BlogURLId[bi]),0);
}


bi++;
if(bi == BlogURLS.Count)
bi=0;
Monitor.Exit(Thread.CurrentThread);
Thread.Sleep(5000);
}
}


}


hope u understand that....


Thanks,
Pramod
QuestionHow to acess a floopy drive in c#? Pin
nitin_ap6-Mar-06 18:38
nitin_ap6-Mar-06 18:38 
AnswerRe: How to acess a floopy drive in c#? Pin
hackerhcm6-Mar-06 18:57
hackerhcm6-Mar-06 18:57 
QuestionRename computer hostname Pin
picasso26-Mar-06 17:28
picasso26-Mar-06 17:28 
AnswerRe: Rename computer hostname Pin
Vasudevan Deepak Kumar6-Mar-06 18:13
Vasudevan Deepak Kumar6-Mar-06 18:13 
GeneralRe: Rename computer hostname Pin
picasso26-Mar-06 18:57
picasso26-Mar-06 18:57 
QuestionMdi Active child Pin
JacquesDP6-Mar-06 17:27
JacquesDP6-Mar-06 17:27 
AnswerRe: Mdi Active child Pin
DigitalKing6-Mar-06 17:50
DigitalKing6-Mar-06 17:50 
GeneralRe: Mdi Active child Pin
JacquesDP6-Mar-06 18:03
JacquesDP6-Mar-06 18:03 
AnswerRe: Mdi Active child Pin
DigitalKing6-Mar-06 18:13
DigitalKing6-Mar-06 18:13 
GeneralRe: Mdi Active child Pin
JacquesDP6-Mar-06 18:49
JacquesDP6-Mar-06 18:49 
AnswerRe: Mdi Active child Pin
DigitalKing6-Mar-06 18:59
DigitalKing6-Mar-06 18:59 
GeneralRe: Mdi Active child Pin
PavanPabolu6-Nov-10 11:21
PavanPabolu6-Nov-10 11:21 
GeneralRe: Mdi Active child Pin
JacquesDP6-Mar-06 18:23
JacquesDP6-Mar-06 18:23 
Questionbind the datagrid Pin
angelagke6-Mar-06 16:09
angelagke6-Mar-06 16:09 
AnswerRe: bind the datagrid Pin
goyal manish6-Mar-06 18:00
goyal manish6-Mar-06 18:00 
GeneralRe: bind the datagrid Pin
angelagke6-Mar-06 18:13
angelagke6-Mar-06 18:13 
GeneralRe: bind the datagrid Pin
goyal manish6-Mar-06 23:56
goyal manish6-Mar-06 23:56 

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.