<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Kommentare zu: Listview aus Datenbank fuellen / Tutorial Csharp .NET</title>
	<atom:link href="http://www.biggle.de/blog/listview-aus-datenbank-fuellen-tutorial-c-net/feed" rel="self" type="application/rss+xml" />
	<link>http://www.biggle.de/blog/listview-aus-datenbank-fuellen-tutorial-c-net</link>
	<description>Web- und Software Development</description>
	<lastBuildDate>Wed, 25 Jan 2012 12:05:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Von: Mario Priebe</title>
		<link>http://www.biggle.de/blog/listview-aus-datenbank-fuellen-tutorial-c-net/comment-page-1#comment-22838</link>
		<dc:creator>Mario Priebe</dc:creator>
		<pubDate>Sun, 06 Mar 2011 15:28:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.biggle.de/blog/?p=196#comment-22838</guid>
		<description>Hallo Jeanmy

Mit &quot;fahrtGLogic fahrten = new fahrtGLogic();&quot; erstellst (instanziierst) du eine neue Kopie der Klasse fahrtGLogic. In diesem Beispiel, welches auch schon recht alt ist, ist dieses Klasse leider nicht aufgeführt.</description>
		<content:encoded><![CDATA[<p>Hallo Jeanmy</p>
<p>Mit &#8220;fahrtGLogic fahrten = new fahrtGLogic();&#8221; erstellst (instanziierst) du eine neue Kopie der Klasse fahrtGLogic. In diesem Beispiel, welches auch schon recht alt ist, ist dieses Klasse leider nicht aufgeführt.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Jeanmy</title>
		<link>http://www.biggle.de/blog/listview-aus-datenbank-fuellen-tutorial-c-net/comment-page-1#comment-22833</link>
		<dc:creator>Jeanmy</dc:creator>
		<pubDate>Sun, 06 Mar 2011 13:37:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.biggle.de/blog/?p=196#comment-22833</guid>
		<description>Hi,
Ich komme da bei dem fahrtGLogic fahrten = new fahrtGLogic(); irgendwie nicht mehr weiter kann mir irgend jemand helfen.
Was bedeutet es überhaupt?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Ich komme da bei dem fahrtGLogic fahrten = new fahrtGLogic(); irgendwie nicht mehr weiter kann mir irgend jemand helfen.<br />
Was bedeutet es überhaupt?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Mario Priebe</title>
		<link>http://www.biggle.de/blog/listview-aus-datenbank-fuellen-tutorial-c-net/comment-page-1#comment-20089</link>
		<dc:creator>Mario Priebe</dc:creator>
		<pubDate>Thu, 13 Jan 2011 15:38:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.biggle.de/blog/?p=196#comment-20089</guid>
		<description>Hallo Micha, Du muss den Teil wo du die Items hinzufügst in eine Schleife packen, solange wie dein Reader die Datensätze einliest.

while(reader.Read())
{
   // hier items adden
}</description>
		<content:encoded><![CDATA[<p>Hallo Micha, Du muss den Teil wo du die Items hinzufügst in eine Schleife packen, solange wie dein Reader die Datensätze einliest.</p>
<p>while(reader.Read())<br />
{<br />
   // hier items adden<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Micha</title>
		<link>http://www.biggle.de/blog/listview-aus-datenbank-fuellen-tutorial-c-net/comment-page-1#comment-20084</link>
		<dc:creator>Micha</dc:creator>
		<pubDate>Thu, 13 Jan 2011 12:29:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.biggle.de/blog/?p=196#comment-20084</guid>
		<description>private void listviewFuellen()
        {
            try
            {
                con.Open();
                cmd.CommandText = &quot;select * from &quot; + tabelle; //??????????????  
                ausgabe();   
            }
            catch (Exception ex)
            {
                MessageBox.Show(&quot;ListViewFüllen: &quot; + ex.Message);
            }
            con.Close();
        }

        private void ausgabe()
        {
            try
            {
                reader = cmd.ExecuteReader();
            }
            catch (Exception ex) {
                MessageBox.Show(&quot;Ausgabe&quot; + ex.Message);
            }
            
            listView1.Items.Clear();
            listView1.Columns.Clear(); 
            listView1.Columns.Add(&quot;Datum&quot;, 100);
            listView1.Columns.Add(&quot;Firma&quot;, 100);
            listView1.Columns.Add(&quot;Bauleiter&quot;, 100);
            listView1.Columns.Add(&quot;Stunden&quot;, 100);
            
                foreach (Object text in reader)
                {
                    listView1.Items.Add(new ListViewItem(new String[4]
                    {
                      Convert.ToString(reader[&quot;Datum&quot;]), 
                      Convert.ToString(reader[&quot;Firma&quot;]),
                      Convert.ToString(reader[&quot;Bauleiter&quot;]),
                      Convert.ToString(reader[&quot;Stunden&quot;])
                    }
                    ));
                }
            
            reader.Close();
        }</description>
		<content:encoded><![CDATA[<p>private void listviewFuellen()<br />
        {<br />
            try<br />
            {<br />
                con.Open();<br />
                cmd.CommandText = &#8220;select * from &#8221; + tabelle; //??????????????<br />
                ausgabe();<br />
            }<br />
            catch (Exception ex)<br />
            {<br />
                MessageBox.Show(&#8220;ListViewFüllen: &#8221; + ex.Message);<br />
            }<br />
            con.Close();<br />
        }</p>
<p>        private void ausgabe()<br />
        {<br />
            try<br />
            {<br />
                reader = cmd.ExecuteReader();<br />
            }<br />
            catch (Exception ex) {<br />
                MessageBox.Show(&#8220;Ausgabe&#8221; + ex.Message);<br />
            }</p>
<p>            listView1.Items.Clear();<br />
            listView1.Columns.Clear();<br />
            listView1.Columns.Add(&#8220;Datum&#8221;, 100);<br />
            listView1.Columns.Add(&#8220;Firma&#8221;, 100);<br />
            listView1.Columns.Add(&#8220;Bauleiter&#8221;, 100);<br />
            listView1.Columns.Add(&#8220;Stunden&#8221;, 100);</p>
<p>                foreach (Object text in reader)<br />
                {<br />
                    listView1.Items.Add(new ListViewItem(new String[4]<br />
                    {<br />
                      Convert.ToString(reader["Datum"]),<br />
                      Convert.ToString(reader["Firma"]),<br />
                      Convert.ToString(reader["Bauleiter"]),<br />
                      Convert.ToString(reader["Stunden"])<br />
                    }<br />
                    ));<br />
                }</p>
<p>            reader.Close();<br />
        }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Von: Micha</title>
		<link>http://www.biggle.de/blog/listview-aus-datenbank-fuellen-tutorial-c-net/comment-page-1#comment-20082</link>
		<dc:creator>Micha</dc:creator>
		<pubDate>Thu, 13 Jan 2011 12:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.biggle.de/blog/?p=196#comment-20082</guid>
		<description>die listview wird immer nur mit dem ersten Element der Datenbank gefüllt, wo ist der Fehler????</description>
		<content:encoded><![CDATA[<p>die listview wird immer nur mit dem ersten Element der Datenbank gefüllt, wo ist der Fehler????</p>
]]></content:encoded>
	</item>
</channel>
</rss>

