User Profile

Collapse

Profile Sidebar

Collapse
Kenta
Kenta
Last Activity: Apr 26 '10, 10:12 AM
Joined: Mar 8 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Kenta
    replied to Can constructor return values?
    Ok, thank you all for your help, i think I get it know. All help has been useful. //Kent
    See more | Go to post

    Leave a comment:


  • Kenta
    replied to Can constructor return values?
    Ok, thank you all for your answers, I learned something knew from it. At the moment I am not sitting behind a computer with Visual Studio installed so what I say now is just a thought. - I guess that it should be possible to inherit one class to another like Class2 : Class1. But is it possible to inherit from built in classes? Something like this Class1 : DataTable Is that possible?
    //Kent
    See more | Go to post

    Leave a comment:


  • Kenta
    started a topic Can constructor return values?

    Can constructor return values?

    Is it possible to create class constructors that return any value? Like return something; in functions.

    Here is an example
    //Kent

    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Data;
    
    namespace WebApplication1
    {
        public class  Class1 
        {
            public  Class1() //This does not
    ...
    See more | Go to post

  • oops

    My own failure, my report path was pointing to the bin\debug path (Application.St artupPath & "\" & "rptPerson.rpt" ) . But my reports are directed to the project path. So ofcourse my changes wasn't reflected. I changed tha path and everything is working now. //Kent
    See more | Go to post

    Leave a comment:


  • Crystalreport design changes doesn't work in runtime.

    For some reasons that I don't understand all my design changes won't show up when I hit F5 and run the application. I can put how many new fields and labels with som "hello" text that I wont but they are not displayed at runtime. But all database changes the report i connected to will be displayed.

    How can that be? What is wrong with my report when all datachanges runs thru but not my design changes?

    I am using...
    See more | Go to post

  • Kenta
    replied to DirectoryInfo and file attributes
    Ok that makes it clearer. I will look at the resourcesmanage r, it might work. 1 of 2 problems perhaps solved. If the last modified user is not saved i guess i can cheat and store the user who last uploaded the file. Because it is a user accessed Intranet (demands login).If uploaded it should be modified and not only accessed to read.

    //Kent
    See more | Go to post

    Leave a comment:


  • Kenta
    started a topic DirectoryInfo and file attributes

    DirectoryInfo and file attributes

    I am using an instance of DirectoryInfo to browse and retrive the files and some file attributes on a physical directory. This is displayed in a html table. But if you have for example text files (.txt) or word dokuments (.docx) How can I display the correct icon that is associated with the file in my html table? And further on how can I reach the user who modified the file the last time? Where is that info saved?

    Is the DirectoryInfo...
    See more | Go to post

  • Sorry if I am confusing. My problem is that for every loop in my While statement I will have to do the same db call to read the same posts that fill my DropDownlist.

    In my skeleton code it would be five db calls. If you could read from the db once above the while loop and copy my DropDownList from there I would “save” four db calls, and some program over head. But I have found a workaround for it with the ListItemsCollec tion. My...
    See more | Go to post

    Leave a comment:


  • No it was of old habit I wrote that way. It vill be a .net dbreader. But it still does not answer my question, it must be possible in some way to effective my code,
    See more | Go to post

    Leave a comment:


  • Kenta
    started a topic How to effective DropDownList code

    How to effective DropDownList code

    I have an Web application that retrieves some db info and send it out to an html table. All created on the fly in vb code behind. For every post (row) in the db I also fill puts an instance of a Dropdownlist with items read from the db.
    That means that for every row I read from the database I read the same db info into the Dropdownlist (see the skeleton example below).

    A lot of overhead I think. It must be possible to create...
    See more | Go to post
No activity results to display
Show More
Working...