- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Hi People, I was trying to get data from xml file to my textBoxes in another form. But i get stuck.. all morning trying, searching on google, forums.. Im trying to on double click in listview item , call my AddPerson(Form) to edit that selected person.. but all ways i … |
|
Hi people, i need to delete selected row in ListView from xml file.. i have this code: private void tsBtnDeleteRow_Click(object sender, EventArgs e) { if (listView1.SelectedItems.Count == 0) return; XmlDocument xmlDoc = new XmlDocument(); xmlDoc.Load("diogomonteiro.xml"); //XmlNodeList newXMLNodes = xmlDoc.SelectNodes("/Pessoas/Pessoa[name=wd]"); PessoaListViewItem item = (PessoaListViewItem)listView1.SelectedItems[0]; string value = item.ToString(); if (item != … |
|
Hi People, Im trying to create a PersonChanged EventHandler.. i have this: public class Pessoa { private int _idade; private bool _isDeleted; public Pessoa() { // TODO: Complete member initialization } //Propriedades da Classe Pessoa (Nome, Profissão e Idade) public string id { get; set; } public string nome { … |
|
Form1.cs public partial class Form1 : Form { DataSet ds = new DataSet(); DataTable table = new DataTable(); //List<Pessoa> p = new List<Pessoa>(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { //Add Columns to DataTable (table) table.Columns.Add("Nome", typeof(string)); table.Columns.Add("Idade", typeof(string)); table.Columns.Add("Profissão", typeof(string)); table.Columns.Add("Signo", typeof(string)); table.Columns.Add("Morada", typeof(string)); … |
|
Hi again people, i have a datagridview with "Persons" hosted in a xml file. When i click ShowData button i get the "Persons" in datagridview. Also have a textbox control to filtering : private void toolStripTextBox1_TextChanged(object sender, EventArgs e) { try { //this code is used to search Name on … |
|
Hi again people, Who knows how to show value of the selectedRow in DataGridView on a messageBox? Thanks in advance. |
|
Hi People, im new here. I have a app to register CandidatesForJob.. i have a datagridview and i load data from xml file. I Have a object with data. But my boss sad me to associate each row to my object. Who can help me? That button , open my … |