|
Hi,
I have developed a small web site in ASP.net 2.0.
I want to implement a RSS feed to the site so that I can display the updated news on the site.
Could you please guide me how can I implement the RSS in my website?
--
Ravi
|
|
|
|
|
All you have to do is to create a page that returns an xml document that follows some RSS standard. There are also libraries that you can use, whichever you find easiest.
Here you find some information, examples and links: Wikipedia: RSS[^].
---
single minded; short sighted; long gone;
|
|
|
|
|
Rss Feed is a simple XML file, Just look how the rss looks like, and write a class to create a Feed.
|
|
|
|
|
How to create a web application using MVC pattern approach?
gadix
|
|
|
|
|
|
thanks very much John
gadix
|
|
|
|
|
You are Most Welcome...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
hi
can i prohibit the ctrl key function just like
ctrl+C - copy ,ctrl+P - print after running the application on web page? if yes then how ?
Thanks
bye
|
|
|
|
|
Yes you can do it try :
for ctrl + c :
for ctrl + p : no need javascript
@media print {
body { display:none }
}
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Thanks
it helped me greately. my problem is solved.
now tell me how to clock 'save as' option in application at run time?
Thanks
bye
|
|
|
|
|
hi
first of all thanks for helping me to lock the control keys function. it works greately. similarly i want to lock 'Save As' option in menu toolbar because whatever documents i am showing on web page that are most confidential so nobodies could not copy,delete,save,print that data. it is only for displaying purpose. i think i got my point. so pls. help me to lock save option.
once again thanks.
Thanks
bye
|
|
|
|
|
Hi,
I do not have much idea about to disable the save as option. You can go through google to find this problem.
According to me we can not disable the IE menu save as option but we can display the pages without menu bar and prevent the Right click option on the pages.
If you have any doubt after the finging with google then let me no.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hello friends, I am uploading an asp.net site on a web server and I get the following error
The type or namespace name 'DBProcess' could not be found (are you missing a using directive or an assembly reference?)
Here 'DBProcess' is the class file containing all the database related operations. what could be cause of the problem and the solution for this?
|
|
|
|
|
Amit.Jagtap wrote: 'DBProcess' could not be found (are you missing a using directive or an assembly reference?)
required dll files should be made available in the bin folder and it's references should be added to the web project. Check whether the assembly(.dll file) "DBProcess" is there and also check whether the referene has been added. Then build the application in the Release Mode and upload...
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hello all,
sorry for my simle question, but i don't know a long text that is in my data base how i can insert it in my web page, with textbox orlable or gridview? i don't have problem with grid view but i do'nt know how i can connect to sql server from a lable or textbox.i search in google but i didn't gain any result maybe i didn't use true keywords.
please help me ,
thank you.
|
|
|
|
|
saba02 wrote: i do'nt know how i can connect to sql server from a lable or textbox
You connect to SQL Server with an SqlConnection object.
saba02 wrote: i don't have problem with grid view
Well, since you can't connect to a SQL Server with a grid view either but you think you did, I can only presume you are getting confused between the process of data binding and database connections.
Data binding isn't something I've got much time for because each time I've tried the results are message and difficult to change if I need to. It also seems to encourage poor design habits. That is why I stick to the robust method of using a 3-tier architecture with a separate presentation layer and DAL (Data abstraction layer)
SqlCommand cmd = new SqlCommand()
cmd.Connection = myConnection;
cmd.CommandText = "StoredProcedureName";
cmd.CommandType = CommandType.StoredProcedure;
string text = (string)cmd.ExecuteScalar();
myTextBox.Text = text;
|
|
|
|
|
thank you very much for your response.my problem solved with your guidance.
|
|
|
|
|
Hi all,
I am working on .NET for the past one year. I read some books for it but i am confused as to what controls should we use for maximum performance.There are always more than one way to implement a functionality,hence we should sought out the best way to implement a certain functionality.
for eg: We should use datasets rather than using datareaders...
We should use tables instead of divs....
Can any body provide some very useful tips on "How to design a high performance website"
|
|
|
|
|
John Mecas wrote: We should use datasets rather than using datareaders...
No.. Not neccessary..
There is world of Difference between Dataset and DataReader.
DataReader - Simple , Fast, Forward-Only, Read-Only, Connection oritented, Ideal for handling small set of Records. Ex: Binding of read-only data is much more efficient using a reader.
Dataset - Powerful, Two-way(Moves Forward and Backward), Read-Write Access, Connectionless, Ideal for manipulating huge set of Records. Ex: Binding Data to a DataGrid and manipulating and doing a Bulk update.
If you try to use these two the other way round then it dramatically reduces the performance of your application...
John Mecas wrote: We should use tables instead of divs....
No two controls have 100% similar properties, methods and events. There are slight differences that the other control is incapable of doing...we can say that these are the limitions implied on the control...
John Mecas wrote: How to design a high performance website
a lot to list... but few tips here...
A. In terms of Fornt-End Design
1. Better understanding about the Business Requirement and .NET Controls will help you to give a User-Friendly Interface to the application
A. In term of Coding few tips..
1.Having 3-Tier or N-Tier Architecture (Layered Approach)
2.Optimized Code
3.Proper Usage of Session and Application Variables
4.Proper Implementation of Caching Techniques
5.Reduced Viewstate Maintenance
6.Client-Side Validation
practicing all these will help you to deliver a high performance website.
Hope this helps....
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
I want to buid a web site with play media, but i don't know any control in asp.net to do it. Please help me, thanks.
Thao
|
|
|
|
|
|
Hello Everyone,
Can anybody tell me how to do the online shopping in ASP.NET ........
|
|
|
|
|
|
HI John This will be useful for me also ...
i need an application in Internet banking ..
plz help me ..
Bye ...
Naresh
|
|
|
|
|
nareshss wrote: i need an application in Internet banking ..
What is that exactly you want to know?
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|