i need help to check the avaialbility of username from database. i am developing this website in a .net 3 tier framework. i already search for coides through google but all the codes are in 2 tier based. please help..............
Don't get so hung up on "3 tier" and stuff like that.
You have a very specific problem you are trying to solve so just focus on that alone.
What you need to do is run a query against your database to check if a value exists. That's it.
publicbool UserNameExists( string username )
// Connect to your database...
// Run a query to check if username exists.
// NOTE: Use a paramatarized query.
// Something like: SELECT count(*) FROM [YourUserTable] WHERE [YourUserNameColumn] = @username
I had been working on C, C++, VC++ technologies for many years. I want to start learning C# .Net. I have little knowledge about C#.Net. I want to know from where to start.
And also what is the difference between C#, .Net, ASP.Net, ADO.Net etc etc ..
The important thing is to find a book or course in your native language - this makes life a lot easier for you because you aren't also trying to translate English while you learn.
After that, the Addison Wesley, Wrox, and Apress books are generally pretty good - just read it from start to finish and do all the exercises to make sure you don't miss anything too fundamental. Just avoid any books with "in XXX days", "For Dummies" or multiple exclamation marks in teh title!
If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.