Click here to Skip to main content
15,917,565 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I was working on a site which acts just like naukri. students can register and apply for jobs posted in the site. employees of respective company can posts job.One problem arising with students is that they do not completely read the details of the job post but blindly apply.In order to avoid this we thought of doing something.
step 1: student comes to home page.
step 2:go through the job profile and click apply, once they click apply they would get a page with 5 questions regarding the job details.

For this page to happen i made a simple trick. I created a check box beside the job posts fields(like job title,joblocation..) so that if i tick tht checkbox,that particular field turns as a question.
For example:

If i execute jobposts.cs, I will get a page which is just like a registration form.Fields would be like

company name:
job title:
job location:
is there any bond:

some other questions like this.

now what i did is i created a checkbox beside each field(ex:company name,job title etc)
if tick the check box beside job title field, it should display "what is the job title?" question to the student who is applying for that job.

i am unable to write code for this

would somebody help me??
Posted
Updated 30-Jan-12 23:04pm
v3
Comments
Herman<T>.Instance 31-Jan-12 4:21am    
what code you are unable to write? C# code for the page or sql for the mYsql database
sreelatha6 31-Jan-12 4:25am    
C# code
[no name] 31-Jan-12 4:34am    
Please hit on "Improve question" and add more relevant tags to the question.

1 solution

C#
private void CheckBox_CheckedChanged(object sender, System.EventArgs e )
     {
        //your code to show question

     }


Regards,
@iamsupergrasya
 
Share this answer
 
Comments
sreelatha6 31-Jan-12 5:09am    
thank you for the reply... i tried writing the entire fun... but the o/p was not as i expected.. i strucked with putting my logic in code...
graciax8 31-Jan-12 22:57pm    
i suggest do it as a button and not as check box. if done as a button. all you need is to do tricks like unhiding the question you would like the applicant to answer. maybe in a placeholder like a panel.

you can do it dude. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900