.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

I hope to get all code with database for this Article about Check Username Availability

Posted By: Asiri     Posted Date: May 27, 2010    Points:2   Category :ASP.Net
Hello, and good day
I found this lesson http://www.dotnetspark.com/kb/1278-check-username-availability-from-database.aspx by Pankaj, and I have downloaded this file but it was incomplete, and dosen't work will so please provide me with all code with database, because the problem in
1- The Database name not mentioned
2- The ConnectionString in web.config also incomplete

<connectionStrings>
<add name="MyConnection" connectionString="Data Source=PANKAJ-PC\SQLEXPRESS;Initial Catalog=Test;Integrated Security=SSPI;" />
</connectionStrings>

so I hope to get complete answer

Responses
Author: Sunil Yadav       [Moderator]      
Posted Date: May 27, 2010     Points: 5   

Initial Catalog is you database and Connectionstring is also proper.
Do let me know what error are you getting??

Author: Pankaj Mishra             
Posted Date: May 27, 2010     Points: 5   

Hi Asri,

Thanks Sunil..

http://www.dotnetspark.com/kb/1278-check-username-availability-from-database.aspx This article contains full source code.

The connection that you have mentioned is

<add name="MyConnection" connectionString="Data Source=PANKAJ-PC\SQLEXPRESS;Initial Catalog=Test;Integrated Security=SSPI;" />

In the above one PANKAJ-PC\SQLEXPRESS Is my PC and SQL Server Instance name

Initial Catalog=Test Test is the DataBase I used

You can modify your connection string

Hope this will help you



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend