Lesson 8: Working with the GridView and FormView

I have follow this lesson 8, by creating GridView and FormView, however I cannot do any editing or deleting my record.

At the sametime, I have another question. There are two tables which need to be combine to insert new records, and update records. How do I do As I have use "INNER JOIN" in my SELECT statement, but there is nothing when click on 'edit' / 'delete' / 'new'.

Kindly help!

Thank you.

 



Answer this question

Lesson 8: Working with the GridView and FormView

  • David Frendin

    Can't help with the 2nd question but..

    I may be wrong since I don't do this type of programming (imagine that) but there may be property (aka setting) somewhere there that enables updates (insert delete etc) to the backing DB. Normally I imagine this is not enabled because that will allow some optimization for how the database if read if it is already known you are only going to read and not update it. So I'd to see all the related types in documentation for interesting sounding properties.


  • Lee Edlefsen

    Hi Androidi, you mentioned in your reply that I have to go to the property (aka settings) that enables updates to backing DB. Can you tell me how, and where Please help!!!

    Thanks.


  • SLang

    Hi Androidi, thanks;  I have followed all the settings, and the instructions that was taught in the video. Can you please guide me where and how to enable the 'backing DB' Kindly help.

     

    By the way, I went to "Lesson 9:  Securing your Web site with membership and login controls" to work on my 'login.aspx' page, that is where the Gridview and Formview that I couldnot 'Edit' or 'Delete'.

    Is it that after created login page That the "ASP.NET Configuration" has been modified.

    Please help me, as I am new.

    Thank you.


  • Lesson 8: Working with the GridView and FormView