Code:Dim cmd As New SqlCommand("SELECT NAME,SEX, ADMNO,STDTYPE,AGE,Phone,address FROM Student") StudentGrid.DataSource = Me.ExecuteQuery(cmd, "SELECT") StudentGrid.DataBind() 'Required for jQuery DataTables to work. StudentGrid.UseAccessibleHeader = True StudentGrid.HeaderRow.TableSection = TableRowSection.TableHeader End If
i would want immediately after entering a record it should display by date so that the other end user can see that a record has been inserted