User Profile

Collapse

Profile Sidebar

Collapse
7effrey
7effrey
Last Activity: Jun 21 '10, 01:51 PM
Joined: Feb 11 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • I solved it by this:
    Code:
    if (DropDownList.Items.Count == 0){
      NoResult.Text = "No records found";
    }
    ...
    See more | Go to post
    Last edited by Frinavale; May 3 '10, 08:40 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

    Leave a comment:


  • 7effrey
    started a topic How to make DropDownList display "No Result"?

    How to make DropDownList display "No Result"?

    Hi i was just wondering how i should do this:

    I have a dropdownlist and a datalist. The datalist will be displayed when a value is selected from the dropdownlist. But if there are no results for the selected value in the dropdownlist the page is blank.

    How do i make a message like : "No results" or something like that instead of just pure blank page?

    thank you for your time, I appreciate it...
    See more | Go to post

  • I found the error. Apparently you must name the table content in the same order as you select them

    Code:
    CREATE TABLE #temp 
            ( 
    			 name varchar(50),
    			 id , 
                 location varchar(50), 
                 fk_type varchar(10), 
                 fk_equipments int, 
                 TYPE varchar(10), 
                 fk_meetroom int, 
                 status char(1),
    ...
    See more | Go to post

    Leave a comment:


  • i know what it means, but the thing is im not trying to convert anything. im just trying to read some data from the database. All my date fields are of the type datetime, and i dont understand why it says im trying to load it as an int.. how can i find out where the problem is?

    I think the problem is in my stored procedure
    See more | Go to post

    Leave a comment:


  • 7effrey
    started a topic Implicit conversion from data type datetime to int
    in .NET

    Implicit conversion from data type datetime to int

    Hi, I'm trying to retrieve some information from my database, but somehow i get this error:

    Behind code:
    Code:
    public void binddata()
        {
            SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);
                  DataSet ds = new DataSet();
    
            SqlDataAdapter da = new SqlDataAdapter("getRoomNEquip2", con);
    ...
    See more | Go to post

  • 7effrey
    started a topic Count number of files in folder + subfolder
    in PHP

    Count number of files in folder + subfolder

    Does anyone have a script that can count the number of files in a folder + subfolders and add it together?
    See more | Go to post

  • 7effrey
    replied to how to check folder size
    in PHP
    how will the whole script looks like?...
    See more | Go to post
    Last edited by pbmods; Feb 5 '09, 11:02 PM. Reason: Fixed CODE tags.

    Leave a comment:


  • 7effrey
    replied to list folders script
    in PHP
    Hi again

    i noticed this:
    // Directories to ignore when listing output.
    $ignore = array( '.', '..' );

    using this script as provided shows some of my folders which lies inside the folder which names is displayed. What is the kind of "code" that i have to add to $ignore = array( '.', '..' ); to ignore showing these folders?

    Example:
    Name-on-folder
    - ...
    See more | Go to post

    Leave a comment:


  • 7effrey
    started a topic list folders script
    in PHP

    list folders script

    Hi

    Does anyone know how to make a script that list the folders in a specific directory, but when the list is made it must be possible to click on it like a link so people can be redirected, but not to the folder, but to a special file inside the folder.

    example:
    - list the names on the folders from root
    - the names appear in a link form (<a href=' ' </a>) on my php page
    - when i click i...
    See more | Go to post

  • 7effrey
    replied to show folder name script?
    in PHP
    Hi guys

    i have fixet it, just wanna thank you for your help
    See more | Go to post

    Leave a comment:


  • 7effrey
    started a topic show folder name script?

    show folder name script?

    Hi people

    my problem is i want the title of my html page to be shown as the title of the folder it is inside.

    and my next problem is how do i write the folder name as plain text in html?
    See more | Go to post

  • 7effrey
    started a topic show folder name script?
    in PHP

    show folder name script?

    Hi people

    I'm new to php
    my problem is i want the title of my html page to be shown as the title of the folder it is inside. I know php can do a script like that.

    and my next problem is how do i write the folder name as plain text in html?
    See more | Go to post
No activity results to display
Show More
Working...