Click here to Skip to main content
15,898,373 members
Home / Discussions / C#
   

C#

 
AnswerRe: DateTime.TryParse() - what is the defined behaviour? Pin
Pete O'Hanlon9-Apr-08 1:16
mvePete O'Hanlon9-Apr-08 1:16 
GeneralRe: DateTime.TryParse() - what is the defined behaviour? Pin
Luc Pattyn9-Apr-08 2:40
sitebuilderLuc Pattyn9-Apr-08 2:40 
GeneralRe: DateTime.TryParse() - what is the defined behaviour? Pin
Pete O'Hanlon9-Apr-08 2:57
mvePete O'Hanlon9-Apr-08 2:57 
GeneralRe: DateTime.TryParse() - what is the defined behaviour? Pin
Neophyte309-Apr-08 22:00
Neophyte309-Apr-08 22:00 
GeneralRe: DateTime.TryParse() - what is the defined behaviour? Pin
Luc Pattyn10-Apr-08 1:12
sitebuilderLuc Pattyn10-Apr-08 1:12 
QuestionGtalk Message Functionality.. Pin
ptr2void9-Apr-08 0:59
ptr2void9-Apr-08 0:59 
GeneralRe: Gtalk Message Functionality.. Pin
Pete O'Hanlon9-Apr-08 1:48
mvePete O'Hanlon9-Apr-08 1:48 
GeneralRemove DataGridView items Pin
bdiepeveen9-Apr-08 0:19
bdiepeveen9-Apr-08 0:19 
I'm in need of some assistance i finish creating an DataGridView and it gets DirectoryInfo from the desginated Directory
my code looks as following:
  private void ReceivedFiles_InitColumns(ref DataGridView value)<br />
        {<br />
            value.Columns.Clear();<br />
            dgv.AutoGenerateColumns = false;<br />
            <br />
            DataGridViewTextBoxColumn col = DataGridView_CreateColumn();<br />
            col.DataPropertyName = "FullName";<br />
            col.Name = "Naam";<br />
            col.ReadOnly = true;<br />
            value.Columns.Add(col);<br />
<br />
            DataGridViewTextBoxColumn col1 = DataGridView_CreateColumn();<br />
            col1.DataPropertyName = "extension";<br />
            col1.Name = "Extensie";<br />
            col1.ReadOnly = true;<br />
            value.Columns.Add(col1);<br />
<br />
            DataGridViewTextBoxColumn col2 = DataGridView_CreateColumn();<br />
            col2.DataPropertyName = "LastAccessTime";<br />
            col2.Name = " Laast Gebruikt";<br />
            col2.ReadOnly = true;<br />
            value.Columns.Add(col2);            <br />
        }


Tough now i need when i select and item from the DataGridView that i can remove an entry.
i already tryed :
private void btnDel_Click(object sender, EventArgs e)<br />
      {<br />
        dgv.Rows.Remove(dgv.Rows[dgv.RowCount -1]);<br />
      }<br />


but that doenst work because i need IBindingList
if someone know how to get and remove entry function or some advise on how i could change my code so it works i appricate it Smile | :)

Thanks in Advance
Ben
AnswerRe: Remove DataGridView items Pin
Eslam Afifi9-Apr-08 7:25
Eslam Afifi9-Apr-08 7:25 
GeneralRe: Remove DataGridView items Pin
bdiepeveen9-Apr-08 20:55
bdiepeveen9-Apr-08 20:55 
GeneralRe: Remove DataGridView items Pin
Eslam Afifi10-Apr-08 6:06
Eslam Afifi10-Apr-08 6:06 
GeneralRe: Remove DataGridView items Pin
bdiepeveen10-Apr-08 21:01
bdiepeveen10-Apr-08 21:01 
AnswerRe: Remove DataGridView items Pin
Eslam Afifi11-Apr-08 1:35
Eslam Afifi11-Apr-08 1:35 
GeneralReportViewer cant open Report simulteniously Pin
bhushan0978-Apr-08 23:42
bhushan0978-Apr-08 23:42 
GeneralAdd a list of System.Drawing.Color as a property Pin
Rey99998-Apr-08 23:39
Rey99998-Apr-08 23:39 
GeneralRe: Add a list of System.Drawing.Color as a property Pin
Christian Graus9-Apr-08 0:07
protectorChristian Graus9-Apr-08 0:07 
GeneralRe: Add a list of System.Drawing.Color as a property Pin
Rey99999-Apr-08 2:20
Rey99999-Apr-08 2:20 
GeneralRe: Add a list of System.Drawing.Color as a property Pin
Giorgi Dalakishvili9-Apr-08 4:06
mentorGiorgi Dalakishvili9-Apr-08 4:06 
GeneralRe: Add a list of System.Drawing.Color as a property Pin
Giorgi Dalakishvili9-Apr-08 0:08
mentorGiorgi Dalakishvili9-Apr-08 0:08 
GeneralAVI file Pin
arshan8-Apr-08 23:28
arshan8-Apr-08 23:28 
GeneralRe: AVI file Pin
Christian Graus8-Apr-08 23:58
protectorChristian Graus8-Apr-08 23:58 
GeneralRe: AVI file Pin
J4amieC8-Apr-08 23:59
J4amieC8-Apr-08 23:59 
GeneralRe: AVI file Pin
Eduard Keilholz9-Apr-08 0:11
Eduard Keilholz9-Apr-08 0:11 
GeneralRe: AVI file Pin
J4amieC9-Apr-08 0:50
J4amieC9-Apr-08 0:50 
GeneralCross-thread operation Pin
mehrdadc488-Apr-08 22:51
mehrdadc488-Apr-08 22:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.