tag:blogger.com,1999:blog-6159625330036671738.post4564104224743658279..comments2023-08-18T03:30:33.547-07:00Comments on CoolTuts: Create a Login Form in ASP NetEmmaneale Menduhttp://www.blogger.com/profile/01829923430978159667noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-6159625330036671738.post-59115112745390971032010-05-09T02:02:25.277-07:002010-05-09T02:02:25.277-07:00i also write shared dr As SqlDataReaderbut error a...i also write shared dr As SqlDataReader<br>but error againF.Shnoreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-88475234567885226842010-05-09T08:47:59.482-07:002010-05-09T08:47:59.482-07:00try afterremoving bracketsdr = cmd.ExecuteReadertry after<br>removing brackets<br>dr = cmd.ExecuteReaderemmuhttp://www.blogger.com/profile/11382496746783234614noreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-55768411337882099712010-05-09T12:31:12.831-07:002010-05-09T12:31:12.831-07:00again error..again error..F.Shnoreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-82640651321658351972010-05-09T12:46:58.484-07:002010-05-09T12:46:58.484-07:00Sure i will make a video on LOGIN in ASP(vb)Sure i will make a video on LOGIN in ASP(vb)emmuhttp://www.blogger.com/profile/11382496746783234614noreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-78539279155494190612010-05-30T16:17:31.772-07:002010-05-30T16:17:31.772-07:00great work man..i just would like to know how do w...great work man..i just would like to know how do we authorize roles for users after loginAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-8149701797239756792010-06-25T21:43:02.614-07:002010-06-25T21:43:02.614-07:00i made connection between both my asp page and sql...i made connection between both my asp page and sql server..but when i execute it shows an error on the term "con.open"..plz give me the solution.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-91071282645956953852010-07-11T21:37:00.675-07:002010-07-11T21:37:00.675-07:00i have one problem actually i make a project in .n...i have one problem actually i make a project in .net n i have one problem in my project a data entry from is present so many enteries like sender and receiver detail is present them my form is not look well so i want user fill this entry in step but data save in same table then plz tell me solution of my problempinkyhttp://www.blogger.com/profile/15630341977768654201noreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-47920000669633989482010-07-15T04:29:38.052-07:002010-07-15T04:29:38.052-07:00you can use sessions to store values on one page a...you can use sessions to store values on one page and insert all values at one page.... if i got time i vll show you through a video <br><br>Thanksemmuhttp://www.blogger.com/profile/11382496746783234614noreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-60344921389972485972010-08-04T06:44:16.523-07:002010-08-04T06:44:16.523-07:00i have a one problem in my project display table d...i have a one problem in my project display table data in form using gridview but in <br>table countryid are stored i want to display a country name in grid <br>view and that country name stored in xml file then how to fetch the <br>country name in xml file plz give me solution through videoArchitahttp://www.blogger.com/profile/15630341977768654201noreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-46454136325223229832010-09-04T01:32:27.682-07:002010-09-04T01:32:27.682-07:00hai emmu..i am ram from chennai..im doins a 'p...hai emmu..i am ram from chennai..im doins a 'project online movie ticket booking'..i need a code and method for seat selection..im doing it asp.net with c# code..can u plz help me..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-23087170402533127252010-09-23T03:05:06.104-07:002010-09-23T03:05:06.104-07:00Thanks a lot..I have learnt a lot from ur tutorial...Thanks a lot..I have learnt a lot from ur tutorials..very useful..I have a request..Please put a tutorial on login using salted has algorithm and user roles..May God Bless you..shahinanoreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-80235998142068664132011-01-06T09:20:04.871-08:002011-01-06T09:20:04.871-08:00I have followed your tutorial but I can not login ...I have followed your tutorial but I can not login with the correction login details. Wrong password error shows all the time. Can you help?<br><br>My code is below, I can't see any difference between your code and mine!<br><br>using System;<br>using System.Collections.Generic;<br>using System.Linq;<br>using System.Web;<br>using System.Web.UI;<br>using System.Web.UI.WebControls;<br>using System.Data.SqlClient;<br><br>public partial class login : System.Web.UI.Page<br>{<br> protected void Page_Load(object sender, EventArgs e)<br> {<br><br> }<br><br> SqlConnection con = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=C:\\Users\\Documents\\Visual Studio 2010\\WebSites\\forum\\App_Data\\forum.mdf;Integrated Security=True;User Instance=True");<br> SqlCommand cmd;<br> SqlDataReader dataReader;<br><br> protected void Button1_Click(object sender, EventArgs e)<br> {<br> con.Open();<br> cmd = new SqlCommand("SELECT Password FROM members WHERE Username='" + txtUsername.Text + "'", con);<br> dataReader = cmd.ExecuteReader();<br> if (!dataReader.Read())<br> {<br> Response.Write("Wrong Details");<br> }<br> else <br> {<br> if (dataReader[0].ToString() == txtPassword.Text)<br> Response.Redirect("index.aspx");<br> else<br> Response.Write("Wrong Password");<br> }<br><br> }<br>}Paulnoreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-84359952511531863392011-01-07T04:34:06.592-08:002011-01-07T04:34:06.592-08:00Is should work Paul check your Database Values?Is should work Paul check your Database Values?emmuhttp://www.blogger.com/profile/11382496746783234614noreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-38180925784518326802011-03-19T06:31:42.570-07:002011-03-19T06:31:42.570-07:00Hi Emmu,can u plsz help me to find wats wrong with...Hi Emmu,<br>can u plsz help me to find wats wrong with the code......<br> SqlConnection con = new SqlConnection(@"Data Source=HARISHPRAVEEN\SQLEXPRESS;Initial Catalog=flavourzsfoods;Integrated Security=True");<br> SqlCommand cmd;<br> SqlDataReader dr =null;<br><br><br> protected void Button1_Click(object sender, EventArgs e)<br> {<br> con.Open();<br> cmd = new SqlCommand("SELECT * FROM login WHERE username= '" + TextBox1 + "'", con);<br> dr = cmd.ExecuteReader();<br> if (!dr.Read())<br> {<br> Label1.Text = "Wrong detials";<br><br> }<br> else<br> {<br> if (dr[0].ToString() == TextBox2.Text)<br> Response.Redirect("makeorder.aspx");<br> else<br> Label1.Text = "Wrong detials";<br><br> }<br> }harishnoreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-59486689950747923142011-03-19T06:37:47.485-07:002011-03-19T06:37:47.485-07:00hi emmu,i posted the above comment....Even i enter...hi emmu,<br>i posted the above comment....<br>Even i enter the correct details it shows as "wrong detail ".......<br>plsz help meharishnoreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-89286528094171506332011-04-05T15:37:38.497-07:002011-04-05T15:37:38.497-07:00hi emmu,i am following you from last two months. i...hi emmu,<br><br>i am following you from last two months. i have learned a lot but i have a small problem i am not getting the sql server 2008 browser. i have configuration tools as configuration manager,installation tools but i am not getting web browser can you please let me how to get the browseraahttp://www.blogger.com/profile/16114954861644046959noreply@blogger.comtag:blogger.com,1999:blog-6159625330036671738.post-71467248006375776332011-04-09T11:51:15.492-07:002011-04-09T11:51:15.492-07:00SqlConnection con = new SqlConnection("Data S...SqlConnection con = new SqlConnection("Data Source=AFVAN;Initial Catalog=login;Integrated Security=True");<br> SqlCommand cmd;<br> SqlDataReader dr;<br> protected void LinkButton1_Click(object sender, EventArgs e)<br> {<br> string un = "";<br> un=TextBox1.Text;<br> con.Open();<br> Response.Write("connected");<br> cmd = new SqlCommand("select * from login where username='un'",con);<br> dr=cmd.ExecuteReader();//error here that the connection property is not initialised<br> if (dr.Read())<br> {<br> Label1.Text = "USERNAME AVAILABLE";<br><br> }<br> else<br> {<br> Label1.Text = "NOT AVAILABLE";<br> }Anonymousnoreply@blogger.com