|
(via Instant VB):
Protected Overrides Sub Render(ByVal writer As HtmlTextWriter)
Dim newJob As Job = New Job("A job queued at: " & DateTime.Now, DateTime.Now.AddMinutes(4))
SyncLock [Global]._JobQueue
[Global]._JobQueue.Add(newJob)
End SyncLock
writer.WriteLine("Job Queued")
End Sub
David Anton
www.tangiblesoftwaresolutions.com
Instant C#: VB to C# converter
Instant VB: C# to VB converter
Instant C++: C# to C++ converter, VB to C++ converter
Instant Python: C# to Python converter, VB to Python converter
|
|
|
|
|
Thanks for the reply but its not working...It say Global is not declared..Please help...
|
|
|
|
|
I need to store a value on a page (and hide it from the user) and maintain it even when the page is posted back.
I know I can do this by using a label (and setting it to visible = false).
But is the best way of doing it ?
Thanks.
|
|
|
|
|
|
Sorry - my question was more about whether a label is the correct control/method of persisting the value.
|
|
|
|
|
How will u maintain the different values??If u want only one value then u can use label...
|
|
|
|
|
there is a State Management by viewstate .
it's keep the value in the object so when ever we want to get value from viewstate we have to do boxing.
a example for that
suppose you want to save a textbox value
//this is use to save the date
ViewState["name"]=textbox.text;
//this is use to retrive the date;
textbox.text=ViewState["name"].ToString();
another is session
//this is use to save the date
session["name"]=textbox.text;
//this is use to retrive the date;
textbox.text=session["name"].ToString();
I Think this will be helpfull to you.
bye take care.
-- modified at 9:14 Tuesday 10th April, 2007
rajeev kumar sharma
vri software pvt. ltd.
new delhi India
|
|
|
|
|
You can use sessions for this
|
|
|
|
|
Hi,
Use hidden control...
<input type="hidden" value="1" runat=server>
runat=server will make this available to access at the code behind as well
Mubashir
Every job is a self portrait of the person who did it.
|
|
|
|
|
Use ViewState, e.g.
ViewState("something") = something;
This is 'encrypted' and hidden from the user on the page.
|
|
|
|
|
I am new to 2005.
Previously when one creates an aspx page, you can view web designer code in code.
Where is it placed in 2005.
Can anybody help?
Nana
|
|
|
|
|
it will be in the another partial class file
|
|
|
|
|
I am a beggineer in asp.net programming(vb),please help me with the gridview.I have a GridView Control in my form,and have a commandfield(select as a button).please gelp me with the step by step titorial.How do I bound my GridBView ,When the user click the button to display more information on the second dridView,when the user clicks the button on the particular row (make the second gridview visible)display the informaton of the person.
Thank you in advance
oga m
|
|
|
|
|
http://www.codeproject.com/script/comments/forums.asp?msg=1982147&forumid=12076#xx1982147xx
|
|
|
|
|
Check www.gridviewguy.com
Gautham
|
|
|
|
|
Hello Profissionals,
I want to include the Calendar Web Control (based on UmAlqura algorithm) in my web page.
I did the following: (using Visual Studio.Net 2005)
1- Dragged the calendar web control form the web control tools and dropped it in my form.
2- In the web page’s culture property, I selected the “ar-SA Arabic (Saudi Arabia) ”
3- When I run, I get the web page with Hijri Calender
But
This calendar doesn’t represent the UmAlqura Calendar; I think it represents the Kuwait calendar.
My question is:
How can I make the Calendar Web Control use the UmAlqura algorithm instead of the default one??
Please direct me as soon as possible...
Thanks in advance...
Ala Qunaibi
|
|
|
|
|
can anyone please help me out to give color to gridlines in gridview .
by default it is taking some color but i need to put light blue in it.
|
|
|
|
|
Check this link:
http://www.gridviewguy.com/Articles.aspx
|
|
|
|
|
yes it's very eassy
goto html
in the gridview control there is could be some field and every field has a property" ItemStyle-BorderColor" set it's color
as the example given below
"asp:BoundField DataField="id" HeaderText="id" ItemStyle-BorderColor="lightBlue"
rajeev kumar sharma
vri software pvt. ltd.
new delhi India
|
|
|
|
|
Hi
I have loaded data the dropdown list from database.
Can i set tooltip for each item so that i should get
tooltip when i come across the values in dropdown.
Suppose if i bind emp id in dropdownlist.....
when i come across empid's in ddl the emp name should
be displayed in tooltip.
Plz any one help me out.
|
|
|
|
|
Sorry.............
What is this?
|
|
|
|
|
You mean this link
http://www.tagged.com/register.html?conn=1xav0olny&ect=55hp5gy&tId=130033&fid=e4f9f401071ed80c
once you open that and check ................
|
|
|
|
|
This isn't asp.net - more classic asp, no?
|
|
|
|
|
hello friends ..I want to change date as per month and year. Also I want to check whether selected year is leap year. and accordingly change date and month.I want to use javascript for this ..Suggest me
|
|
|
|
|