|
|
XML is a very simple way to store data in a file.For querying and inserting you need to XPath queries.To learn more about it see the link
http://www.w3schools.com/xml/default.asp[^]">
Cheers!!
Brij
|
|
|
|
|
hi
i have one web application in asp.net
after logout if i click on back button of browser . i will inter in my application.
but i want that when i click on back button i will go on logout page.
how it will possible.
it means i want to stop back button.on click of back button my defult form will be display.
thanks
vikram
|
|
|
|
|
By writing a proper membership system ? You should log people out, generally by clearing a session variable. Therefore, if they are logged out, the page should redirect to the login page.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1D)
Response.Expires = -1500
Response.CacheControl = "no-cache"
If Session("UserName") = "" Then
Response.Redirect("login.aspx")
uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu
|
|
|
|
|
Why are you using an empty string and not null ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi,
in logout click event you have to write code for killing the session. and in global.asax page you have to redirect the page to login page if the session["username"]="".
Or write below code in page load
Response.Buffer = True
Response.ExpiresAbsolute = Now().Subtract(New TimeSpan(1, 0, 0, 0))
Response.Expires = 0
Response.CacheControl = "no-cache"
Pinna
|
|
|
|
|
You can also clear the history
Cheers!!
Brij
|
|
|
|
|
Hello,
I am working with VS 2.0. i written code for dropdownlist filling using icallback event. when i use this event is working for dropdownlist. and in that page i had one button control when i click on button i am getting below error.
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
What may be the reason.
Please Help me...
Thanks
Hari
Pinna
|
|
|
|
|
Cheers!!
Brij
|
|
|
|
|
what is this...give me the answer please
Pinna
|
|
|
|
|
Hi
i have to implement RSS feeds in my web site pages
so i wanna details and way how i implement it
|
|
|
|
|
Do you want to show rssfeed xml at your site?
Cheers!!
Brij
|
|
|
|
|
yes
i want to implement this functionality in my project site
i am new in RSS . and have no knowledge about it
|
|
|
|
|
If u just want to show the rssfeed of any website.Several sites provide rss and they are in standard XML format.You can just read that XML and show it on your website in the format you want to show(Using css etc).
Cheers!!
Brij
|
|
|
|
|
thanx how i show an image
|
|
|
|
|
Are you getting the image from rssfeed?
Cheers!!
Brij
|
|
|
|
|
i am creating a rss.xsl file
in which i specified title,link and description.
i also want to show an image with this
then how i add image tag in .xsl file
|
|
|
|
|
add one more tag content in which specify the img tag like
<content type="html">nrkneil posted a photo:
Cheers!!
Brij
|
|
|
|
|
|
use like this
<content type="html"><p><a href="http://www.flickr.com/people/neilclark/">nrkneil</a> posted a photo:</p> <p><a href="http://www.flickr.com/photos/neilclark/3092300230/" title="P1000936"><img src="http://farm4.static.flickr.com/3241/3092300230_14817207db_m.jpg" width="180" height="240" alt="P1000936" /></a></p></content>
Cheers!!
Brij
|
|
|
|
|
Hi
I have an application for excel sheet from where i am inserting data to sql server2000 but after reading 48 row in excel sheet it was unable to read further records in excel sheet.can anyone help me in this regards.
thanks in advance
Sujit
|
|
|
|
|
Is it throwing any exception ???
|
|
|
|
|
Check the data at 49th row. May be due to the datatype's error, some times it is unable to run the process.
you must ensure that datatypes of souce and target should be same
G. Satish
|
|
|
|
|
I want to create a public blogging/news site where anyone can register and add blog articles to the site (like cnn's iReport.com).
I could always take dotnetblogengine and modify it to do what I want however I figured I'd check around first to see if anyone knows of one (preferebly free open source, but I'll take commercial softtware as well.
Any ideas?
Thanks.
-Goalie35
|
|
|
|