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
Z

ZeroOne8

@ZeroOne8
About
Posts
9
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • redirect page in asp.net
    Z ZeroOne8

    thank u all that is not relay what i want put it is okay i fix it thank all again

    ASP.NET help csharp asp-net database tutorial

  • redirect page in asp.net
    Z ZeroOne8

    hello very one ;) i need some help or advice from the people , who have expert in asp.net this is my problem the url for example is http://localhost:2940/website/page.aspx?ID=1 when i change id to http://localhost:2940/website/page.aspx?ID=100000000000000000000000000000000000 i get error manege The conversion of the nvarchar value '20000000000000000000000000000000' overflowed an int column. i need if the ID dose not exist in database table , redirect the page to homepage thx all

    ASP.NET help csharp asp-net database tutorial

  • left Circular shift ??
    Z ZeroOne8

    i know that . -- but if you see my code you will know what i meaning .

    C# help question

  • left Circular shift ??
    Z ZeroOne8

    You're right , really i can't found different between l and 1 in VS2008 it is the same Usually i used letter such as i j x y any way thx for your advice ;)

    C# help question

  • left Circular shift ??
    Z ZeroOne8

    it is very good idea it has never crossed my mind ,it so easy and so small i do this

        public static String CircularShift(string Subject, int Count)
        {
            int l = Subject.Length;
            char\[\] text = new char\[l\];
            for (int i = 0; i < l; i++)
            {
                text\[i\] = Subject\[(i + Count) % l\];
    
            }
    
            String output = "";
            for (int i = 0; i < l; i++)
            {
                output += text\[i\];
            }
    
            return output;
        }
    

    but i will use your idea . thank you very much. an thx for every one who trying to help .

    modified on Sunday, November 14, 2010 1:36 PM

    C# help question

  • left Circular shift ??
    Z ZeroOne8

    yes i see that article , the Shift function dose not work with me , the encryption in the article is encrypt binary files , but i need to encrypt some text.

    C# help question

  • left Circular shift ??
    Z ZeroOne8

    Henry Minute wrote:

    If you have to do a circular shift on a number why are you faffing about with strings?

    because h1 and h2 is result from function that return string . i will see if i can use another function , or convert the return data type . thx henry .

    C# help question

  • left Circular shift ??
    Z ZeroOne8

    thank you much Pete :) in fact my real problem is : I'm trying to implement Simplified DES (DES is an encryption algorithm ) on of the step to implement is Left Circular shift for every halve of the key if the key is 1000001100 string h1 = 10000 string h2 = 01100 then do Left Circular shift by 1 , so 10000 will be 00001 and 01100 will be 11000 i need function to do that shift :) I tried a lot, but there is no result :mad:.

    modified on Sunday, November 14, 2010 1:34 PM

    C# help question

  • left Circular shift ??
    Z ZeroOne8

    hello every one :) any body can help me to find function that can do left Circular shift for any string for Ex: string is codeproject i need it to be odeprojectc pls help me :)

    C# help question
  • Login

  • Don't have an account? Register

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