Dear jmeckley, thanx for your awnser....
There isn't any error message...just doesn't update.
The db requires text for telephone....
The mystery is that when I don't put the "telephone", the query works...
Hi,
I have the following code:
The update works when I've not the telephone field...and when I put it...doesn't.
Do you have any idea?
Private Sub DataGrid1_UpdateCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles DataGrid1.UpdateCommand...
Hi all,
:::::In users.aspx page I have the following:
Private Sub Linkbutton4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Linkbutton4.Click
Dim user As String
user = txt2.Text
Dim pass As String
pass = txt3.Text...
thax bigtimmin for your answer.
I looked up your reference but I didn’t find any solution….
Until now I have:
PrivateSub btnShowValues_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnShowValues.Click
Me.TextBox1.Text = ""
Dim rd As XmlReader =...
Hi to all,
I‘ve a XML like the following:
<rss version="2.0">
<channel>
<title>TEST</title>
<link> </link>
<description> </description>
<language>En</language>
<webMaster> </webMaster>...
Hi to all,
I have 2 tables checking for correct username & password, something like that:
Private Sub btnlogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnlogin.Click
Dim username As String
Dim password As String
username =...
Hi to all,
I have a .aspx page and with a linkButton I have:
Dim LblKey As String
LblKey = txt1.Text
Response.Redirect("frameset.htm?Key=" + Server.UrlEncode(LblKey))
In the frameset.htm I have:
<frame name="header" src="menu.aspx" scrolling="no" noresize>
<frame name="main"...
thanx four your help...
The .Tag property is a good idea, but how can I use the
"If statment"?
Something like that
Private Sub DataGrid1_DblClick()
If frmImportsForm.Tag = 1 Then
frmAnalysisDetails.Text11.Text = Me.Text1.Text
else
frmImportsForm.Text6.Text = Me.Text1.Text
End If
Unload Me...
Sheco thanx for your replay
Lets say, I have already frmAnalysisDetails loaded.
If i use the .visible property the "If" statment dosen't work what fires both forms
Any other idea?
Thanx in advanced
Hello to all,
I have a main form with a datagrid,
frmImportsForm & frmAnalysisDetails
How I Know which form is open (frmImportsForm OR frmAnalysisDetails), in order to pass a value?
I suppose my question is very simple.
Private Sub DataGrid1_DblClick()
If frmImportsForm.Hide = True (something...
thanx to all for your kind replay.
I made the changes but I have the same error.
"Syntax error in UPDATE statment"
Also, the line "MyCon = New OleDb..." end with &", because
I have also a Access password after that..
Any suggestion?
Thanx
Yes the error is on the "MyCommand.ExecuteNonQuery()"line
The problem is that I can "Insert" or "Delete" if I change the Sql statment but I can't "Update"
Any Idea?
Thanx
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.