Monday, February 27, 2012

How to detect MSISDN from browser headers

How to detect MSISDN from browser headers Things to note be remember that: 1.If the user has come to wap portal on WiFi then you will not receive msisdn. 2.User mobile operator has to support the passing of the msisdn in the HTTP headers. Below is simple code to find msisdn from...

Wednesday, February 22, 2012

Create HTTP request and receive response using asp.net C#

Create HTTP request and receive response using asp.net C# 1.Simple http request Uri objurl = new Uri(url); WebRequest objWebRequest = WebRequest.Create(objurl); WebResponse objWebResponse = objWebRequest.GetResponse(); Stream objstream = objWebResponse.GetResponseStream(); StreamReader objStreamReader...

Tuesday, February 21, 2012

How to use stored Procedure with output parameters with ASP.NET,c#

How to retrieve store procedure output parameter value?I have given a simple code example. I have created a store procedure with output parameter. After that I get it from code behind page of asp.net and stored it a variable. private void GetInfo() { DALUtility objDALUtility = null; SqlConnection con = null; SqlCommand...