I ordered food from this place yesterday. The delivery was on time and the delivery boy was gentle at his work. I had their veg Cheese grilled sandwich. The burger was very huge and you can't eat anything more after eating this burger. It tasted like a good desi burger with soft buns. It was very filling.
Asp.net Developer help
Monday 18 December 2017
RJ 14 food for mansarovar Jaipur
I ordered food from this place yesterday. The delivery was on time and the delivery boy was gentle at his work. I had their veg Cheese grilled sandwich. The burger was very huge and you can't eat anything more after eating this burger. It tasted like a good desi burger with soft buns. It was very filling.
Thursday 31 August 2017
Cafe By The Way food for mansarovar Jaipur
I ordered food from this place yesterday. The delivery was on time and the delivery boy was gentle at his work. I had their veg Cheese grilled sandwich.
The burger was very huge and you can't eat anything more after eating this burger. It tasted like a good desi burger with soft buns. It was very filling.
Sunday 9 October 2016
Read html from a Url
To read html from a url, you have to make HttpWebRequest.
First make HttpWebRequest and add url in it.
HttpWebRequest httpRequest = (HttpWebRequest)WebRequest.Create("http://www.yourdomain.com/filename-1.html");
Now Specify timeout and UserAgent
httpRequest.Timeout = 10000; // 10 secs httpRequest.UserAgent = "Code Sample Web Client";
Now get a response in HttpWebResponse and from HttpWebResponse you will get your html.
HttpWebResponse webResponse = (HttpWebResponse)httpRequest.GetResponse(); StreamReader responseStream = new StreamReader(webResponse.GetResponseStream()); string FileMatter = responseStream.ReadToEnd();
In FileMatter variable you will get all html from given url.
Code
HttpWebRequest httpRequest = (HttpWebRequest)WebRequest.Create("http://www.yourdomain.com/filename-1.html"); httpRequest.Timeout = 10000; // 10 secs httpRequest.UserAgent = "Code Sample Web Client"; HttpWebResponse webResponse = (HttpWebResponse)httpRequest.GetResponse(); StreamReader responseStream = new StreamReader(webResponse.GetResponseStream()); string FileMatter = responseStream.ReadToEnd();
Thursday 6 October 2016
Keyword not supported: initial catalog
Introduction
In this In this article I will explain cause and resolution of Keyword not supported: initial catalog error
Cause
This error occurs when we are implement asp.net membership and error occurs in Global.asax file at the following line:
Resolution
To resolve this error you need check your connectionString and add providername property in your connectionString.
Suppose you are trying to connect with Sql Server so you have to add providerName="System.Data.SqlClient"
Example
In this In this article I will explain cause and resolution of Keyword not supported: initial catalog error
Cause
This error occurs when we are implement asp.net membership and error occurs in Global.asax file at the following line:
WebSecurity.InitializeDatabaseConnection("Action", "Member", "MemberId", "Email", autoCreateTables:= True)This error occurs when we have not specified provider name in connectionString.
Resolution
To resolve this error you need check your connectionString and add providername property in your connectionString.
Suppose you are trying to connect with Sql Server so you have to add providerName="System.Data.SqlClient"
Example
<connectionStrings> <add name="con" connectionString="Data Source=ServerName;Initial Catalog=master;Integrated Security=SSPI;" providerName="System.Data.SqlClient"></add> </connectionStrings>
Labels:
Asp.net
,
Asp.Net MVC
,
C#
Subscribe to:
Posts
(
Atom
)