I have Gridview Control bound to SqlDataSource control.
When I click Edit button I go out to another form to edit underlying Sql Database .
After saving changes to database how do I get Gridview to refresh and show latest change?
I've tried Gridview.DataBind() with no success.
Need assistance...
I have some code I'm converting from VB6 and am experiencing problem passing a structure to a function call parameter.
Function dataBuffer (DB) parameter in VB6 is passed "AS ANY"
Declare Function BtrCall Lib "wbtrv32.dll" Alias "BTRCALL" _
(ByVal OP%, _
ByVal PB$, _
db As Any, _...
The following code does not find record to be updated.
If however I change WHERE Recnum=@RecNum to WHERE Recnum=1 and remove parameters referencing @Recnum it will update record 1.
What am I doing wrong here?
StrSql = "UPDATE Equipment SET TimeStampCol =@TimeStampCol," & _...
Have Access Database and "TimeStamp" field defined as Date/Time Data Type.
In my VB.Net Code I get error on ExecuteNonQuery saying that "Syntax error in INSERT INTO statement."
If I remove the code relating to TimeStamp program runs without error.
I have read that there's some problem with...
Am migrating VB6 to VB.Net and am stuck once again.
We use App.HelpFile in vb6 to set Path and Filename of current help file.
Current help File can change depending on which form is displayed.
How do we assign help files in VB.net?
Sample VB6 Code:
Sub SetHelp(NewHelp As Integer)
'Set...
Am converting a VB6 project to VB.Net and need help with "AS ANY" type declaration in a function declaration.
Example:
Declare Function BtrCall Lib "wbtrv32.dll" Alias "BTRCALL" (ByVal op%, ByVal PB$, db As Any) as integer
I know As Any is invalid in VB.Net
Most of the calls to this...
Have been working with VB6 for 10+ years and now must convert some programs to .Net.
Can I use my existing OCX components or must I re-design my entire user interface?
I know there is a "Code Advisor" that will scan my code and suggest ways to use inline code with .NET but concern is calls to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.