Elance Exams Answers PDF file

-- PDF FILE --
Download PDF file of elance Zoho Creator Exam Answers
elance-zoho-creator-exam.pdf

Your Web application should facilitate posting of user comments that must remain visible to all application users. Your code will make use of a SqlDataSource control named SqlDataSource1 and allow the IP address of every user who posts a comment to be captured. Which is the correct way to start your code?

private void SaveComment(){ string ipaddr = null; ipaddr = Request.ServerVariables("REMOTE_ADDR").ToString(); // ...
private void SaveComment(){ string ipaddr = null; ipaddr = Request.ServerVariables("REMOTE_ADDR").ToString(); SqlDataSource1.Insert(); // ...
private void SaveComment(){ string ipaddr = null; ipaddr = Request.ServerVariables("REMOTE_ADDR").ToString(); SqlDataSource1.InsertParameters("IPAddress") = ipaddr; // ...
private void SaveComment(){ string ipaddr = null; ipaddr = Request.ServerVariables("REMOTE_ADDR").ToString(); SqlDataSource1.InsertParameters("IPAddress").DefaultValue = ipaddr; // ...
Top
  • Follows us our servcies
  • Facebook icon
  • Linkedin icon
  • twitter icon
  • rss icon
  • social icon