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
N

Nidhi s

@Nidhi s
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • need to convert some VB variable into C#
    N Nidhi s

    Hi, To convert any VB code to c# this link is very usefull: //www.developerfusion.co.uk/utilities/convertvbtocsharp.aspx well C#conversion of your VB code will be following: [System.Runtime.InteropServices.DllImport("GDI32")] private static extern OLE_COLOR GetPixel(long hDC, long XCord, long YCord); [System.Runtime.InteropServices.DllImport("USER32")] private static extern long GetWindowDC(long hwnd); [System.Runtime.InteropServices.DllImport("USER32")] private static extern long ReleaseDC(long hwnd, long hDC); [System.Runtime.InteropServices.DllImport("USER32")] private static extern long GetDesktopWindow();

    C# csharp com help

  • dataview sort is not working.
    N Nidhi s

    If you have Spaces in your field names or Reserved words then you have to put field name in [] to get it to work.I think it should work like this: DataView dv = ds.Tables[0].DefaultView; dv.Sort = "[AVG_VALUE]DESC";

    C# algorithms

  • Dynamically created Validation controls
    N Nidhi s

    I have dynamically created the textboxes .Now I want to add a Requiredfield validator with a txtbox. I am trying like this: TextBox txtBoxReEnterPassword = new TextBox(); ---Some other Code---- RequiredFieldValidator rfldValidator = new RequiredFieldValidator(); rfldValidator.Text = "Enter same Password"; rfldValidator.ID = "compvaldtor"; rfldValidator.ErrorMessage = "Enter Password"; rfldValidator.ControlToValidate = "txtReEnterPassword"; txtBoxReEnterPassword.Controls.Add(rfldValidator); But it's not working.

    C#

  • Count specified character
    N Nidhi s

    hi You can try this string str="ABC.ABC.ABC"; string[] strSplited=str.split('.'); If you don't have dot in end of string then int NoOfDots=strSplited.length-1; otherwise int NoOfDots=strSplited.length;

    C# tutorial question

  • ques: what does a dataset returns ?
    N Nidhi s

    If No rows in dataset it will return a empty table. Accessing the dataset table: ds.Tables[0]; ds.Tables[0].Rows[index][columnName];

    C# csharp 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