Click here to Skip to main content
15,881,248 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Please give the me the Ruby on rails tutorials link Pin
Vimalsoft(Pty) Ltd1-Sep-09 3:39
professionalVimalsoft(Pty) Ltd1-Sep-09 3:39 
QuestionProblem with break point Pin
rinku soni 231-Sep-09 0:54
rinku soni 231-Sep-09 0:54 
AnswerRe: Problem with break point Pin
Vimalsoft(Pty) Ltd1-Sep-09 2:40
professionalVimalsoft(Pty) Ltd1-Sep-09 2:40 
GeneralIE 8 may be the problem Pin
David Mujica1-Sep-09 2:48
David Mujica1-Sep-09 2:48 
GeneralRe: IE 8 may be the problem Pin
Vimalsoft(Pty) Ltd1-Sep-09 2:54
professionalVimalsoft(Pty) Ltd1-Sep-09 2:54 
GeneralMy bad Pin
David Mujica1-Sep-09 2:59
David Mujica1-Sep-09 2:59 
GeneralRe: My bad Pin
Vimalsoft(Pty) Ltd1-Sep-09 3:05
professionalVimalsoft(Pty) Ltd1-Sep-09 3:05 
Questionasp/database Pin
rajiv_kadam31-Aug-09 21:41
rajiv_kadam31-Aug-09 21:41 


Home >> New Token Creation





New Token Creation






Please Fill the Following Details

<%

sql="Select * from user order by name"
Opendatabase conn
Set rsUserInfo = Server.CreateObject("ADODB.Recordset")
rsUserInfo.open sql,conn,1,1

if rsUserInfo.eof=true then
response.Write "
No User, So you Can't assign the token.!!
"
response.End()
end if

if request("step")="1" then

er=""
username = request("username")
issue = request("issue")
if issue="" then er = er & "Please Enter The Issue, Issue can't be blank.
"

if username="" then er = er & "Please select Username.
"
flg=1
response.Write("username is" & username & "
")
response.Write("issue is" & issue)

if er="" then
'response.Write("comes")
sql="select * from user where username='"& trim(username) &"' limit 1"
Set rsAssign = Server.CreateObject("ADODB.Recordset")
rsAssign.open sql,conn,1,1
' response.Write("second")
if rsAssign.eof<>true then
' response.Write("comes here")
'sql="insert into tokeninfo (issue,userid) values ('"& issue &"',"& rsAssign("id") &")"
sql="update tokeninfo set issue='" & issue & "',userid=" & rsAssign("id") & ""
conn.execute sql
flg=0
response.Write("flag is "& flg)
response.Write "
Token is Created Successfully.
"
'response.End()
rsAssign.movenext
end if
else
response.Write "
"& er &"
"
end if

end if
%>


Issue


Please Select Name
<%
while rsUserInfo.eof<>true
%>
"><%=rsUserInfo("username")%>
<%
rsUserInfo.movenext
wend
%>












when i click on a button the issue field in table tokeninfo does not get save. and if i didnt write anything in textarea then it is not
showing me error please enter the issue ,instead it show token created
successfully . plz help
AnswerRe: asp/database Pin
Vimalsoft(Pty) Ltd1-Sep-09 2:38
professionalVimalsoft(Pty) Ltd1-Sep-09 2:38 
QuestionHow to connect a phone to computer in asp.net Pin
kareemmahammed31-Aug-09 21:22
kareemmahammed31-Aug-09 21:22 
AnswerRe: How to connect a phone to computer in asp.net Pin
Marc Firth31-Aug-09 22:20
Marc Firth31-Aug-09 22:20 
QuestionWeb Large Select Statements Pin
mark_me31-Aug-09 8:26
mark_me31-Aug-09 8:26 
AnswerRe: Web Large Select Statements Pin
Abhishek Sur31-Aug-09 12:39
professionalAbhishek Sur31-Aug-09 12:39 
GeneralRe: Web Large Select Statements Pin
mark_me31-Aug-09 14:05
mark_me31-Aug-09 14:05 
GeneralRe: Web Large Select Statements Pin
Abhishek Sur31-Aug-09 23:09
professionalAbhishek Sur31-Aug-09 23:09 
GeneralRe: Web Large Select Statements Pin
mark_me1-Sep-09 5:11
mark_me1-Sep-09 5:11 
NewsFree Design, Development Software for College & High School Students Pin
brucedkyle31-Aug-09 7:31
brucedkyle31-Aug-09 7:31 
QuestionCan't Load Date Control Error Pin
kKamel30-Aug-09 20:17
kKamel30-Aug-09 20:17 
AnswerRe: Can't Load Date Control Error Pin
Abhishek Sur31-Aug-09 12:49
professionalAbhishek Sur31-Aug-09 12:49 
GeneralRe: Can't Load Date Control Error Pin
kKamel31-Aug-09 19:44
kKamel31-Aug-09 19:44 
GeneralRe: Can't Load Date Control Error Pin
Abhishek Sur31-Aug-09 21:54
professionalAbhishek Sur31-Aug-09 21:54 
GeneralRe: Can't Load Date Control Error Pin
kKamel1-Sep-09 0:12
kKamel1-Sep-09 0:12 
QuestionInterfacing Action Script with VB 6.0 Pin
b2cc29-Aug-09 7:02
b2cc29-Aug-09 7:02 
QuestionSetups for windows or web Application Pin
lavankumar28-Aug-09 23:30
lavankumar28-Aug-09 23:30 
AnswerRe: Setups for windows or web Application Pin
Arindam Sinha29-Aug-09 1:36
Arindam Sinha29-Aug-09 1:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.