Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~15.6K People Reached
Favorite Forums
Favorite Tags

13 Posted Topics

Member Avatar for Noorul Ariff

wanna ask. where should i placed the validation. i mean the code to check whether the record is exist or not Public Sub doSave() Dim con As New OleDb.OleDbConnection(My.Settings.KK3DB) Dim com As New OleDb.OleDbCommand Dim adap As New OleDb.OleDbDataAdapter Dim ds As New DataSet con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\backup project\KK3MailingSystem\KK3MailingSystem\KK3MailingSystem\db\KK3MailingSystem.mdb;Persist …

Member Avatar for Steffany
0
8K
Member Avatar for Iamateur
Member Avatar for kingsonprisonic
Member Avatar for fkatan

can you help me how to save new data in datagridview. let say, i'll fill data in other form then it'll save and display into datagridview.

Member Avatar for harsh01ajmera
0
3K
Member Avatar for mie.ilani

how to get the current row after save and editing row. what code should be addded after this code below con.Open() a = strn.ExecuteNonQuery MsgBox("Updated") adap = New OleDbDataAdapter("select * from Parcel", con) adap.Fill(ds, "1") ParcelDataGridView.DataSource = ds.Tables("1")

Member Avatar for lolafuertes
0
101
Member Avatar for mie.ilani

Dim MaxVal As Integer For a = 0 To DataGridView1.RowCount - 1 If MaxVal < DataGridView1.Item(DataGridView1.ColumnCount - 1, a).Value Then MaxVal = CInt(DataGridView1.Item(DataGridView1.ColumnCount - 1, a).Value) End If Next MsgBox("The Optimum Value is " & MaxVal, 1, "Optimum Choice")

Member Avatar for mie.ilani
0
161
Member Avatar for mie.ilani

anyone can help? i want to check whether the data has been exist or not. but its shows some error in this code. error :No value given for one or more required parameters. Public Sub doSave() Dim con As New OleDb.OleDbConnection(My.Settings.KK3DB) Dim cmd As New OleDb.OleDbCommand Dim adap As New …

Member Avatar for mie.ilani
0
110
Member Avatar for mie.ilani

anyone can help me? my login doesnt work smoothly. i want to login based on Username, Password & Category. So that, if the user is Admin all data can be access, while if user is Staff, only few data can be access. Public Sub DoLogin() Dim strsql As String Dim …

Member Avatar for mie.ilani
0
130
Member Avatar for mie.ilani

Hye, i got problem while saved the record. here is my code. Imports System.Data.OleDb Imports System.Data Imports System.Configuration Public Class Form2 Shared STAFF As Form2 Function GetInstance() If STAFF Is Nothing Then STAFF = New Form2 ElseIf STAFF.IsDisposed Then STAFF = New Form2 End If Return STAFF End Function Private …

Member Avatar for poojavb
0
129
Member Avatar for mie.ilani

i have problem with query the database. i want to add data into two table that share same Primary key. here my code error message :The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the …

Member Avatar for Reverend Jim
0
346
Member Avatar for mie.ilani

need help! Public Sub emailNotification(ByVal strTo As String, ByVal strFrom As String) Try If strTo Is Nothing Then MessageBox.Show("Please Check Email") Else Dim [to] As New MailAddress(strTo) Dim [from] As New MailAddress(strFrom) Dim message As New MailMessage([from], [to]) message.Subject = "Parcel Info No: (" + txtTracking.Text + ")" message.Body = …

Member Avatar for Oxiegen
0
161
Member Avatar for aminevb

hye! since i'm a new members, can anyone help me. what query should i used to join the table example LOGIN table with REGISTRATION table. then where should i store the query? im using vb 2010 + microsoft access 2003 here's the details about my data table. ** LOGIN : …

Member Avatar for Begginnerdev
0
92
Member Avatar for bigzos

The End.