﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" 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/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebGrid Enterprise - How to retreive Selected row cell(x) value Server Side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-retreive-Selected-row-cellx-value-Server-Side/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>How to retreive Selected row cell(x) value Server Side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-retreive-Selected-row-cellx-value-Server-Side/</link><pubDate>Sun, 29 Jul 2012 21:15:57 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;pre&gt;foreach (type identifier in expression) statement&lt;/pre&gt;&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;The &lt;em&gt;keyValue&lt;/em&gt; acts as the identifier of the foreach statement.
It is the iteration variable that represents the collection element.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family: 'segoe ui','sans-serif'; color: #1f497d; font-size: 9pt;"&gt;Could you please provide me with more information about the requirement to assign the keyValue so that I can assist you further?&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to retreive Selected row cell(x) value Server Side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-retreive-Selected-row-cellx-value-Server-Side/</link><pubDate>Thu, 26 Jul 2012 12:03:42 GMT</pubDate><dc:creator>Andre</dc:creator><description>&lt;p&gt;How do you assign the Keyvalue?&lt;/p&gt;</description></item><item><title>How to retreive Selected row cell(x) value Server Side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-retreive-Selected-row-cellx-value-Server-Side/</link><pubDate>Wed, 16 Dec 2009 08:05:05 GMT</pubDate><dc:creator>lud310</dc:creator><description>&lt;p&gt;It worked! Thank you very much.&lt;/p&gt;</description></item><item><title>How to retreive Selected row cell(x) value Server Side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-retreive-Selected-row-cellx-value-Server-Side/</link><pubDate>Wed, 09 Dec 2009 21:23:01 GMT</pubDate><dc:creator>andi@intersoftpt.com</dc:creator><description>&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Hi Mark,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yes it is possible. In way to do so, you need to retrieve the value on each cell by the key value. Here are the sample code that I made in server side.&lt;/span&gt;&lt;/p&gt;&lt;pre&gt;protected void Button1_Click(object sender, EventArgs e)
{
        TextBox1.Text = "Checked rows are : \n";
        
        foreach (string keyValue in WebGrid1.RootTable.GetCheckedRows()) // get checked rows
        {
             
            for (int x = 1; x &amp;lt; 11;x&amp;#43;&amp;#43; )
            {

                TextBox1.Text &amp;#43;= WebGrid1.RootTable.Rows.GetRowByKeyValue  			       (keyValue).Cells[x].Value &amp;#43; ",";
            }

            TextBox1.Text &amp;#43;= "\n\n";
        }
}&lt;/pre&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I hope it helps and please do not hesitate to ask if you have any more questions.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size: 9pt"&gt;Thank you,&lt;br /&gt;Andi Santoso&lt;/span&gt;&lt;/p&gt;</description></item><item><title>How to retreive Selected row cell(x) value Server Side</title><link>http://www.intersoftsolutions.com/Community/WebGrid/How-to-retreive-Selected-row-cellx-value-Server-Side/</link><pubDate>Tue, 08 Dec 2009 23:44:38 GMT</pubDate><dc:creator>lud310</dc:creator><description>&lt;p&gt;Could  you please provide an example of how to read cell values of the selected row(s)  with checkbox column(s)  Server Side inside  WebGrid....  It must be possible!&lt;/p&gt;
&lt;p&gt;Thank you in advance for you suggestions.&lt;/p&gt;</description></item></channel></rss>