On-line Address Book in ASP.NET 2.0
This is a small project on On Line Address Book. This small project will be very useful for those who are going to start or new in ASP.NET.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: On-line Address Book in ASP.NET 2.0


vijay rajPosted Oct 14, 2011, 12:18 AM EDT
nice code dear, well done
Mohammad ArifPosted Dec 3, 2010, 11:55 PM EST
Thanks its very nice
manas manPosted Aug 13, 2010, 6:46 PM EDT
Great job Rahul,i m a great fan of yours. Thanks yaar yours manas
vikash mehtaPosted Jun 23, 2010, 4:29 AM EDT
Hi rahul...gr8 job...bt it wud better if u add a feature for storing and displaying contact pic also..:)
Preety kumarPosted Jun 4, 2010, 10:59 PM EDT
thanks buddy, i badly need a project on dot net for last 3-4 days.....thanks a lot
AKSHAT MEHTAPosted Apr 24, 2010, 11:05 AM EDT
hi , i have downloaded the project "Address book" but i am unable to run it successfully, the problem is with SQLServer connection .Can you please guide me step by step method to change connection string and connect to the SQLserver as i am beginner. Thanks and Regards, Akshat
AKSHAT MEHTAPosted Apr 24, 2010, 11:02 AM EDT
hi...i have downloaded this project ....but i am unable to connect sqlserver with this .... Can u please tell me the steps to do so as i am a beginner. Thanks and Regards, akshat
suyash agrawalPosted Mar 20, 2010, 7:44 AM EDT
hello rahul can u tell me how to connect database in this project
Nelson aPosted Oct 22, 2009, 8:14 AM EDT
I receive this error http://i35.tinypic.com/jzy0zo.gif And database looks like this http://i34.tinypic.com/10fp5bs.jpg What may be the problem?
yogesh sharmaPosted Sep 13, 2009, 3:38 AM EDT
hey rahul u r geinous it is nice one thanks for providing very good and helping articles .
Yogesh RPosted May 21, 2009, 9:11 PM EDT
Hi, This is such a nice artical. I m new comer in .NET, I would like to know how to use databound controls in template fields in gridview. I facing proble while binding it. Please send me needful solution. I will wait for ur reply. Thanks again for nice artical. bye.
Shruti GogteeditedPosted May 11, 2009, 10:10 PM EDTEdited May 11, 2009, 10:16 PM EDT
Hi Rahul, Have liked your article....its a good way to start for asp.net 2.0 concepts I have a suggestion with the code written in search...u have placed buttons besides each textbox....instead of that we can keep one button...and in that button click following code can be written ...i have appended conditions in "and" clause...depending upon our requirement we can change it..... no need to write different evevnts for each textbox.... protected void btnSearch_click(object sender, EventArgs e) { StringBuilder whereCondition = new StringBuilder() ; foreach (Control ctlr in Page.Controls) { foreach(Control c in ctlr.Controls) {if (c is TextBox) {TextBox txt = c as TextBox; if (txt.Text != string.Empty) { switch (txt.ID) { case "txtIDSearch": whereCondition.Append("ID like " + txt.Text); break; case "txtFirstNameSearch": if (string.Empty != whereCondition.ToString()) { whereCondition.Append("and"); } whereCondition.Append(" FirstName like '" + txtFirstNameSearch.Text + "'"); break; case "txtLastNameSearch": if (string.Empty != whereCondition.ToString()) { whereCondition.Append("and"); } whereCondition.Append(" LastName like '" + txtLastNameSearch.Text + "'"); break; case "txtEmailSearch": if (string.Empty != whereCondition.ToString()) { whereCondition.Append("and"); } whereCondition.Append(" PersonelEmail like '" + txtEmailSearch.Text + "'"); break; } } } } } commandSearch = "select * from Record where" + whereCondition.ToString(); showSearchRecord(); Also in many pages you have created a connection string and dataadapter,command object.....we can create a generic class and place a code for once...for example public SqlConnection Connect() { conn = new SqlConnection(@"Data Source=;Initial Catalog=; Uid=sa; Pwd="); conn.Open(); return conn; } public DataSet ExecuteCommand(string query) { DataSet ds = new DataSet(); SqlDataAdapter sda = new SqlDataAdapter(query, conn); sda.Fill(ds); return ds; } public void InsertData(string query) { SqlCommand cmd = new SqlCommand(); cmd.CommandText = query; cmd.Connection = conn; cmd.ExecuteNonQuery(); conn.Close(); }
sandeep dwivediPosted Apr 18, 2009, 7:32 AM EDT
hi buddy it solve my prob??????????????
Hashim BhatiPosted Apr 3, 2009, 11:46 PM EDT
Really good one! for new comer
rabi narayan panigrahiPosted Oct 23, 2008, 5:35 AM EDT
Hi rahul, I am a VC++ developer and recently moved towards doing some web applications as per the requirement, So i wanted some examples which will give me a overal flow of asp .net application. And i checked your posts and those are very helpful for me getting some good knowledge. Thanks very much.....
YERRIPILLI POTT SRINIVASA RAOPosted Feb 15, 2008, 4:12 AM EST
Hello Raahul, how are you? I have visited the dotnetheaven.com to learn the basic asp.net concepts, there I found your article, it is clearly mentioned , it is for the beginners. I want to develop the asp.net applications. In addition to this, I am developing c# programs at home. This is very interesting. Thank your very much. This is my email [email protected]
kimPosted Feb 7, 2008, 12:10 PM EST
Good one!!! excellnet job