User Profile

Collapse

Profile Sidebar

Collapse
aish
aish
Last Activity: Feb 10 '06, 09:41 AM
Joined: Sep 20 '05
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • aish
    started a topic Sesstion Time out

    Sesstion Time out

    I'm working with asp.net c# web application.
    In my app. I used session variables,
    I don't want to expire sesstion until the user clicks the logout button.but my application after some time period sesstion expired. how can I avoid this? I increased the sesstion timeout time of the web config file. but it did not work.
    See more | Go to post

  • aish
    replied to insert datetime into the database
    I change my code like this, now it works fine but I have small problem.
    if my dropdowns SelectedIndex== 0 then I wants to insert null value. I used for DBNull.Value, but it save as "01/01/1900" but I want to insert "<Null>" How can I do this?

    string Mydate;

    if(cboDateofBir th_Day.Selected Index!=0 && cboDateofBirth_ Month.SelectedI ndex!=0 && cboDateofBirth_ Year.SelectedIn dex!=0)...
    See more | Go to post

    Leave a comment:


  • aish
    started a topic insert datetime into the database

    insert datetime into the database

    I want to insert datetime into the database.I want to insert date as a dd/MMMM/yyyy format

    SqlDateTime x;
    if((TextBox1.Te xt).Length==0)
    {
    x=SqlDateTime.N ull;
    }
    else
    {
    x=DateTime.Pars e(TextBox1.Text );
    }
    command=sqlConn ection.CreateCo mmand();
    command.Command Text="insert into Table2 values('"+x+"') ";
    sqlConnection.O pen();
    command.Execute NonQuery();...
    See more | Go to post

  • aish
    started a topic Send email using sql stored procedure

    Send email using sql stored procedure

    I want to send email using sql stored procedure.my code is work fine in my local sqlserver account. when I use my online sql server it display this error.

    EXECUTE permission denied on object 'sp_OACreate', database 'master', owner 'dbo'.

    EXECUTE permission denied on object 'sp_OASetProper ty', database 'master', owner 'dbo'.

    EXECUTE permission denied on object 'sp_OAMethod', database 'master', owner 'dbo'....
    See more | Go to post

  • aish
    started a topic select current users country

    select current users country

    I have asp.net C# web app. it has country dropdownlist.wh en the page load I want to select current users country. how can I do this? I want to use client side code for this, can I do this using javascript? pl help me.
    See more | Go to post
No activity results to display
Show More
Working...