Monday, May 14, 2012

how to formate date as dd/mm/yyyy in c#

string dateString = String.Format("{0:MM/dd/yyyy}",dt.Rows[incriment]["wdate"]);

Thursday, May 10, 2012

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (.Net SqlClient Data Provider)

1)Go to All Programs >> Microsoft SQL Server 2005/2008 >> Configuration Tools >> SQL Server Configuration Manager >> SQL Server Services, and check if SQL Server service status is “Running”.


2)1)Go to All Programs >> Microsoft SQL Server 2005/2008 >> Configuration Tools >> SQL Server Configuration Manager >> SQL Server netwok confi.>Protocol for mssql>tcp/ip make it true


3)go to sql login>right click on sql(sql server)>connection >true allowo remote connection true





Monday, May 7, 2012

BSE STOCK TIPS

5/7/2012 (BSE STOCK TIPS)
buy jsw steel at 721 target 1000 in month
20/03/2013 (BSE STOCK TIPS)
buy mcx 888 target 1150 in 2 month