|
Abubakarsb wrote: You talked about Ajax I don't know anything about it then how can I use it?
To be honest without using Ajax, then you are really going to be pushed to solve this issue. Ajax stands for Asynchronous JavaScript and XML, and is the method by which you can invoke methods on the server from the client side. If you can't use MS AJAX (formerly codenamed Atlas), then you can use a library like AjaxPro. With AjaxPro, you mark a method in the client side as [Ajax.AjaxMethod(Ajax.HttpSessionStateRequirement.ReadWrite)] and you can call it directly from JavaScript. The AjaxPro site has several good examples that will get you the answer you need very quickly.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Ok I will visit AjaxPro site today evening and then try to fix it. Anyways THANKS for so far conversations.
Regards,
|
|
|
|
|
Abubakarsb wrote: I said "No Answer" which means my problem is still there not the appropriate answer but you consider it in different way.
People did try and answer. "No answer" would mean that you didn't get any replies at all.
You should have said something like you've not yet managed to solve your problem and you still need help.
|
|
|
|
|
Tell me one thing where I need to call Start() function in example which u sent me earlier?
<script language="Javascript"><!--var lengthOfTimevar id = nullvar running = falsefunction Setup(){ lengthOfTime = 5 Stop()}function Stop(){ if (running) clearTimeout(id) running = false}function Start(){ if (lengthOfTime == 0) { Stop() // Fire your event... } else { --lengthOfTime running = true // 1000 = 1 second id = self.setTimeout("Start()", 1000) }}//-->></script>
|
|
|
|
|
You need to put it in your <body on Load statement. I've put a space in here because the CP website would strip the on Load out. Remove that space.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Abubakarsb wrote: Once before this I posted same kind of question but still no answer.
Pete is correct - You did receive an answer, many answers, last time. To make the above statement will upset those that did try to help. If you didn't understand the answer then say so. To imply that you didn't get an answer at all is groundless uncooperative and most of all discourteous.
People here are trying to help. If you abuse them in this way is unlikely to encourage people to help.
|
|
|
|
|
I aleady excuse 2 times and clear that I didn't mean it. I meant that I haven't get solution yet. I again SORRY to all of U.
|
|
|
|
|
Hi all,
I have a .net 1.1 application, where i use drawstring function and paint the text on a picturebox. I also try to move the text, by changing the position .
The text i move ,overlapps the text that comes on its way. I dont want it to overlapp. The moved text has to go from behind the text that comes on its way.
I tried by repainting the text over the moved text, but it did not work.
Any ideas.........
Thanks.
|
|
|
|
|
The position of the text depends on the order that you are painting it in. If you need to bring it to the front then you need to paint it after you paint the text that it needs painting over.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
str = dss.Tables[0].Rows[0].Item[1].ToString();
It is giving error at all ".Item[1]" s of the block :
'System.Data.DataRow' does not contain a definition for 'Item'
|
|
|
|
|
here items(1) its working in vb u try by putting dot(.)after rows(0). i think columns(1) is there. try in debug mode so u know exactly.
|
|
|
|
|
No, '.columns[1]' is also not there after .rows[0]
After tables[0].rows[0] is there and
------tables[0].columns[0] is there.
how to use?
if possible chk it wen u have time, i m leaving office now.
Going home, if net is working send u the copy of documentatn. ok.
cu soon. tc.
thanx.
regards nekshan.
|
|
|
|
|
ok. columns(0).item(0).tostring()
or columns(0).rows(0).tostring()
try this.
|
|
|
|
|
Nekshan wrote: 'System.Data.DataRow' does not contain a definition for 'Item'
You get this error because 'Item' doesn't exist.
Use this instead:
str = dss.Tables[0].Rows[0][1].ToString();
or
str = dss.Tables[0].Rows[0].ItemArray[1].ToString();
Visual Studio can't evaluate this, can you?
public object moo<br />
{<br />
__get { return moo; }<br />
__set { moo = value; }<br />
}
|
|
|
|
|
Thank you joon_
|
|
|
|
|
Don't use .Item[1]. Instead, you would write this as dss.Tables[0].Rows[0][1].ToString();. Note that it is a bad idea to rely on the ordinal position though - try using the column name instead. That way, if you reorder the columns in your query you aren't going to get unexpected results.
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
i will call u in night ok.bye..
|
|
|
|
|
conn.Open();
SqlCommand cmm = new SqlCommand("select url, sitehit, survey, tellafriend, addtooutlook from tblsummary", conn);
SqlDataAdapter ad = new SqlDataAdapter(cmm);
DataSet ds = new DataSet();
ad.Fill(ds, "tblsummary");
string str
Dim ds As DataSet1
if (ds.Tables(0).Rows.Count != 0)
{
string str ="";
Str = ds.Tables(0).Rows(0)(0).tostring()
str += ds.Tables(0).Rows(0)(1).ToString();
str += ds.Tables(0).Rows(0)(2).ToString();
str += ds.Tables(0).Rows(0)(3).ToString();
str += ds.Tables(0).Rows(0)(4).ToString();
}
MessageBox.Show(str);
|
|
|
|
|
good carry on. mane to rate tav avto hato. hamna thoru saru che.bye..
|
|
|
|
|
|
waah.good. i will call u in night.i want to tell u 2mow story. here work is hard. bye.
|
|
|
|
|
hi all,
I have a string containing text data.
How can i know whether the text is bold or italic or a normal text in C#.Is there any property through which i can determine this?
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
A string is a string is a string. By it's very definition, it has no styling associated with it. I suspect that you mean that it contains something like RTF. If so, then you can parse through the string for the relevant formatting conditions. For instance, it would contain \b for bold or \embo for embossed. You can find the RTF spec at RTF[^]
Deja View - the feeling that you've seen this post before.
|
|
|
|
|
Dim ds As DataSet1 // this is in vb.
how to declare this in c#?
|
|
|
|
|
sorry no dataset1 it is dataset. which u already declare in your code.
like i think. Dataset ds = new Dataset();
|
|
|
|