No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Im having problems with my ms acess sql command, well im trying to get the last value from the database here is my code, the error is ORDER BY clause syntax error.. [code] data.Open() record.SelectCommand = New OleDbCommand("SELECT PatientID FROM PatientRecord ORDER BY PatientID desc LIMIT 1", data) Dim ds … |
|
Im having problems with my insertcommand using odbcadapter, it doesnt insert the information I needed.. But the selectcommand works fine, only the insertcommand that is having problems.. heres my code.. [code] Private Sub cmdLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdLogin.Click a = Trim(txtStudNo.Text) If Trim(txtStudNo.Text) = "" … |
|
Im having arrayoutofbounds error on my code. [code] import java.io.*; class s{ public static void main(String args[]) throws IOException{ BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); String[] a = {"X","C","O","M","P","U","T","E","R","S"}; System.out.println("Enter Price: "); String b = in.readLine(); for(int i=0;i<b.length();i++){ System.out.print(a[b.charAt(i)]); } } } [/code] what am i doing wrong here? The output should … |
|
Hi. Can anyone give me online resources regarding VB.net manipulating Remote Computers and Office applications? I have been searching the web for the right resources but I havent found any. Thank you for those who could give me links.. |
|
Hi. Can anyone help me on my code? I wanted to delete a data inside a array, so what I did was to move the the array into another array without the one that is to be deleted. It is working if the user only wants to delete a single … |
|
I have problem with my small vb program, just started to learn VB this week. [code] Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim s As String With record s = "SELECT * FROM user1" record.Open(s, data) If TextBox1.Text = record.Fields(0).Value And TextBox2.Text = record.Fields(1).Value … |