|
Hi
Im sure what I want to do is simple but I'm failing to find any useful articles.
I want to place an rss feed on my website so that people can visit my website and see a news headline from another website.
any help would be great!
|
|
|
|
|
|
Hi, I am using a xmlreader to read and display values from a xml file. I have a node that has a list like this
<node>
Item 1
Item2
<node>
the reader.value() displays it like this
Item1 Item2
Please help me display the list as is.
Thank you in advance
|
|
|
|
|
You're saying that the newline is lost ?
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 )
|
|
|
|
|
|
Oh, if you read it and then pass it to your website, the Environment.NewLine in the string will be there, but you need to replace it with a <br/> tag for it to display in HTML. HTML ignores the newline.
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,
In my project i am using session mode stateserver. for maintaing sessions I am using other system's TCPIP address. I am not maintiaing state server in my system. If the given TCPIP system goes down because of any problem i need to provider other alternate system TCPIP address. any body please help me how to do this. below is my code in web.config.
<sessionstate>
mode="StateServer"
stateConnectionString="tcpip=192.182.100.1:42424"
cookieless="false"
timeout="20"
/>
modified on Thursday, May 8, 2008 8:27 AM
|
|
|
|
|
Hi folks as im new to ASP.NET Programming as well as to this codeproject, i want u guys to help me out...
Regards
Alamanda Prakash
|
|
|
|
|
|
I guess you're just trying to say hi ? The lounge is a better place for that, but by all means, ask real questions when you have them, we'd love to help.
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 )
|
|
|
|
|
start here:
http://www.asp.net/get-started/
|
|
|
|
|
welcome to code project
Best Regards
-----------------
Abhijit Jana
"Success is Journey it's not a destination"
|
|
|
|
|
Hi,
I need to call a webservice through javascript, i am using scripmanager(http://www.semenoff.dk/en/Code-Corner/ASP.Net.AJAX/WebService-From-JavaScript.aspx[^]....it was succesfful when i use webservice in my project..now i need to use a webservice which is running from another machine....i tried to give path to the serviceReference trough code...the path is something like this(http://165.8.15.10/myServices/WebServiceone.asmx), but couldnt solve it...Javascript throws error that "WebServiceone" is undefined.....i have googled and found that we can use .HTC and solve it..is there any other way? or..can anyone help me to solve this??
|
|
|
|
|
I am assuming this code uses AJAX to make the call. I would import the web service using the usual mechanisms so that you end up with a helper class in your project and you just call that.
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...thanks for replying.... i have written "ScriptManagerMain.Services[0].Path = autoFillService.Url;" in the Page_load event. where autoFillService is the object of my webservice....but it couldnt help me out..when i debug it.....i am getting the correct path into the path....can u help me ?
thanks,
deep.
|
|
|
|
|
To be honest, I answered b/c the question was unanswered, I've not looked at this code. It doesn't use AJAX to make a web service call from code behind ? If it does, I am still all for adding a proper web reference and just calling it, then it's just plain AJAX.
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 )
|
|
|
|
|
|
|
in aspx page, i have a reportviewer and ObjectDataSource as at below.
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="100%" > </rsweb:ReportViewer><br />
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server" <br />
SelectMethod="SELECT" TypeName="DataSet1.Expenses"></asp:ObjectDataSource>
in code
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
DataSet ds=new DataSet();<br />
...<br />
adp.fill(ds)<br />
<br />
<br />
ReportViewer1.LocalReport.DataSources.Add(new Microsoft.Reporting.WebForms.ReportDataSource("DataSet1", ds.Tables[0]));<br />
<br />
}
i'm sure dataset contains a table, but Reportviewer it doesnt show the result,why?
|
|
|
|
|
Dont you have to show your dataset in the aspx code?
|
|
|
|
|
Dataadapter.SelectCommand=GenerateDynamicSql();
i get SQL command from a function dynamically generated. so i cant add dataset.xsd
|
|
|
|
|
|
This looks kind of trivial. Do you not know any ASP.NET ?
Looks like you can send an SMS by passing it on the URL to this site. So, the first part is just building a string, use a stringbuilder for that.
The second part, you just do a send and see if the response is <success> I think the classes are called HTTPRequest and HTTPResponse.
This is not ASP.NET code, it's just C# code that makes a HTTP request. Doing an ASP.NET page that takes the details to post, is more than can be done in a forum reply, and also trivial.
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 )
|
|
|
|
|
thanks...
but i have problem with httprequest or httpresponse
its not working..
Error 8 'System.Web.HttpResponse' is a 'type' but is used like a 'variable'
|
|
|
|
|
I guess if you posted the code, I would be able to correct it.
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 )
|
|
|
|