|
Hi
As a web site are not to play with client's browser, therfore user's browser's history cant be deleted by code.
Rather, you can block your user, who is viewing your webpage, GOING BACK TO ANY PAGE HE HAS ALREADY TRAVERSED. Check the following code,
<script language="javascript">
history.go(1);
</script>
Thanks,
Arindam D Tewary
|
|
|
|
|
how to write code for eXcel ACCRINT function PLease Help Me If this is possible
*************************** NC
ACCRINT = par * Rate / Frquency * E Ai/NL
*************************** L1
Formula URL= http://office.microsoft.com/en-us/excel/HP052089791033.aspx[^]
where:
par The par value of the security.
rate The annual interest rate or coupon when the security was issued.
frequency The number of coupon payments per year:
1 = annual
2 = semi annual
4 = quarterly
Ai = number of accrued days for the ith quasi-coupon period within odd period.
NC = number of quasi-coupon periods that fit in odd period. If this number contains a fraction, raise it to the next whole number.
NLi = normal length in days of the ith quasi-coupon period within odd period.
Thanks
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
modified on Monday, June 23, 2008 1:53 AM
|
|
|
|
|
what is the basic difference between common type system and common language specification ?
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
I'm sure the answer has nothing to do with ASP.NET
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
hi
how get color picker onmouseover event and stored this picked color value in cookies. get the value from cookie and set background-color this cookies value without post using ajax.net
please help me
with regards,
bretto
|
|
|
|
|
hi friends
i have 3 aspx page and 1 masterpage
1 aspx page is top banner
2 aspx page is footer
3 aspx page is leftlinks
questions
1.how can i add these three page in master page
2 In run time top banner only display . i have button in top banner.i click that button after that another two pages display.how can i achive this.
regards
saravanan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
You can't. You're doing it all wrong. These should be controls, not pages.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Dear friendz,
I am binding morethan 100 records in to a dropdownlist control in my web project.
If I click the dropdownlist, It is showing more than 25 data with vertical scrollbar.
It is not feeling good to look.
I want to customize the displaying records.
It should display only 10 records with vertical scrollbar.
What I have to do? Pls help me
Thanks in advance
Balasubramanian K.
|
|
|
|
|
I don't think you can set that with a standard control.
If you can, it's a HTML setting, so you should search general web dev info, not just ASP.NET.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi Balasubramanian,
I also had similiar problem.
i had abt 40 records to bind to dropdown and it must not scroll vertical.
something similiar u can say.
Solution implemented by me was:(lots of work in it)
I kept dropdown un-binded(rather binded to single value(-Select-,-1)
and ReadOnly
Second on click on dropdown, i did show a vertical scrolling div
havin table inside it with 20 rows.Onclick of TD, i would capture that row.
I had little right arrow button on right, on click of which it flipped div with another similiar di of 20 rows.(u could rebind same too). I added selected value to my original dropdown(dropdown.insert()) and kept it selected.
Pretty hacky and lot of work, but at end it did pay for me.
With 100records, it may not be suggested but just imagine user scrolling down for hundred values poping down.
It was better than it.
regards, ravifree
ravis
|
|
|
|
|
First of all, I would like to thank you for your ans.
But I dont get it clear. Pls. clear me
Balasubramanian K.
|
|
|
|
|
hi sir, in what aspect you were unclear.
what i did was a div with runat server attribute
this div contains as many inner divs with div style as display:none
and
added a dynamic table(s) at codebehind to inner div.
this table contained
i did show show inner-div1 on click of dropdown
if side arrow clicked i hide this inner-div1 and shown inner-div2)
if any td is clicked i hide this all div as whole and populate value in dropdown through javascript
regards, ravifree
ravis
|
|
|
|
|
I have a grid view that is bound to a table in database table (Events) through an objectdatasource that looks something like this:
EventName | Event Description | Event Type
------------------------------------------
my event |Great |Rock n Roll
the database schema is EventName = nvarchar, Event Description = nvarchar and Event Type = Int
Event type is then determined from retrieving an nvarchar value from an EventType table that corresponds
to the integer value it holds.
On Update of an event the Event Type column in the data grid shows a drop down list bound to another
datasource that populates it with the string representations from the EventType table. I am not sure
how to persist the selected value back to the database for the Events table. I have the sql code but am not
sure how to retreive the drop down lists DataValueField and pass it back as a parameter to the Update method.
Any help would be much appreciated. I can post up the code if needed
Thanks
At university studying Software Engineering - if i say this line to girls i find they won't talk to me
Dan
|
|
|
|
|
I am doing my collage project in ASP.net using Visual Studio 2003. I am unable to access my collage network using laptop. So, now i am suppose to be using my collage PC for my work when i am in collage.
So, how can i save my solution file and even the aspx file that is in the IIS in my USB drive.
Pls tell me how to do it.
Thanks in Advance
|
|
|
|
|
NewbieCoder123 wrote: So, how can i save my solution file and even the aspx file that is in the IIS in my USB drive.
Just copy the whole folder onto the USB drive. If you have set up the project to load via IIS, you need to make sure you copy to the ISS location to open it, or set that location. If you're just opening a solution that is a web project, you have nothing else to worry about.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
How can I clear a dropdownlist selected field without it removing the item out of the list? When I do: DropDownList1.SelectedItem.Text = "" it will clear the selected item out of the display and the list.
jds1207
|
|
|
|
|
jds1207 wrote: When I do: DropDownList1.SelectedItem.Text = "" it will clear the selected item out of the display and the list.
No, it will set the text of the selected item to an empty string.
You can't clear the selection of a DropDownList , there is always one item selected. Set the SelectedIndex property to zero if you want to reset it back to have the first item selected.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
hello all
i have the following function
get from table 1 result 1 the result is 961 row
{
(for each row above)
get from table 2 result 2 by result 1 the result is 1 row
get from table 3 result 3 by reslut 2 the result is 1 row
}
it run for a while then it gaving me this error
Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached.
and this is the first time i get this error
note: i use speical pool for it
can anybody tell me what is wrong
thank you
|
|
|
|
|
Don't make queries in a loop like that. Join in the data in the first query, so that you make only one query, not 1923 queries.
The error might come from failing to close the database connections properly. As you are running so many queries, you quickly run out of connections.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
|
I work for a Bank, now I would like to use asp.net to connect with T24 (Teminos- a core banking). I would like to modify directly data in T24 any time when clients from asp.net have request. you guys have experience about this? If posible you can send your ideals to my email address :nhiepka@yahoo.com.
Thank you
|
|
|
|
|
I face the same issue here, did you solve it or have any ideas about how to do that?
|
|
|
|
|
Hi,
I am trying to prevent CSSFriendly applied on my website to effect a control.I tried many things but I couldn't.I don't want to loose the themm skin ID in the same time.Could you help me to solve this problem?
I am too late but i will never give up
|
|
|
|
|
I guess you should ask people who know what CSSFriendly is. Do they have a website ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|