Hiiii Sr...Frank Here is an Explanation for your problem. Here is ur ui how it looks like. FirstName : Text-Box
LastName : Text-Box
UserID : Text-Box
Email ID : Text-Box
Password : Text-Box
now whenever u press the button Submit take all the values of the textboxes and pass it as ur input parameters to ur stored procedure and write down the following query in ur Stored Procedure. If Exist(select UserID from Users where UserID = @UserID) BEGIN SET @ErrorNo = 101 SET @ErrorMsg = "User ID already Exists" return ; END Note : Here @ErrorNo and @ErrorMsg are local variables created in Stored Procedure.
H
HardikSitapara
@HardikSitapara
Posts
-
Check "User ID" already exist or not when user move from "UserID" Text box! -
disabled buttons look enabled in firefox and chrome. what to doHiii sriharsha2410 Here is the solution for your problem... Do one thing whenever you disable button apply a CSS to that button named "cssDisable" and in that css change the color of the button or background of the same button. And Whenever you Enable that button apply another CSS to that buton named "cssEnable" and in that css change the color of the button or background of the same button as u want when it is enabled. Thank you.
-
using dropdownlist control in update panel control but no selectedindexchange event is firingtry this .... <asp:AsyncPostBackTrigger ControlID ="YourDropDownName" EventName ="YuorEventName" />
-
redirection problemtry this Response.Redirect("SmithChat.aspx?roomID=14", false);