Survey Forums

HomeHomeSurvey Project ...Survey Project ...DevelopmentDevelopmentextremely puzzled, how does button work, which code said it is stored in databaseextremely puzzled, how does button work, which code said it is stored in database
Previous
 
Next
New Post
6/11/2015 6:08 AM
 

I would like to use thesurveyproject to LEARN some asp.net

 

I got extremely puzzled

 

first, IT DOES WORK perfectly

when I create a new question, InsertQuestion module

it does stored in the database (webconfig got the connection) -- as QuestionText column (my survey question ) is definitely there

 

==== therefore, I am trying very hard (no result) to learn FREETEXTBOX (those html rich editor) ==

 

I look the whole entire solution (running correctly), I cannot find the code that store the (my Survey Q text) to QuestionText field

 

the closet (that I got) is stored procedure called 

ALTER PROCEDURE [dbo].[vts_spQuestionChildAddNew]
@ParentQuestionID int,  ..

 

 

@QuestionText nvarchar(4000), 
@QuestionID int OUTPUT.....

 

CAN you tell me where is the code, that WILL DO THE TASK of INSERT a new SURVEY question or anything to do with the freetextbox (I am flexible in choosing which bit to learn)

the button --- NOPE, not there

the ID of freetextbox --- NOPE, not there, it just said run at server, this bit mean nothing

 

so WHERE is the code of any of the BUTTONS action (whichever buttons, I don't mind; not necessary to be INSERT QUESTION text)

 

thank you and can you trace it for me ??

 

 
New Post
6/11/2015 12:39 PM
 

I still have NO ANSWER< no clues, it really puzzle me

 

 

I know , there MUST BE some  INSERT (e.g. new survey question) and SELECT statement

 

I even LOOK INTO the store procedures name

and look into  asp.net with LINQ sql statement

 

using those keyword, to search ENTIRE solution (with control-shift-F)

 

now, I still have zero clues on how the program modify or read from the database, to provide survey creation and survey reading

 

 

if you are reading this,  please HELP, I exhaust of all my knowledge to find out (learn some asp.net only) to know how does this software work

 

-- if you know asp.net, visual studio or sql server quite well, reply here, I will tell you how to install this surveyProject,  it does really work on IE, but I just don't know how does the c# code modify the database -- I want to give up in searching now, I am exhausted and end in no-where (the software work very well, so I know the tips , milestone on how to INSTALL IT , successfully)

 
New Post
6/11/2015 3:22 PM
 

Hello,

We appreciate your effort to learn asp.net through the SP tool. First tip would be to study the asp.net, C# language and the Visual studio tooling thoroughly and then  use the SP code to test and try your knowledge. 

Concerning the way stored procedures are called from the code: check the Nsurvey_SqlServerDAL project. This is where all stored procedures are called from.

Concerning Freetextbox: it is no longer used as the html/txt editor. It has been replaced by the CKEditor. Check the SurveyWap/ scripts/ckeditor directory to find the files.




 
Previous
 
Next
HomeHomeSurvey Project ...Survey Project ...DevelopmentDevelopmentextremely puzzled, how does button work, which code said it is stored in databaseextremely puzzled, how does button work, which code said it is stored in database