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
V

varsh12

@varsh12
About
Posts
63
Topics
31
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • validation in datagridview
    V varsh12

    HI !!! using windows application, i want to validate in datagridview two columns. In datagridview, one column is Name and another is age. my requirement is the both columns not Left blank and enter only character in name column and number only Age column thanx

    C#

  • split issue
    V varsh12

    static string DecodeUnicode(string s)
    {
    StringBuilder sb=new StringBuilder();
    while (s.Length!=0)
    {
    sb.Append((char)int.Parse(s.Substring(2, 4), NumberStyles.HexNumber));
    s=s.Substring(6);
    }
    return sb.ToString();
    }

    string s="\\u092A\\u094B\\u0937\\u093E\\u0939\\u093E\\u0930";
    s=DecodeUnicode(s);

    I am using above code to remove "\\" into "\". But if we add some text in this string its gives error.

    e.g.:string s="\\u092A\\u094B\\u0937\\u093E\\u0939\\u093E\\u0930 abc";

    error msg shows: Input string doesn't match. i think this issue occur due to, i divide substring(2,4) please guide me. thanx

    C# help regex tutorial

  • array to array copy
    V varsh12

    i want to copying array values to another array. my vaue is store the following array:

    string[] path = Directory.GetFiles(filedate);

    and I want to copy, stored value in path into path1.

    string[] path1= ???

    thanx

    C# data-structures question

  • special character replacement
    V varsh12

    thank u very much,Luc Pattyn Sir!! u r really solved my problem and i m very happy. I always remember your suggestion. thanx. sorry for late reply.

    C# question

  • special character replacement
    V varsh12

    this is my string: \u092A\u094B\u0937\u093E\u0939\u093E\u0930 i used this code:

    string unicodeString = HttpUtility.HtmlEncode("\u092A\u094B\u0937\u093E\u0939\u093E\u0930");
    MessageBox.Show(unicodeString);

    it gives me answer correct as "POSHAHAR" IN HINDI FONT. BUT if we use above text as string it gives

    string unicodeString = HttpUtility.HtmlEncode(above_code);
    MessageBox.Show(unicodeString);

    the string takes value in this form: "\\u092A\\u094B\\u0937\\u093E\\u0939\\u093E\\u0930";

    so, it can't work. then my problem is , how am i replace "\\" instead of "\".

    C# question

  • special character replacement
    V varsh12

    i WANT TO RETRIEVE EQUIVALENT VALUE OF THE GIVEN STRING. THE ABOVE CODE VALUE IN SEE IN HINDI IS "POSHAHAR".

    C# question

  • special character replacement
    V varsh12

    Actually i am using xml file. In my xml file contains following text: \u092A\u094B\u0937\u093E\u0939\u093E\u0930 and i want to convert in correspponding letter through httpUtility.htmlEncode(). when i put above code in htmlEncode function, it works properly. when i retrieve this in C# as string it shows like: \\u092A\\u094B\\u0937\\u093E\\u0939\\u093E\\u0930. so this is not convert. please guide me.

    C# question

  • special character replacement
    V varsh12

    thanks, but this is not work

    C# question

  • special character replacement
    V varsh12

    hi how can i replace "\\" with "\". because i am using, String.Replace("\\","\"); but it does not work. thanx

    C# question

  • unicode conversion
    V varsh12

    hi! I have a xml file. in xml file contains data in below format. ÂôáæãUæÚU. I replace this text in unicode character. like : 092A for  094B for ô. and so on... Actually I convert above xml file in HTML page. In HTML page the unicode character is shown as above. "ÂôáæãUæÚU"-- this code means "POSHAHAR" in hindi. and I want to print POSHAHAR IN hindi. please guide me what can I do. I am using C#. thanx & Regards

    C# csharp html xml tutorial

  • unicode issue
    V varsh12

    hi! my question is: i have taken two hindi e-paper. in first e-paper i have no problem to read it. but in 2nd e-paper the font is unable to read. the look like other character. can anyone say why? is this problem of unicode. thanx

    Web Development help question

  • reading and replacing the ini files using c#
    V varsh12

    i have solved to read and replacing method. but can u tell me what the procedures to store the value as i ask in my question.

    C# csharp data-structures

  • reading and replacing the ini files using c#
    V varsh12

    hello! my requirement is to store multiple value as shown above, more or less 300

    C# csharp data-structures

  • reading and replacing the ini files using c#
    V varsh12

    hi! i have an ini files. in this file, the value is in following format: abc= mno xyz=ijk efg=pqr and so on..... my need is that i have to store the value before= (abc,xyz) in an array and after=(mno,ijk) in another array. and after storing the value in an array, replace abc with mno and so on in C#

    C# csharp data-structures

  • entity conversion in c#
    V varsh12

    thanx a lot !! Sir, your given link is very fruitful for me

    C# csharp html xml help

  • entity conversion in c#
    V varsh12

    hi !! In xml file, there are some entities. they are shown like: — &softReturn; &hTab; & i want to replace above entities in my html page their original form like: - for — & for & and so on. i used code in c#. please help me with code. thanx

    C# csharp html xml help

  • replacing html entity [modified]
    V varsh12

    thanx for ur kind attention. i am seeing th link. actually, in my xml file has & and mdash; and i write in this character code in html , an want to show the above code is in character like: & and - is there any namespace , to read entity thanx

    C# csharp html xml help tutorial

  • replacing html entity [modified]
    V varsh12

    Hi, Everyone!! I need ur help, regarding html entity replacement---- I have characters incoming from an xml template for example: & — I want to replace these in html code in c# like: & — respectively. can some one please help me with proper code. because I am fresher. waiting for your earliest reply. thanx in advance -- Modified Thursday, July 22, 2010 6:37 AM

    C# csharp html xml help tutorial

  • display image on mouse over in java script
    V varsh12

    hii.... I want to display my image on mouseover in a div tag thanx in advance

    Web Development java tools

  • java script code error
    V varsh12

    thnx for ur attention. but it gives same 16 errors: the error is : ;expected and if i remove the code it gives is erron on "onResize". said : not closed

    Web Development java javascript tools help
  • Login

  • Don't have an account? Register

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