Forum: VB.NET Jun 11th, 2008 |
| Replies: 3 Views: 386 Re: datagrid You could do something like this
Try
OPEN_CONNECTION
dataAdapter = New OLEDBDataAdapter(YOUR_QUERY_WITH_JOIN_COMMAND, CONNECTION)
commandBuilder = New... |
Forum: VB.NET Jun 11th, 2008 |
| Replies: 3 Views: 1,344 Re: Convert null from varchar to integer You could consider checking the data first like
if rs.fields("mp1").value = string.empty then
MP1T(hour, 0) = Convert.ToInt16(a NONE blank data)
else
do what is normal..
end if |
Forum: VB.NET Mar 12th, 2008 |
| Replies: 3 Views: 631 Re: Help me OK? You can have the glossy vista look and feel when you using windows vista, r you can set the forms opacity.. |
Forum: VB.NET Mar 12th, 2008 |
| Replies: 1 Views: 442 Re: Ms Acess order by Since it is ms access that you are using, you could use
SELECT LAST(columnname) FROM tablename
or
SELECT MAX(columnname) FROM tablename |
Forum: VB.NET Feb 5th, 2008 |
| Replies: 3 Views: 3,825 |
Forum: VB.NET Feb 4th, 2008 |
| Replies: 3 Views: 3,825 |
Forum: PHP Nov 11th, 2007 |
| Replies: 7 Views: 1,154 |
Forum: PHP Nov 10th, 2007 |
| Replies: 7 Views: 1,154 Re: Pagination Help It is changing, it was also working on localhost, I just dont know why doesn't it work on my website. |
Forum: PHP Nov 10th, 2007 |
| Replies: 7 Views: 1,154 Re: Pagination Help The problem is, is that the second page is not showing. The code works well on testing at localhost but when i uploaded it on webserver, it doesnt work. |
Forum: PHP Nov 9th, 2007 |
| Replies: 7 Views: 1,154 Pagination Help I needed to paginate my article section at my site so that i wont have 20 paragraphs page, now when I tried this on LOCALHOST i encountered no problem at all. But when I uploaded it on my server, the... |
Forum: HTML and CSS Nov 5th, 2007 |
| Replies: 3 Views: 765 Compatibility with IE 7 Im having this problem with my web design.
Check out this site where I uploaded it http://ivatanako.awardspace.com/
Problem is, the side bar's last 3 divs where visible both on OPERA and MOZILLA... |
Forum: Java Oct 6th, 2007 |
| Replies: 1 Views: 415 Need Help counting Similarities import java.io.*;
public class myFLAMES {
public static void main(String args[]) throws Exception
{
DataInputStream input=new DataInputStream(System.in);
int ctr=0;
/* ask for inputs... |
Forum: Assembly Oct 4th, 2007 |
| Replies: 0 Views: 652 Help on Changing color How can I change a mouse pointer color, i know that
mov ax, 1
int 33h
show mouse pointer, how can i change the color of the box that follows the pointer? |
Forum: Java Sep 24th, 2007 |
| Replies: 22 Views: 1,645 Re: Help editing table Got it to work. But how about my other question, how do I add a value of a column with another column value..Like:
quiz1 quiz2 final_grade
20 20 ... |
Forum: Java Sep 24th, 2007 |
| Replies: 22 Views: 1,645 Re: Help editing table Yes. The code now is working. My problem now is how to update 2 columns in a single query. |
Forum: Java Sep 24th, 2007 |
| Replies: 22 Views: 1,645 Re: Help editing table I tried updating two columns with this sql command but it does not work, did I miss anything?
command.executeUpdate("UPDATE Students SET Quiz1='"+sq1+"',Raw_Score="+fD+" WHERE... |
Forum: Java Sep 24th, 2007 |
| Replies: 22 Views: 1,645 Re: Help editing table My question is wrong. What I really mean is that, CAN I updated two columns in one QUERY?
And can I perform addition inside a sql query like adding the value of 2 columns, is that possible and if it... |
Forum: Assembly Sep 24th, 2007 |
| Replies: 0 Views: 594 Mouse Manipulation Questions Can I move the mouse pointer using the arrow keys with assembly? Is it possible? And if it is, can someone give a code or a snippet? I really have no clue. I know that
mov ax, 1
int 33h
But how can... |
Forum: Java Sep 23rd, 2007 |
| Replies: 22 Views: 1,645 Re: Help editing table Thank you all for the reply. Got it to work, i didnt commit/close connection.
I dont if this is the right place to post a question, but can I refresh a database with java. What command should that... |
Forum: Java Sep 22nd, 2007 |
| Replies: 22 Views: 1,645 Re: Help editing table When I removed the single quote a error occurs, unclosed character literal.
Is there any other way where I can edit a table? |
Forum: Java Sep 22nd, 2007 |
| Replies: 22 Views: 1,645 Re: Help editing table Oh and by the way, I miss out on telling that I used a fixed value for stud_ID but it is just to test if it actually edit that certain row, but it didnt. |
Forum: Java Sep 22nd, 2007 |
| Replies: 22 Views: 1,645 Re: Help editing table Sorry for the late response.
Can't post the whole code though, its too long.
case 3:
{
System.out.println("1 Name");
System.out.println("2 ID");
System.out.println("Enter choice:... |
Forum: Java Sep 22nd, 2007 |
| Replies: 22 Views: 1,645 Help editing table System.out.println("Enter new name: ");
String stdName = input.readLine();
st.executeUpdate("UPDATE Customers SET stud_name='"+stdName+"' WHERE... |
Forum: PHP Sep 11th, 2007 |
| Replies: 2 Views: 4,450 Re: Help on PHP fopen Oh? Thank you! Is there any way I could use this function without this information leak? Any suggestions? |
Forum: PHP Sep 11th, 2007 |
| Replies: 2 Views: 4,450 Help on PHP fopen I am trying to make a website that uses fopen to open up text file. Something like this http://somesite.com/readarticle.php?name=sample.txt
<?php
$file = 'sample.txt';
$f = fopen($file, r);
while (... |
Forum: Assembly Aug 12th, 2007 |
| Replies: 12 Views: 2,147 |
Forum: Assembly Aug 12th, 2007 |
| Replies: 12 Views: 2,147 |
Forum: Assembly Aug 12th, 2007 |
| Replies: 12 Views: 2,147 Re: Help on Emu8086 calculating Sum org 100h
.model small
.stack 200
.data
crlf db 0dh,0ah,'$'
prompt1 db 'enter the first positive integer: ','$'
prompt2 db 'enter the second positive integer: ','$'
prompt3 db ... |
Forum: Assembly Aug 11th, 2007 |
| Replies: 12 Views: 2,147 |
Forum: Java Aug 11th, 2007 |
| Replies: 9 Views: 2,869 |
Forum: Assembly Aug 11th, 2007 |
| Replies: 12 Views: 2,147 |
Forum: Assembly Aug 11th, 2007 |
| Replies: 12 Views: 2,147 Re: Help on Emu8086 calculating Sum Obviously, im completely an amateur on assembly.:)
So my program is completely wrong isn't it? We were given a task to have a program that calculates a sum by using simple commands and we're not... |
Forum: Java Aug 11th, 2007 |
| Replies: 9 Views: 2,869 Re: Beginners Java: Getting Lowest Value Thanks for suggestion. But I just don't know another method on how I can check for the next number without disarranging the array. If you have suggestions how, I would appreciate it. Thanks though |
Forum: Java Aug 11th, 2007 |
| Replies: 9 Views: 2,869 Beginners Java: Getting Lowest Value import java.io.*;
public class getLowestValue {
public static void main(String[]args) throws Exception {
DataInputStream input=new DataInputStream(System.in);
System.out.println("Get... |
Forum: Assembly Aug 11th, 2007 |
| Replies: 12 Views: 2,147 Help on Emu8086 calculating Sum org 100h ; set location counter to 100h
.model small
.stack 200
.data
crlf db 0dh,0ah,'$'
prompt1 db 'enter the first positive integer: ','$'
prompt2 db 'enter the second... |
Forum: Assembly Jul 24th, 2007 |
| Replies: 9 Views: 4,518 Re: convert uppercase into lower case Thank you! Thank you! It works and it rocks! Thanks! by the way, why is it 32? i have tried that code or byte ptr [bx], 11011111b..but it did not work, why is that? |
Forum: Assembly Jul 24th, 2007 |
| Replies: 9 Views: 4,518 |
Forum: Assembly Jul 24th, 2007 |
| Replies: 9 Views: 4,518 Re: convert uppercase into lower case can anyone help me do the oposite of that code. Entering a lowercase string then the program converts it into uppercase..the opposite of the program it self |
Forum: Assembly Jul 24th, 2007 |
| Replies: 9 Views: 4,518 convert uppercase into lower case I have been having problems on how can I revise or if someone could me a code on emu8086 on how to convert uppercase string into lowercase..the code below converts lowercase into uppercase..how can i... |