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
  1. Home
  2. General Programming
  3. C#
  4. Password field in datagridview,C#

Password field in datagridview,C#

Scheduled Pinned Locked Moved C#
csharptutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sampath_dr
    wrote on last edited by
    #1

    Anyone please tell me how to add password column to datagridview in C#. :( :( :( :( :( :( thanks.

    R 1 Reply Last reply
    0
    • S sampath_dr

      Anyone please tell me how to add password column to datagridview in C#. :( :( :( :( :( :( thanks.

      R Offline
      R Offline
      Ravi Mori
      wrote on last edited by
      #2

      You need to convert the password column into a template column. Then using the smart tags, edit the template column and change the display of the textbox based on the type of data it is holding.

      S 1 Reply Last reply
      0
      • R Ravi Mori

        You need to convert the password column into a template column. Then using the smart tags, edit the template column and change the display of the textbox based on the type of data it is holding.

        S Offline
        S Offline
        sampath_dr
        wrote on last edited by
        #3

        // // dataGridView2 // this.dataGridView2.AllowUserToAddRows = false; this.dataGridView2.AllowUserToDeleteRows = false; this.dataGridView2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;this.dataGridView2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.inteSetupI, this.inteExtPlanTool, this.inteExtPlanToolDB, this.inteExtPlanToolUID, this.inteExtPlanToolPW}); this.dataGridView2.Location = new System.Drawing.Point(6, 6); this.dataGridView2.Name = "dataGridView2"; this.dataGridView2.Size = new System.Drawing.Size(716, 300); this.dataGridView2.TabIndex = 0; // // inteExtPlanToolPW // this.inteExtPlanToolPW.HeaderText = "External Planing Tool Password"; this.inteExtPlanToolPW.Name = "inteExtPlanToolPW"; this.inteExtPlanToolPW.Resizable = System.Windows.Forms.DataGridViewTriState.True; thank you ravimori to answer my question.this is my code.i want to use "inteExtPlanToolPW" culomn as password fild.can explain it with code.thank you.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

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