<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tags 'Updateing' and 'Gridview'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=Updateing%2cGridview&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tags 'Updateing' and 'Gridview'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Updating Gridview, Business Object, hide identity column</title><link>http://forums.asp.net/thread/1611910.aspx</link><pubDate>Thu, 08 Mar 2007 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:1611910</guid><dc:creator>BasketballMike</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I created a BLL Class&amp;nbsp; "SubmitTime.cs" &amp;amp; BusObjDataSource control very similar to the TimeEntry class and&amp;nbsp;ProjectListDataSource found on TimeEntry.aspx.&amp;nbsp; The select and update functions are very similar to the timeEntry select and update functions.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I wired up a gridview, my SubmitTime class and my select and update methods.&amp;nbsp; Everything works fine until I try hide the identity column (Which I use in my Update stored procedure in the DAL).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;When I edit the column, and set&amp;nbsp; read only&amp;nbsp; = &lt;strong&gt;true&lt;/strong&gt; or visible = &lt;strong&gt;false&lt;/strong&gt;, the updates don't work.&amp;nbsp; My id column is not getting passed to the BusObjDataSource when it's hidden or read only.&lt;/p&gt;
&lt;p&gt;How can I hide this column and still pass the parameter?&amp;nbsp; Any help would be appreciated.&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;</description></item></channel></rss>