User Profile

Collapse

Profile Sidebar

Collapse
Bob Ross
Bob Ross
Last Activity: Aug 19 '08, 04:17 PM
Joined: Jan 26 '07
Location: Liverpool
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Bob Ross
    replied to Searchable Generic
    in .NET
    I was referring to Generic.Diction ary(Of String, Object)

    I have had a brief look at LINQ but I think to implement it would require an overhaul of the site somewhat. It doesn't seem to make sense to use it only in one place.
    Also the objects I am building are not from database tables but from settings defined as committed text in the stored procedures. Which I don't think LINQ would be any good for.
    See more | Go to post

    Leave a comment:


  • Bob Ross
    started a topic Searchable Generic
    in .NET

    Searchable Generic

    I have recently been looking into using generics to hold collections of objects as I like the type safe features they provide. But I want to be able to store objects with a key for easy finding. Which is the best object to do this? Is it a dictionary?
    See more | Go to post

  • Bob Ross
    replied to Using inline code
    in .NET
    According to this article it is not possible to edit a controls properties using the <% %> tags. These can only be used at the top page level (i.e outside of controls).

    There is however a work around.

    Plater how did you get it to work?
    See more | Go to post

    Leave a comment:


  • Bob Ross
    replied to Using inline code
    in .NET
    No IsClient is a boolean property of the CurrentOperator object.

    I tried -
    Code:
    		                                    
    <asp:HyperLink ID="OrdersMaintenanceLink" 
    runat="server" 
    Text="vbeiOrdersMaintenance" 
    NavigateUrl="~/SE/Orders/ManageCustomerServices.aspx" Visible='<%=CurrentOperator.IsClient%>' 
    CssClass="StandaloneLinks" />
    ...
    See more | Go to post

    Leave a comment:


  • Bob Ross
    replied to Using inline code
    in .NET
    I would like the hyperlink to be visbile or not depending on the IsClient property of the currentOperator object.

    A single '=' is used for comparison in vb.net. a double '==' throws an error.
    See more | Go to post

    Leave a comment:


  • Bob Ross
    started a topic Using inline code
    in .NET

    Using inline code

    Can anyone point me in the direction of a good article or somewhere I can learn more about inline code?

    I am trying to set a links text and visibility without using the code behind file like this -
    <asp:HyperLin k ID="OrdersMaint enanceLink"
    runat="server"
    Text='<%# TranslateTag("v beiTest")...
    See more | Go to post

  • Bob Ross
    replied to 3 Tiered Architecture
    in .NET
    Thanks, but... you haven't answered my questions at all. I know theoretically what it should do; I think the name gives it away.

    Lets say for an example you had a page called EditEmployee.as px. What classes would you build to allow you to edit an entry in the employees table and what would call what to both fetch and user the Employee table?
    See more | Go to post

    Leave a comment:


  • Bob Ross
    started a topic 3 Tiered Architecture
    in .NET

    3 Tiered Architecture

    I am trying to get a better understanding of the three tiered architecture and would like some help clarifying the interaction between classes and structure.

    The Presentation layer - is easy it is simply the front end (pages, winforms, etc...)

    The Business Logic Layer - This contains the domain objects i.e Car() which will hold all the properties of a particular car. One object will be created per car.
    But would...
    See more | Go to post

  • Bob Ross
    started a topic Help with Design Pattern
    in .NET

    Help with Design Pattern

    I am working with VB.Net 2 on a web application.

    I currently have a module which simply performs actions on the database required for the Accounts Management section on the website, for example -
    GetUsers
    GetUser(By Code)
    GetUser(By Key)
    CreateUser
    DeleteUser
    UnlockUser
    EditUser

    Etc...

    This is fine but now I need to make a demo version of the website which...
    See more | Go to post

  • Bob Ross
    started a topic Implementing OnClick in user defined button
    in .NET

    Implementing OnClick in user defined button

    I am using vb.net 2.0 to create a website and I have made a user control that is my own form of a button with additional graphics and functionality.

    What I would like to do is have a OnClick member of this control like the normal button does. So that user can enter the name of a method (on the parent page) when declaring the button which will be run when the button is pressed. Anyone any idea how I could implement this?
    ...
    See more | Go to post

  • Bob Ross
    started a topic Error when converting to Web Application
    in .NET

    Error when converting to Web Application

    I have a vb.net 2.0 website and I am trying to change it to a web application.

    I have followed these instructions here - http://webproject.scottgu.com/Visual...igration2.aspx
    up to the end of step 4.

    but at this point I get an error for every control on every page -
    Error 46 'SelectOrderLab el' is already declared as 'Protected Dim WithEvents SelectOrderLabe l As System.Web.UI.W ebControls.Labe l'...
    See more | Go to post

  • Bob Ross
    replied to Change culture of number
    in .NET
    Can anyone help with this?
    See more | Go to post

    Leave a comment:


  • Bob Ross
    started a topic Embed image in css for e-mail
    in .NET

    Embed image in css for e-mail

    I am trying to make a function for my web site that will send an e-mail to new users. This email is going to be in HTMl format and I want to include images.
    Now I can embed images using -
    Dim box As New LinkedResource( HttpContext.Cur rent.Server.Map Path("~/Images/box.gif"), Net.Mime.MediaT ypeNames.Image. Gif)
    box.ContentId = "el_box"
    htmlView.Linked Resources.Add(b o
    ...
    See more | Go to post

  • Bob Ross
    replied to Change culture of number
    in .NET
    Just to add -
    Ideally I would like to create function that accepts a number of any type (int, decimal, etc...) and outputs the number but with all culture format changes applied.
    See more | Go to post

    Leave a comment:


  • Bob Ross
    started a topic Change culture of number
    in .NET

    Change culture of number

    I am using VB.Net (.Net version 2) to create a web application.

    I have several pages showing numeric results that can be in the form -
    "< 0.01"
    "1.345345"
    "1,3424.06"
    etc...

    I was wondering what the easiest way would be to change these results to other culture formats e.g.
    "1.2" could become "1,2" for countries that use a comma instead...
    See more | Go to post

  • Bob Ross
    replied to Compile to EXE
    in .NET
    How silly of me.
    Of course that is how you do it.

    Sorry. This is my first time making a windows application.
    See more | Go to post

    Leave a comment:


  • Bob Ross
    started a topic Compile to EXE
    in .NET

    Compile to EXE

    I have made a small windows application in Visual Studio 2005. I now want to compile it into an .exe file so it can run standalone but I cannot work out how to do this. I can publish it, which creates an installer but this is not what I want.
    I just want to be able to run it as a single exe file.
    Any ideas?
    See more | Go to post

  • Bob Ross
    replied to Join tables in a dataset
    in .NET
    Okay thanks but I was looking for a little more detail than that. I managed to work that much out on my own.

    I want to know - where else it can be used? What is the advantages/disadvantages? Where can I find more information on it?
    See more | Go to post

    Leave a comment:


  • Bob Ross
    replied to Join tables in a dataset
    in .NET
    I have managed to get access to the page using a proxy website. No idea why i can't get through to it. Oh well.

    Thanks very much Shweta. Thats does exactly what I want.

    Just out of interest In the article it uses this syntax -
    DatasetName.Tab les!TableName

    I have never come across this syntax before. I would always use
    DatasetName.Tab les("TableName" )

    What is the...
    See more | Go to post

    Leave a comment:


  • Bob Ross
    replied to Join tables in a dataset
    in .NET
    This link doesn't work for me....
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...