39 thoughts on “C# Asp.Net-Insert Update Delete and View With Sql Server Database

  1. https://goo.gl/RFY5C2 : Subscribe to CodAffection
    https://goo.gl/h7XY9G : Asp.Net MVC CRUD With jQuery
    https://goo.gl/sdqHqu : Asp.Net Login Page
    https://goo.gl/UoNfs4 : Asp.Net Grid Inline CRUD

  2. Server Error
    Line 80: <asp:LinkButton ID="lnkView" runat="server" CommandArgument='<% Eval("ContactID") %>'OnClick="lnk_OnClick">View</asp:LinkButton>

  3. Something wrong with this line
    <asp:LinkButton ID="lnkView" runat="server" CommandArgument='<% Eval("ContactID") %>'OnClick="lnk_OnClick">View</asp:LinkButton>
    Hlep me to resolve this problem

  4. Dear sir I have some error issues in my project…. I am ready to pay you fees if you solve my problem by TeamViewer. Thanks for the Tutorial.

  5. This tutorial was executed perfectly. I know have a working application, I have been exposed to some clean code and I have a lot to study. Thank you so much for making this!

  6. Hello sir!
    While doing practice of work you taught in above video, i faced a validation, "XHTML 5: Element 'columns' is not supported ", could you help me with that?

  7. YOU ARE SERIOUSLY A SAVIOUR! MY LECTURER ASKED ME TO DO THIS IN ONE DAY AND I THOUGHT ITS NOT POSSIBLE! BUT I DID IT CUZ I CLOSELY FOLLOWED YOUR VIDEO! THANKS A LOT 😀

  8. <asp:LinkButton ID="lnkView" runat="server" CommandArgument='<% Eval("id")%>' OnClick="lnk_onClick">view
    </asp:LinkButton>

    code: int id = Convert.ToInt32((sender as LinkButton).CommandArgument);

    error: Input string was not in a correct format.

    please sir solve error

  9. I tried this code so many times with using adapter/String etc.. but nothing happened and it has not shown to me any error message. Please solve my problem

    Code :

    con = new SqlConnection(@"Data Source=.SQLEXPRESS;Initial Catalog=mydb;Integrated Security=True");
    cmd = new SqlCommand("UPDATE tb1 SET name='" + TextBox1.Text + "', address='" + TextBox2.Text + "' WHERE id='" + Label2.Text +"'", con);
    con.Open();
    cmd.ExecuteNonQuery();
    con.Close();

    Nothing happened.. Please Solve
    Email Id : [email protected]

Leave a Reply

Your email address will not be published. Required fields are marked *