User Profile

Collapse

Profile Sidebar

Collapse
onlyshanks28
onlyshanks28
Last Activity: Feb 11 '09, 05:28 AM
Joined: Oct 8 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • onlyshanks28
    started a topic how to load data from a csv file to databse

    how to load data from a csv file to databse

    how to load data from a csv file to databse.

    Can anybody help me in giving the code


    Shashank
    See more | Go to post

  • onlyshanks28
    replied to upcoming birthdays query
    thats correct
    but
    we do have to take into cosideration the year when the current date is
    31-dec-2008..

    the above 3 queries that i have given will do that perfectly...
    See more | Go to post

    Leave a comment:


  • onlyshanks28
    replied to upcoming birthdays query
    for it we have to use three query subsequently

    1) select name,date from days_to_remembe r where month(date)=mon th(curdate()) AND date(date)>=dat e(curdate()) order by date asc;

    -----it will give upcomng bdays of same months---



    2) select name,date from days_to_remembe r where month(date)>mon th(curdate()) order by date asc;

    -----it will give upcomng bdays of next...
    See more | Go to post

    Leave a comment:


  • onlyshanks28
    replied to upcoming birthdays query
    Problem with it is:

    If Current date is 31 december 08

    then it will not display birthday in the moth if january 09

    Also dob can never be more than currdate( )

    MY dob is 28-08-1986(suppose) it cant be greater than currdate( )...
    See more | Go to post

    Leave a comment:


  • onlyshanks28
    started a topic upcoming birthdays query

    upcoming birthdays query

    Hi

    I have a database birthday containing name and DOB,
    I want to find the query which can display 3 latest birth day.

    I tried
    select name,date from birthday where month(dob)>=mon th(curdate()) limit 3;

    But the problem here is that on 31-December-2008 it will not display the birthdays on January.

    Shashank
    See more | Go to post

  • onlyshanks28
    replied to save changes in a shared workbook
    No I have not saved it anywhere I have just attached it in the mail....
    See more | Go to post

    Leave a comment:


  • Hi try the following(do read the last paart on the post)
    [code=java]
    Connection myconn;
    String DbDriver = "org.gjt.mm.mys ql.Driver";
    String DbConStr = "jdbc:mysql ://localhost:3306/xyz";
    String DbUser ="root";
    String DbPwd ="abcdef";
    try {
    Class.forName(D bDriver);
    myconn = DriverManager.g etConnection(Db ConStr,...
    See more | Go to post
    Last edited by Nepomuk; Oct 29 '08, 10:20 AM. Reason: Please use [CODE] tags

    Leave a comment:


  • onlyshanks28
    started a topic save changes in a shared workbook

    save changes in a shared workbook

    Hi,

    I made an excel sheet and enabled the "shared workbook" option.
    now when i open it and save the changes that I have made it is showing an error message :

    "File is locked"

    Please help me out
    Shashank
    See more | Go to post

  • onlyshanks28
    replied to createElement not working in IE
    thanks for response

    I got it.It can be done just by writing
    element.checked ='checked';
    after append
    as follows the complete code:

    [CODE=javascript]function fun1()
    {

    var element = document.create Element('input' )
    element.type='c heckbox';
    body.appendChil d(element);
    element.checked ='checked';
    }[/CODE]
    See more | Go to post
    Last edited by gits; Oct 10 '08, 11:51 AM. Reason: added code tags

    Leave a comment:


  • onlyshanks28
    replied to Force Opening a .doc file
    To clarify further:

    I dont want the user to save the file(.doc) anywhere else when he is opening.I just want him to view it and further I want that if he makes any changes then they should be reflected to the sources where the file is pressent.

    For this I want to remove the Save option that comes when a download window opens up

    If I make some changes in OS(windows) setting then this will happen in all...
    See more | Go to post

    Leave a comment:


  • onlyshanks28
    started a topic Force Opening a .doc file in the browser

    Force Opening a .doc file in the browser

    Hi,

    I want to open a .doc file in web browser(firefox and IE).
    I have given a link but when I click on it,it gives 3 options
    Open,Save,,Canc el.

    I want either to remove the Save button or to open the file directly.
    Please help me out.

    Shashank
    See more | Go to post

  • onlyshanks28
    started a topic createElement not working in IE

    createElement not working in IE

    Hi,

    I wrote a javascript code as follows

    [CODE=javascript]function fun1()
    {
    var element = document.create Element('input' );
    element.type='c heckbox';
    element.checked ='checked';
    body.appendChil d(element);


    }[/CODE]

    this code is working fine in Firefox but in IE the checkbox is creating but it is unchecked.
    ...
    See more | Go to post
    Last edited by gits; Oct 10 '08, 11:50 AM. Reason: added code tags

  • onlyshanks28
    started a topic Force Opening a .doc file

    Force Opening a .doc file

    Hi,
    I want to open a .doc file in html browser.
    I have given a link but when I click on it,it gives 3 options
    Open,Save,,Canc el.

    I want either to remove the Save button or to open the file directly.
    Please help me out.

    Shashank
    See more | Go to post
No activity results to display
Show More
Working...