-
Datagrid not supported Refresh after add, delete, ... ?
suppose I have database access:
Dim Conn As ADODB.Connection
Set RS = Nothing
Set RS = New Recordset
Set Conn = New ADODB.Connection
Conn.Open ConnectionStringHere
RS.Open "SELECT Fields " & _
"FROM Table WHERE Whatever = ?"
Conn, adOpenStatic, adLockOptimistic
Datagrid.DataSource = RS
when you perform the insert, delete, add new data, datagrid refresh the data can not although I have to use appearance Datagrid.Refresh new data is entered but does not appear, check the data in have access but do not anticipate new output datagrid except close all open programs to emerging new data on the grid, the operations insert, delete, add items via the command. Execute (strSQL ), why not refresh the datagrid? and how to fix?
-
Try clearing the grid and reloading it from the database.
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
Similar Threads
-
Replies: 14
Last Post: 11-10-2009, 09:39 PM
-
By Karthik.P in forum Web
Replies: 0
Last Post: 01-26-2003, 10:19 AM
-
By Giovanna in forum ASP.NET
Replies: 1
Last Post: 10-04-2001, 12:10 PM
-
By giovanna in forum ASP.NET
Replies: 0
Last Post: 03-27-2001, 08:59 AM
-
By koshy in forum ASP.NET
Replies: 2
Last Post: 11-27-2000, 06:52 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks