Web Forms :: Insert Weather Information Into Websites?
May 4, 2010how can i insert weather information panel into my asp.net web site?
View 1 Replieshow can i insert weather information panel into my asp.net web site?
View 1 RepliesWeather class
public class weatherdata
{
[DataMember]
[Code].....
I am getting null in the icon but its not in the json it has a icon name specified
I have experimented with coding such as follows:
Imports System.Net
Imports System.IO
Imports System.Data
Partial Class Test01
Inherits System.Web.UI.Page
Dim T01String As String
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim WRequest As WebRequest = WebRequest.Create([URL])
Dim WResponse As WebResponse = WRequest.GetResponse()
Dim WStream As Stream = WResponse.GetResponseStream()
Dim WStreamReader As New StreamReader(WStream, Encoding.UTF8)
T01Location = WStreamReader.ReadToEnd()
WResponse.Close()
WStreamReader.Close()
End Sub
End Class
In this example, a stream of data is captured from the Wikipedia website. I am looking for resources/options to assist in (a) returning specific information from a website based on criterion to be stated in the code (rather than the entire unformatted HTML data, for example), and (b) providing a variable value for an entry required for a particular website, then returning the stream based on the result (example: allowing the entry of an address as a variable value and then returning the zip code from the USPS website). Basically, the idea is to find the correct code configuration for allowing "wildcards" when returning a stream of data from a specific website.
the account we use to copy/publish websites to our web server is not allowing us access to push websites. I've added this account to the permissions in the links listed in the below link, but i don't have success when trying to push remotely. When the account is in the local admins account, everything works flawlessly, but we are not allowed to have it in there. http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/31be047e-4716-4974-b8a1-be0111b50199 I've googled and searched a lot for this particular error, but am not finding an answer that helps. We get this error, 'Unable to create the Web 'http://edea01/test/planning'. You are not authorized to perform the current operation', and the above link is the scenario that matches mine the most. I don't do develompment work, but am asked to figure out this connection problem.
View 3 RepliesI want to develope charts for weather forecast sources like scadar,historical,weather and static data. Does anybody worked for these type of weather forecasting charts. what type of charts we can use for weather forecast? data will be in xml format. If user selects any datefrom and dateto, time interval according to that selection charts will be shown.
View 2 RepliesIt's probably something small but I can't seem to find what went wrong. I am trying to insert information into my database. It goes through the code just find but it doesn't insert into my database. Here's my code:
[Code]....
Here's my webconfig connection string:
[Code]....
I have Page which has some database values in It . The current database value is say x then i want an event to be fired if the database value changes I want the Page to check the Database value in every 5 Seconds .
View 2 Repliesi want to use the weather web service that provided for free from webservicex so i have added the service to my ASP.net web site [URL] in the code behind i have defined an object of this service and this object require the country and city name to get the result back i gave the
city name :amman
country : jordan
but i dont know how can i get back the result? is there any function i forgeted?
I never used linq before and i'm having trouble parsing the xml file at
[Code]....
[Code]....
[Code]....
I am working on development of a website. Task is to add a Live weather forecast to my webpage. I am unable to find a good working solution for this.
View 3 RepliesHow to use MSN and other websute webservice? Like weather,curreny,stock,sms etc ? Some thing like the below website exchange rate [URL]
View 9 RepliesIf I store the data every second, the database will grow rapidly. I need to have less detail of measurements of a few weeks/months back. An average would be enough. I have 5 sensors: wind speed, wind direction, temperature, light and rain. How would I design my database?
View 1 RepliesI am Adding Webservice Reference in my project . WSDL , Disco , XSD files are created in my project.now , my issue is how to check weather WSDL showing correct DataContracts or not. I dont want unwanted datacontracts to be downloaded .
View 2 RepliesI have some issues about retrieveing and storing date information to my database (ms sql server 2005).My data column is a DateTime, and i have set my web.config globalization culture is set to "en-gb"
When i retrieve date from the datebase it appears as dd/MM/yy, that's fine. But i cannot insert a new date as same format?! It will only accept MM/dd/yy or yy/mm/dd.Right now i'm using this code to correct the error:
[Code]....
Is it possible to change the date format on the database or something, so i dont need to use this code?
I am making an online form (literal form) that needs to have a certain function: when the user enters a 5-digit number, the form should automatically query the MS SQL DB and retrieve information associated to that number and populate other form elements (text boxes, etc.) accordingly.
So say the # was 12345 and in the DB, the record matching 12345 has name=Fred. So, when I enter 12345 into the form textbox, the name text box should be automatically populated with Fred in it.
If this is not easily achievable, I guess a submit button beside the 5-digit number text box can do.
I am still learning my way around ASP.NET and Visual Studio 2005, however I have ample experience with HTML, CSS, JavaScript, C/C++. The ASP.NET app is to be written in C#.
I took over my company's website and I'm reordering the layout and colors. I can't change the structure of the websites. It's one website but it has two different parts. A static part sits on one server and the part the users login is on another server.
What I would like to know is if can use one sitemap for both so I don't have to maintain two. I also want to generate a site map dynamically and I can't do that with two different sitemaps.
i hv say two website web1 and web2 both hv diff appdata and style sheet,webconfig.how can host this on single url with username and password. suppose for rajeev it redirect to web1 and for ravi redirect to web2.Is it possible todo this kind of thing. India mart did this on their websites. they have various links in thier website. suppose for website web1 they have the [URL] and so on.
View 11 RepliesIn my present project I have to open one site through my asp.net application and this site I have to control. And after that if we close the site the application master page should display. How I can accomplish the requirement .Any ideas will be very useful for me to start thinking on those lines.
View 3 Repliesi have my website . website.com and having webpage need to enter general details like where to travel, dates of travel, no of adults and childrens like the way we found when we book a hotel or flight in any of websites like hotels.com and expedia.com ...etc
what i need is, when the user enter the those details in my webpage, i want to navigate them to the hotels.com, expedia.com and others with list of all the required information
for hotels i can pass the parameters in querystring and for others like expedia.com i am unable to do that, they are posting the values.
let me tell onething. when we are booking a flight in one website say cheaptickets.com , there we find option like COMPARE TICKETS WITH other site. there how it is sending those details to different websites showing list of differet sites.
As per the requirement of my client I would like to create an application which detects content changes on the websites we provide. Like we will have an admin section where we add the websites we want to keep a track of. And on the other side it tell us of any new content on those websites. The websites will be kind of general news website and won't have RSS feeds. I would like to know if there is any way to do something like this. Any ideas are welcome. I would like to know just the logic how to create such a thing.
View 5 Repliesmy cilents asking for responsive designs means if i open the website in mobile means mobile version of website has to display and it as for tablets
View 1 RepliesWeb Page Design is a very important stage while developing an asp.net project as it will create the look and feel of the site. So I want to be careful in this stage. Could you give me some practical tips for designing professional looking website? Or Is there any website that offers free Master Page design templates? I am going to develop a new web application for my company. So I want to provide a good looking, easy to navigate and consistent web application to them. Thanks in advance to all who reply.
View 2 Repliesm trying to create websites dynamically according to some htm templates.So far so good, I can read the html using the "System.Net.WebRequest" methods.Now I want to load from such templates some usercontrols... explain it:HTML-template look like this:
[Code]....
"%UC1%" and "%UC2%" would be place holder for some usercontrols..UC1:
[Code]....
Now, I want that some .aspx page reads the html template (this is done) and replace the found placeholders (eg: %UC1%) with corresponding UserControl.
Can we upload a file automatically in websites? I mean,I have a website where a default log folder is there and I will to upload automatically the log file present in the folder.
View 2 RepliesI am staring a new site that would provide simple gadgets that can be embedded into any site for easy use. i am developing my application in .net,vs2008 ,c# . but i have no idea about developing applications that can be embedded.
View 3 Replies