Jump to content

Damodar

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Damodar

  • Rank
    Newbie
  • Birthday 10/12/1954

Previous Fields

  • Languages
    ASP beginner.

Profile Information

  • Location
    Mumbai, India
  • Interests
    Maths, Chemistry, Microbiology, Astronomy, Painting, Sculpting, Trekking and obviously reading.
  1. Sir; I changed dropdown to check boxes. I tried below given code. It works but in a strange manner. In my dummy database I have 9 students. Data gets inserted 9 times but in every row of the SQL table I get nine names of the students separated by a comma in first column,nine entries of PRESENT,ABSENT,LATE etc in the second column separated by commas etc. This repeats nine times consuming 9 rows.The code is shown below. Thanks for the valued support. Regards DAMODAR =================================== <% dim i%> <%ses=session("username") if ses="" then Response.redire
  2. Sir; As asked by you I am submitting the code. ======================================================================= <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="EditPlus"> <META NAME="Author" CONTENT=""> <META NAME="Keywords" CONTENT=""> <META NAME="Description" CONTENT=""> </HEAD> <!--#include file="session/nosession.asp"--> <!--#INCLUDE FILE="connect/dataconnectivity.asp"--> <BODY onload="dynAnimation()" backgroun
  3. Dear All; Need your help. I am programming students' roll call in ASP with SQL 2008 R2. There are about 100 students. By default option selected is 'Present' using drop down list. I tried to use radio buttons but only one button remains selected so I am using drop-down list ( How to select multiple radio buttons?). After selecting "Present", "Absent","Late" etc, how do I insert all 100( or whatever number) of rows in the SQL table simultaneously? How should I use "for", "loop" or any other method? Please guide. Regards DAMODAR
  4. Sir; I have developed a website for my Department of Science, which recently is hosted in USA. The website is programmed not to accept any form submissions after 8 pm. Also it gets redirected to "Site is down" page on Saturdays and Sundays. It was OK while the site was over in-house server. Now that its in USA, because the time zone now is different, it does not accept the forms after 8 pm in USA, which is 8 am here in India. Site does not accept forms from 8 am to 12 noon here in India. Also weekend redirect to "Site is down" is of no use due to date being different in USA and in India.
  5. Dear Duotone Fox; Thanks a lot. It was really silly on my part not to realise the mistake. It is nice of you to point it out. It solved my problem.THANK YOU.
  6. Sir; I am developing student muster roll for my school.See below given part of the files for the problem that I am facing. 1) grade_details.asp : ( Form with the values ) <%Do while not Rs.EOF if grade = Rs("student_homegrade") then Response.Write "<OPTION NAME = stuid VALUE = '" & RS("student_id") & "' SELECTED>" 'stuid is not passed to enter_stu_recs.asp. I am making mistake somewhere. Please guide. Response.Write replace(Rs("student_name"),"""","'") & "</Option>" Rs.MoveNext else Response.Write "<OPTION NAME = stuid VALUE = '" & RS("student_id"
  7. w3schools is one of the best educational website with simple but soothingly attractive design. Functionality is superb too.

  8. Thanks a lot. I will surely let you know once I use your code. Thanks once again.
  9. Thanks a lot. I will surely let you know once I use your code. Thanks once again.
  10. Dear All;I am designing student roll muster for my school using ASP. I know how to insert one record at a time in SQL table but this would not be convenient. What I need is like this....If there are X students in a given grade then this data should be fetched from the student master table and shown in a form with X radio buttons against names of each student. Teacher then will select "Absent" against the students who are absent on that day. After submitting this form ALL the rows with "Present" and "Absent" status should enter simultaneously in a table called "Student_roll_details".I know how
×
×
  • Create New...