Tag Archives: TreeView

Refresh TreeView after insert/update/delete ?

Wrong solution : DataBind() BEFORE close()         TreeView1.DataBind()         con.Close() Right solution: In btnListtAdd_Click :   To get the ID         Dim lastID As String = “Select @@Identity”         Dim getID As Integer         ‘this is to get last ID … Continue reading

Posted in Databases, Programming, SQL-Server, VB.NET | Tagged , , , , , | Leave a comment