I have a form that updates data in a table. How do i make the updated data show in the form when i come back to it. vb.net.
View Complete Post
I am using this WebBrowser component in a C# project.
I have declared and use "_wb" as shown below::
string httpcmd = @"https://...........";
System.Windows.Forms.WebBrowser _wb = new System.Windows.Forms.WebBrowser();
_wb.ScriptErrorsSuppressed = false;
Uri myuri = new Uri(httpcmd);
_wb.Url = myuri;
while (_wb.ReadyState != System.Windows.Forms.WebBrowserReadyState.Complete)
The above code in within a class.
Once my program uses the above code once, it then does seem possible to change.
i.e. After the first iteration, nothing changes each time the code is run.
The DocumentText property I reference stays the same once it is set.
It is like the URI is not even re-sent.
Only if I close the application and then re-run then the webbroweser will update as desired.
I have seen many references to this problem but have not been able to resolved it.
Can anyone suggest how to get this componet to reset or clear so it behaves like I have re-run the application?
Hi to every body.
Note: I use Windows Application not Web Application.
I am programming a database(Library database) program whit C# and SQL Server. I have a Tabel suppose that
tblBook that show the information about my library books. I have a
MainForm that have a Datagridview that linked to my tblBook and show my Books information that inserted in tblBook. in Main Form I have a Button that open another Form(Name is
frmNewBook) for inserting information about a new Book in my tblBook. when I open frmNewBook by that Button and insert a new record at this time I want the Main Form automaticaly Update and the Datagridview show also new record information
automaticaly by closing the frmNewBook Form or by Pushing the button(Save New Record.) that's my question.
thank a lot Saeed.