Steps to find Device ID of your iPhone or iPod Touch


Thursday, February 11, 2010

Steps to find Device ID of your iPhone or iPod Touch

Please follow below steps to find Device ID of your iPhone or iPod Touch.

Step 1: Open iTunes

Step 2: Connect your iPhone with Mac.



Step 3: when you will get successfully connected to iTunes, At the right pane, You will see each and every information of your iPhone,



Like
Name,
capacity,
software version,
serial number, and
phone number.

Then you can select that Serial Number and copy to your clipboard by selecting Edit → Copy.



Thus you can get your Device id by above steps.


Hope this post will help you,
if yes please put comment below of this page,
Rajesh Singh,
Asp.Net Developer
Indianic Infotech Ltd (India)
rajesh@indianic.com

How can I find current OS version of my iPhone ?




Steps to find Your iPhone or iPod Touch OS Version

Question : How can I find current OS version of my iPhone ?

Answer: Follow the steps to find your iphone or ipod touch OS version.

Step 1: Go to Settings of your Device

Step 2: Click on General option in that, You will see About page.See image.



Step 3: in that you can see the OS version of your Device.

Hope this post will help you,
if yes please put comment below of this page,
Rajesh Singh,
Asp.Net Developer
Indianic Infotech Ltd (India)
rajesh@indianic.com

Steps to Create Web Services in C# and Sql Server




Steps to Create Web Services in C# and Sql Server

Step 1: Create one website project in the visual studio

Step 2: Create one folder with name “WebServices” in the project.

Step 3: Right click on the folder and click on add new item, then select “ web services” file from the list, as shown in image below



Step 4: After creating file in folder, Webservices.asmx file will be created in the folder and a default folder with name “App_Code” will be added the project and new file with the name “Webservices.cs” file will be added to it automatically.

Step 5: Then create three class file in App_Code folder with name :

a.WebService_Class.cs
We will create all the function of database operation here. We will discuss this in detail below.

b.Webservice_Main.cs
In this class, we will store the generic list of web services data. We will discuss this in detail below.

c.WebServices_StoreLocalVariable.cs
In this class we will store all the local variables, so that we can speed up web services. We will discuss this in detail below.

WebService_Class.cs


You can add this code in this file


using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using commonlib.Common;

/// <summary>
/// Summary description for WebService_Class
/// </summary>

namespace EuroCity
{

public class GetAllCityClass
{
#region "Fields"

private int iCityID;
private string sCityName;


DBManager DM = new DBManager(ConfigurationManager.ConnectionStrings["ConnectionString"].ToString());
#endregion

#region "Properties"

public int ICityID
{
get { return iCityID; }
set { iCityID = value; }
}

public string SCityName
{
get { return sCityName; }
set { sCityName = value; }
}

#endregion

#region "Function"

public DataSet GetAllCity()
{
DataSet DSCity = new DataSet();
string SQL = "SP_GetAllCity";

try
{
DSCity = DM.ExecuteDataSet(CommandType.StoredProcedure, SQL);
}
catch (Exception ex)
{
ex = null;
}
finally
{
if (DSCity != null)
{
DSCity.Dispose();
}
}
return DSCity;
}
#endregion
}
}




Webservice_Main.cs


You can add this below code in this file.

using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using EuroCity;
/// <summary>
/// Summary description for WebServices_Main
/// </summary>
namespace EurocityCards_Classes
{
public class WebServices_GetAllCity
{
public string ErrorMessage = "";
public bool IsError = false;

public List<GetAllCityClass> CityList = new List<GetAllCityClass>();
}
}



WebServices_StoreLocalVariable.cs


You can add this below code in this file

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

/// <summary>
/// Summary description for WS_EuroClass
/// </summary>
public class GetAllCityClass
{
#region Data Member
public string iCityID, sCityName;
#endregion
}


WebService.cs


Add Below code in the WebService.cs, that generated automatically in the App_Code file.



using System;
using System.Web;
using System.Collections;
using System.Web.Services;
using System.Web.Services.Protocols;
using System.Data;
using System.Data.SqlClient;
using EurocityCards_Classes;
using System.Collections.Generic;
using System.Configuration;
using EuroCity;



/// <summary>
/// Summary description for WS_EurocityCards
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class WebService : System.Web.Services.WebService
{
[WebMethod]
public WebServices_GetAllCity GetAllCity()
{
EuroCity.GetAllCityClass objcity = new EuroCity.GetAllCityClass();
DataSet dscity = new DataSet();
WebServices_GetAllCity WS_city = new EurocityCards_Classes.WebServices_GetAllCity();
dscity = objcity.GetAllCity();
objcity = null;
if (dscity != null && dscity.Tables[0].Rows.Count > 0)
{
WS_city.IsError = false;

List<GetAllCityClass> stateList = new List<GetAllCityClass>();

foreach (DataRow dtRow in dscity.Tables[0].Rows)
{
GetAllCityClass objcityName = new GetAllCityClass();
objcityName.iCityID = dtRow["catid"].ToString();
objcityName.sCityName = dtRow["Catname"].ToString();
stateList.Add(objcityName);

}

WS_city.CityList = stateList;
}
else
{
WS_city.ErrorMessage = "No record Found";
WS_city.IsError = true;
}

return WS_city;

}


}




Add Below code in the web.config file for the connection to the database


<connectionStrings>
<add name="ConnectionString" connectionString="Data Source=YOURSQLSERVERNAME;Initial Catalog=YOURDATABASENAME;user id=YOURDATABASEUSERNAME;password=YOURDATABASEPASSWORD;" providerName="System.Data.SqlClient;Max Pool Size=7500;Connect Timeout=500;pooling=true"/>
</connectionStrings>




To make database connection you need to create SP for that, please find code below


Create one Database in your SQL Server, and create one table name “SiteCity”

-- For City  Details
IF EXISTS (SELECT * FROM SYSOBJECTS WHERE ID = OBJECT_ID('SP_GetAllCity'))
DROP PROCEDURE SP_GetAllCity
GO
CREATE PROCEDURE [SP_GetAllCity]
AS
BEGIN
SELECT CityID,CityName
FROM SiteCity
ORDER BY CityName ASC
END
GO



After Creating the project, just build your application and run in brower.

Follow the screen to get your output.

Web Services First View
You will see the web service name here, see below in the image,



After clicking to the web services name, you will see "Invoke button"
This is the button used to run the web services.See in the screen below



Then finally you will see the below screen as output, what you were in need of, just call this and make you application successfull.




Hope this post will help you,
if yes please put comment below of this page,
Rajesh Singh,
Asp.Net Developer
Indianic Infotech Ltd (India)
rajesh@indianic.com

What is Google Buzz ?


Wednesday, February 10, 2010

Even google follow twitter,

This can be seen by this, that Google has implemented the twitter follow, as google buzz in google mail box.

This shows google know, the popularity of twitter.com

www.induway.com

Google is just trying to make your inbox as your admin panal of everything, means you can handle everything like contacting your friends, sending scrap to them, intracting with them and sharing feeling and makeing them aware what you are doing.

Google is just make your inbox social to internet.

Google's latest social media experiment came to life on Tuesday in the form of Google Buzz: a social media sharing service built into your Gmail window. Buzz will let you share photos, links, videos, and status updates through your Gmail inbox or your mobile device's Web browser.

Google is still rolling out the service to all Gmail users, but if you can't wait, we have a couple of ways that you can try out Buzz right now on your desktop or smartphone.

Hope this post will help you,
if yes please put comment below of this page,
Rajesh Singh,
Asp.Net Developer
Indianic Infotech Ltd (India)
rajesh@indianic.com

Failed to retrieve data for this request Error in SQL Server


Saturday, February 6, 2010

SomeTimes after formating your computer, when you install sql server 2008.

When you try to connect your database and click on database menu to see the list of database, you will find windows alert showing you this below error.




Microsoft SQL Server Management Studio

Failed to retrieve data for this request. (Microsoft.SqlServer.Management.Sdk.Sfc)

Additional information:

An exception occurred while executing a Transact-SQl statement or batch.(Microsoft.SqlServer.COnnectionInfo)

The server principal "DatabaseName" is not able to access the database "Birdiethis" under the current security context. (Microsoft SQL Server, Error:916)




Please read below to find, how to solve this problem,

There is nothing to worry about, mostly user use to uninstall sqlserver software and install it again. then also they feel same problem.

Follow this steps :

Step 1: Open your sql server 2008,connect to database.

Step 2: click on view option for the top menu panel,then click to Object Explorer Details,



Step 3: You will see a panel will open at the right hand side,

Step 4: Right click on the header part of that panel, and unselect all option, as shown in the image,



Step 5: This will solve that issue, and you can use sql server 2008 without any error.

That's it,


Hope this post will help you,
if yes please put comment below of this page,
Rajesh Singh,
Asp.Net Developer
Indianic Infotech Ltd (India)
rajesh@indianic.com

Important: Changes to Blogger FTP Service


Wednesday, February 3, 2010

Google Blogger is Going to Stop its services of allowing to host your blog on FTP.
Please read the notice below i have received one from GOOGLE.COM



Dear FTP user:

You are receiving this e-mail because one or more of your blogs at Blogger.com are set up to publish via FTP. We recently announced a planned shut-down of FTP support on Blogger Buzz (the official Blogger blog), and wanted to make sure you saw the announcement. We will be following up with more information via e-mail in the weeks ahead, and regularly updating a blog dedicated to this service shut-down here: http://blogger-ftp.blogspot.com/.

The full text of the announcement at Blogger Buzz follows.
Last May, we discussed a number of challenges facing[1] Blogger users who relied on FTP to publish their blogs. FTP remains a significant drain on our ability to improve Blogger: only .5% of active blogs are published via FTP — yet the percentage of our engineering resources devoted to supporting FTP vastly exceeds that. On top of this, critical infrastructure that our FTP support relies on at Google will soon become unavailable, which would require that we completely rewrite the code that handles our FTP processing.

Three years ago we launched Custom Domains[2] to give users the simplicity of Blogger, the scalability of Google hosting, and the flexibility of hosting your blog at your own URL. Last year's post discussed the advantages of custom domains over FTP[3] and addressed a number of reasons users have continued to use FTP publishing. (If you're interested in reading more about Custom Domains, our Help Center has a good overview[4] of how to use them on your blog.) In evaluating the investment needed to continue supporting FTP, we have decided that we could not justify diverting further engineering resources away from building new features for all users.


For that reason, we are announcing today that we will no longer support FTP publishing in Blogger after March 26, 2010. We realize that this will not necessarily be welcome news for some users, and we are committed to making the transition as seamless as possible. To that end:

    • We are building a migration tool that will walk users through a migration from their current URL to a Blogger-managed URL (either a Custom Domain or a Blogspot URL) that will be available to all users the week of February 22. This tool will handle redirecting traffic from the old URL to the new URL, and will handle the vast majority of situations.
    • We will be providing a dedicated blog[5] and help documentation
    • Blogger team members will also be available to answer questions on the forum, comments on the blog, and in a few scheduled conference calls once the tool is released.

We have a number of big releases planned in 2010. While we recognize that this decision will frustrate some users, we look forward to showing you the many great things on the way. Thanks for using Blogger.

Regards,

Rick Klau
Blogger Product Manager
Google
1600 Amphitheatre Parkway
Mountain View, CA 94043

[3] http://buzz.blogger.com/2009/05/ftp-vs-custom-domains.html

----
This e-mail is being sent to notify you of important changes to your Blogger account.