Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
J

J Cod3r

@J Cod3r
About
Posts
18
Topics
8
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Business phone?
    J J Cod3r

    Have a look at the Sony Ericsson Xperia X1. http://www.gsmarena.com/sony_ericsson_xperia_x1-2246.php[^]

    The Lounge business security question

  • Business phone?
    J J Cod3r

    I would suggest iPhone rather than Black Berry

    The Lounge business security question

  • Displaying edit mask as 95.25% and value of 0.9525
    J J Cod3r

    thanks

    C# regex question

  • Displaying edit mask as 95.25% and value of 0.9525
    J J Cod3r

    Dit is meer as dit. Die property het drie attributes nl EditMask, EditMaskType en DisplayFormat. Jy moet EditMask en EditMaskType saam gebruik m.a.w jy se vir EditMask watter tiepe Mask jy gebruik nl enum { Simple, RegEx }. MSDN se ek behoord {0:P4} (P/p = Percentage) RegEx te gebruik maar dit werk ook nie reg nie. :confused:

    C# regex question

  • Displaying edit mask as 95.25% and value of 0.9525
    J J Cod3r

    That would require me to write code on that layer, something i want to avoid. I want to keep all formatting related issues within the same layer

    C# regex question

  • Displaying edit mask as 95.25% and value of 0.9525
    J J Cod3r

    Nee jou wetter dit werk nie, dankie vir die post Jannes

    C# regex question

  • Displaying edit mask as 95.25% and value of 0.9525
    J J Cod3r

    Hi, I am using a regular expression (100|\s*(\d{0,2})((\.|\,)(\d{2,4}))?\s*\%?\s*) to display a percentage correctly on a property. The RegEx works 100% for displaying the correct value visually. But after the user has entered the value on the property i.e. 95.25% I would like to retrieve a value of 0.9525 without writing code on the property. Would I be able to do this by setting either the DisplayFormat or EditMask attribute to something else? Thanks :-D

    C# regex question

  • Generate ordered sequence of 11 numbers
    J J Cod3r

    Hi, I need to generate an ordered sequence of numbers from 1 - 9. At no point is any number allowed to be used twice. There are 81 combinations. So it would look something like this: 123456789, 192345678, 193456782, 194567823, 195678234,... and so on. Thanks:confused:

    C#

  • Unit testing for DevExpress
    J J Cod3r

    Yes I have and no one has a single solution. Most of them are using a mixture of different unit testing software.

    C# csharp design testing business beta-testing

  • Unit testing for DevExpress
    J J Cod3r

    Hi All, I’m looking for a good Unit tester that can test both the UI and the business object models. We are using the DevExpress expressApps framework. I am aware of NUnit, MBunit, XUnit and TestDriven.net but I’m not sure what ties in the best with DevExpress. Thanks,

    C# csharp design testing business beta-testing

  • Training of developers in C#
    J J Cod3r

    Thanks, i will have a look at that. It is definitely a good possibility.

    The Lounge csharp collaboration tutorial question learning

  • Training of developers in C#
    J J Cod3r

    That's not very nice now, is it? We would lose a lot of business knowledge, and is not prepared to do that.

    The Lounge csharp collaboration tutorial question learning

  • Training of developers in C#
    J J Cod3r

    Hi, We have recently started to move our development from VB 6.0 to C#. We have a training session every week where we want to involve all the developers to take part in learning the C# Language. Our main goal is to motivate all, and learn how to think out of the box. Team work is also very important. During these sessions we would like to focus on the following: 1.Thinking OOP 2.Learning C# from scratch to advanced What would the best starting point be? How would we be able to keep everybody interested? Thanks :-D

    The Lounge csharp collaboration tutorial question learning

  • Access different variable names on the fly
    J J Cod3r

    Hi all, Does someone know if it is possible to access a variable and change the name of the variable based on a condition. (This does not make much sense but let me explain it using the example below. I have two foreach loops, both doing the exact same thing. But it is accessing different variables. I would prefer it if i were to have one foreach loop and access the different variable based on the string that was passed to the function. Thus having something like (string.Concat(context,"ReadOnlyProperties"))

    private void CustomizeEditor(string context)
    {
       DetailView detailViewCore = (DetailView)View;
       Object obj = detailViewCore.CurrentObject;
       if (context == "live")
       {
          foreach (string liveTargetPropertyName in liveReadOnlyProperties.Keys)
          {
             CriteriaOperator criteria = CriteriaOperator.Parse(liveReadOnlyProperties[liveTargetPropertyName]);
             UpdateProperty(detailViewCore, obj, liveTargetPropertyName, criteria);
          }
       }
       else
       {
          foreach (string saveTargetPropertyName in saveReadOnlyProperties.Keys)
          {
             CriteriaOperator criteria = CriteriaOperator.Parse(saveReadOnlyProperties[saveTargetPropertyName]);
             UpdateProperty(detailViewCore, obj, saveTargetPropertyName, criteria);
          }
       }
    }
    

    Thanks

    C# tutorial

  • Distinguish between Keyboard and basic Barcode Scanner
    J J Cod3r

    Brad, Did you see the comment from Dave Kreskowiak, i think this will work. Your scnner should come with a form containing different bar codes. These are used to configure the scanner. Cheers

    C# question

  • Distinguish between Keyboard and basic Barcode Scanner
    J J Cod3r

    Hi, Does someone know if it is possible to know if characters that was received, was received from the Keyboard or from the Barcode scanner? Thanks X|

    C# question

  • Grouping relevant data together while iterating throug them
    J J Cod3r

    Hi There, I would like to know if someone can assist me with the following: I need to display data in a tabular format, but I would like to group the relevant data together. In the sample below I am using a asp:repeater to populate a table. The select statement in my code behind file would return data from different employees within different companies ordered by the company name. I want to group all employees from one company together and do a basic summary line before starting with the next company i.e. Number of employees found per company.<asp:repeater id="employeeList" Runat="server"> <HeaderTemplate> <tr> <td width="200"> Company ID </td> <td width="200"> First Name </td> <td width="200"> Last Name </td> <td width="200"> Company </td> </tr> </HeaderTemplate> <ItemTemplate> <tr bgcolor="#ccffff" style="FONT-SIZE: 12px; COLOR: red"> <td><%# DataBinder.Eval(Container.DataItem,"COID") %></td> <td><%# DataBinder.Eval(Container.DataItem,"FIRSTNAME") %></td> <td><%# DataBinder.Eval(Container.DataItem,"LASTNAME") %></td> <td><%# DataBinder.Eval(Container.DataItem,"COMPANY") %></td> </tr> </ItemTemplate> <FooterTemplate> </FooterTemplate> </asp:repeater>

    C# sysadmin docker

  • Grouping relevant data together while iterating throug them
    J J Cod3r

    Hi There, I would like to know if someone can assist me with the following: I need to display data in a tabular format, but I would like to group the relevant data together. In the sample below I am using a asp:repeater to populate a table. The select statement in my code behind file would return data from different employees within different companies ordered by the company name. I want to group all employees from one company together and do a basic summary line before starting with the next company i.e. Number of employees found per company.<asp:repeater id="employeeList" Runat="server"> <HeaderTemplate> <tr> <td width="200"> Company ID </td> <td width="200"> First Name </td> <td width="200"> Last Name </td> <td width="200"> Company </td> </tr> </HeaderTemplate> <ItemTemplate> <tr bgcolor="#ccffff" style="FONT-SIZE: 12px; COLOR: red"> <td><%# DataBinder.Eval(Container.DataItem,"COID") %></td> <td><%# DataBinder.Eval(Container.DataItem,"FIRSTNAME") %></td> <td><%# DataBinder.Eval(Container.DataItem,"LASTNAME") %></td> <td><%# DataBinder.Eval(Container.DataItem,"COMPANY") %></td> </tr> </ItemTemplate> <FooterTemplate> </FooterTemplate> </asp:repeater>
    Regards,

    ASP.NET sysadmin docker
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups