No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Our prof gave us this code Dim sql As String sql = "INSERT INTO OrderDetails" _ & "(orderid,prodid,price,qtyordered,amount,status)VALUES(" _ & "'" & OrderDetail.Orderid & "','" & OrderDetail.Prodid & "'," _ & "'" & OrderDetail.Price & "','" & OrderDetail.Qtyordered & "'," _ & "'" & OrderDetail.Amount & "','open')" I know this … |
|
I would like to retrieve the ID number for that row that was just inserted into the database. [CODE]Dim Enrollment As New Enrollments With Enrollment .Student_ID = CInt(lvwStudents.FocusedItem.Text) .Enrollment_Date = CDate(dtpDate.Text) End With EnrollmentBAL.Save(Enrollment) [/CODE] I have this code to save it from the database, what I want to do … |
|
So i am currently working on a project about enrollment system and I am having a problem with transferring items from one listview to another. I've been stuck on this problem for a while now. And I'm wonder if you guys and help me out. Here's a photo: [ATTACH]23978[/ATTACH] I … |