No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Re: Hi , Try this code, it is running on my site. [CODE] Dim con As New OleDb.OleDbConnection Dim sql As String Dim dr As OleDb.OleDbDataReader Dim cmd As New OleDb.OleDbCommand Dim cmd1 As New OleDb.OleDbCommand Dim findID, newID As String Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) … | |
Re: Hi Your Database Table field name is “Name” this is not valid or Name is a keyword so, rename that field by Pname or something. Replace ds.Tables(“K_S”) to ds.Tables("tblBorrower") Replace da.Update(ds, "K_S") to da.Update(ds, "tblBorrower") Try this , your code will work. If it works then please let me know. … | |
Re: Hi , Try this code , this is only for 6 images. You can take more images too. If it works then let me know . Thanks Solution Expert [CODE] Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Timer1.Start() End Sub Private Sub Timer1_Tick(ByVal sender As … | |
Re: Hi, The code cnt = dr(0).ToString + 1 will change the EmployeeCode . Not sure the employee code is based on sequence numbers or in series . You can use the existing code provided cnt and next employeecode is same. You can also try dr.NextResult provide you return multiple records. … | |
Re: please replace the following code [CODE]If username = sqlUserName Then Response.Redirect("index.asp") End If[/CODE] with [CODE]Dim strUser as string ="" strUser = com.ExecuteScalar() If username = strUser Then Response.Redirect("index.asp") End If[/CODE] Thats all ... Let me know if it works. Thanks VJ |
The End.