<?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>Web Forms</title><link>http://forums.asp.net/18.aspx</link><description>All about building ASP.NET Pages - server controls, events, validation, etc.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3280278.aspx</link><pubDate>Wed, 08 Jul 2009 03:59:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3280278</guid><dc:creator>venkatu2005</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3280278.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3280278</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;alessandro:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;venkatu2005:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;As the above code bind using the bound coluem as it contains only itemtemplate which shows only the value ie: readonly you are not able to insert , edit the data on this template so you have to create the InsertItemtemplate for inserting , EditItemtemplate for Edit and update the data.&lt;/p&gt;
&lt;p&gt;So follow the link from the begining , work on the same way so only can do the above manipulation, as you written SqlDataSource its ok with all query (insert , update , delete)&lt;br /&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I have had to slap my forehead &lt;strike&gt;forehad&lt;/strike&gt; a few times at how wrong every solution you&amp;nbsp;have provided is. ahh the blind helping the blind! My head hurts. It&amp;#39;s ok to not know. If you do not, simply&amp;nbsp;let someone more knowledgable to help.&amp;nbsp;If you are wrong, say you are wrong. &lt;/p&gt;
&lt;p&gt;Back to the problem, venkatu, you will agree that, while the poster has the boundfield specified as readonly, he has the parameter set in datakeynames. His back is pretty much covered in the value being passed to his updatemethod. Also the value won&amp;#39;t be required during an insert operation. so, why are you suggesting templatefields?&lt;/p&gt;
&lt;p&gt;You present an alternate solution instead of offering to help the poster with the current problem at hand.&lt;/p&gt;
&lt;p&gt;Also I don&amp;#39;t understand what the poster is so happy about to mark you as answer at this point! I&amp;#39;m disappointed :(&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The only real issue is the one hans points out. There are just way too many placeholders, more than the number of parameters in the updateparameters collection specified by the original poster. This is as clear as the sun imho&lt;/p&gt;
&lt;p&gt;Spot on hans!&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;If i had mistake i will correct it , suppose i do no the answer i left it so someone else answer these , where i has any argument regard my post anywhere --- as i told on first post using itemtemplate you can make it easy be to place the control and also user can format his control as he wish.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3280221.aspx</link><pubDate>Wed, 08 Jul 2009 03:20:27 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3280221</guid><dc:creator>NYVolvoLvr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3280221.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3280221</wfw:commentRss><description>&lt;p&gt;Thanks for the input guys, I&amp;#39;ll work on Hans solution and see what happens.&lt;/p&gt;
&lt;p&gt;Thanks again...&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3279389.aspx</link><pubDate>Tue, 07 Jul 2009 15:27:34 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3279389</guid><dc:creator>alessandro</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3279389.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3279389</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;venkatu2005:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;As the above code bind using the bound coluem as it contains only itemtemplate which shows only the value ie: readonly you are not able to insert , edit the data on this template so you have to create the InsertItemtemplate for inserting , EditItemtemplate for Edit and update the data.&lt;/p&gt;
&lt;p&gt;So follow the link from the begining , work on the same way so only can do the above manipulation, as you written SqlDataSource its ok with all query (insert , update , delete)&lt;br /&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I have had to slap my forehead &lt;strike&gt;forehad&lt;/strike&gt; a few times at how wrong every solution you&amp;nbsp;have provided is. ahh the blind helping the blind! My head hurts. It&amp;#39;s ok to not know. If you do not, simply&amp;nbsp;let someone more knowledgable to help.&amp;nbsp;If you are wrong, say you are wrong. &lt;/p&gt;
&lt;p&gt;Back to the problem, venkatu, you will agree that, while the poster has the boundfield specified as readonly, he has the parameter set in datakeynames. His back is pretty much covered in the value being passed to his updatemethod. Also the value won&amp;#39;t be required during an insert operation. so, why are you suggesting templatefields?&lt;/p&gt;
&lt;p&gt;You present an alternate solution instead of offering to help the poster with the current problem at hand.&lt;/p&gt;
&lt;p&gt;Also I don&amp;#39;t understand what the poster is so happy about to mark you as answer at this point! I&amp;#39;m disappointed :(&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The only real issue is the one hans points out. There are just way too many placeholders, more than the number of parameters in the updateparameters collection specified by the original poster. This is as clear as the sun imho&lt;/p&gt;
&lt;p&gt;Spot on hans!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3276521.aspx</link><pubDate>Mon, 06 Jul 2009 10:16:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3276521</guid><dc:creator>hans_v</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3276521.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3276521</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;venkatu2005:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;There is a parameter called Terminal - have you find its different- check&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;WHERE (([Terminal] = @&lt;b&gt;Terminal&lt;/b&gt;) OR ([Terminal] IS NULL AND&amp;nbsp;@Terminal IS NULL))&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t get you want to say? I see a parameter @Terminal that is used twice. Like I said, if you have another solution for the error message, please explain but don&amp;#39;t write riddles, It won&amp;#39;t help anybody!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3276502.aspx</link><pubDate>Mon, 06 Jul 2009 10:06:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3276502</guid><dc:creator>venkatu2005</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3276502.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3276502</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;hans_v:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;venkatu2005:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;/p&gt;&lt;p&gt;UpdateCommand=&amp;quot;UPDATE [Castrminfo] SET [Employee ID] = @&lt;b&gt;EmployeeID&lt;/b&gt;, [First Name] = @&lt;b&gt;FirstName&lt;/b&gt;, [Last Name] = @&lt;b&gt;LastName&lt;/b&gt;, [Terminal Name] =&amp;nbsp;@&lt;b&gt;TerminalName &lt;/b&gt;WHERE (([Terminal] = @&lt;b&gt;Terminal&lt;/b&gt;) OR ([Terminal] IS NULL AND&amp;nbsp;@Terminal IS NULL))&amp;quot;&lt;/p&gt;
&lt;p&gt;could you count the parameter&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Off course. I see 6 parameters (you forgot to highlight the last), but the last 2 are treated as&amp;nbsp;the same,&amp;nbsp;because I named them! In his original UpdateCommand, the questionmarks are treated as 6 different parameter, parameter as the first @terminal parameter, which is the cause of the error &amp;#39;No value given for one or more parameters&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;UpdateCommand=&amp;quot;UPDATE [Castrminfo] SET [Employee ID] = @&lt;b&gt;Paremeter1&lt;/b&gt;, [First Name] = @&lt;b&gt;Parameter2&lt;/b&gt;, [Last Name] = @&lt;b&gt;Parameter3&lt;/b&gt;, [Terminal Name] =&amp;nbsp;@&lt;b&gt;Parameter4 &lt;/b&gt;WHERE (([Terminal] = @&lt;b&gt;Parameter5&lt;/b&gt;) OR ([Terminal] IS NULL AND&amp;nbsp;&lt;b&gt;@Parameter5&lt;/b&gt; IS NULL))&amp;quot;&lt;/p&gt;
&lt;p&gt;But if you don&amp;#39;t agree, please explain the cause of the error?&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;There is a parameter called Terminal - have you find its different- check&lt;br /&gt;&lt;/p&gt;&lt;p&gt;WHERE (([Terminal] = @&lt;b&gt;Terminal&lt;/b&gt;) OR ([Terminal] IS NULL AND&amp;nbsp;@Terminal IS NULL))&amp;quot;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3276475.aspx</link><pubDate>Mon, 06 Jul 2009 09:55:08 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3276475</guid><dc:creator>hans_v</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3276475.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3276475</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;venkatu2005:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;UpdateCommand=&amp;quot;UPDATE [Castrminfo] SET [Employee ID] = @&lt;b&gt;EmployeeID&lt;/b&gt;, [First Name] = @&lt;b&gt;FirstName&lt;/b&gt;, [Last Name] = @&lt;b&gt;LastName&lt;/b&gt;, [Terminal Name] =&amp;nbsp;@&lt;b&gt;TerminalName &lt;/b&gt;WHERE (([Terminal] = @&lt;b&gt;Terminal&lt;/b&gt;) OR ([Terminal] IS NULL AND&amp;nbsp;@Terminal IS NULL))&amp;quot;&lt;/p&gt;
&lt;p&gt;could you count the parameter&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Off course. I see 6 parameters (you forgot to highlight the last), but the last 2 are treated as&amp;nbsp;the same,&amp;nbsp;because I named them! In his original UpdateCommand, the questionmarks are treated as 6 different parameter,&amp;nbsp;which is the cause of the error &amp;#39;No value given for one or more parameters&amp;#39;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;UpdateCommand=&amp;quot;UPDATE [Castrminfo] SET [Employee ID] = @&lt;b&gt;Paremeter1&lt;/b&gt;, [First Name] = @&lt;b&gt;Parameter2&lt;/b&gt;, [Last Name] = @&lt;b&gt;Parameter3&lt;/b&gt;, [Terminal Name] =&amp;nbsp;@&lt;b&gt;Parameter4 &lt;/b&gt;WHERE (([Terminal] = @&lt;b&gt;Parameter5&lt;/b&gt;) OR ([Terminal] IS NULL AND&amp;nbsp;&lt;strong&gt;@Parameter5&lt;/strong&gt; IS NULL))&amp;quot;&lt;/p&gt;
&lt;p&gt;But if you don&amp;#39;t agree, please explain the cause of the error?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3275931.aspx</link><pubDate>Mon, 06 Jul 2009 04:49:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3275931</guid><dc:creator>venkatu2005</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3275931.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3275931</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;hans_v:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;venkatu2005:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;/p&gt;&lt;p&gt;And also &lt;b&gt;check the Update Parameter contains only 4 parameter , you have to pass the 5 parameter &lt;/b&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I really don&amp;#39;t follow you. He passes 5 paramters, the problme is that he has 6 parameters in his update command.&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;UpdateCommand=&amp;quot;UPDATE [Castrminfo] SET [Employee ID] = @&lt;b&gt;EmployeeID&lt;/b&gt;,
[First Name] = @&lt;b&gt;FirstName&lt;/b&gt;, [Last Name] = @&lt;b&gt;LastName&lt;/b&gt;, [Terminal Name]
=&amp;nbsp;@&lt;b&gt;TerminalName &lt;/b&gt;WHERE (([Terminal] = @&lt;b&gt;Terminal&lt;/b&gt;) OR ([Terminal] IS NULL
AND&amp;nbsp;@Terminal IS NULL))&amp;quot;&lt;/p&gt;&lt;p&gt;could you count the parameter&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3274621.aspx</link><pubDate>Sat, 04 Jul 2009 12:15:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274621</guid><dc:creator>hans_v</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274621.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3274621</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;venkatu2005:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;hans_v:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;
&lt;p&gt;Are you really sure? I think you should try it, you&amp;#39;ll be up for a big surprise. &lt;img title="Surprised" border="0" alt="Surprised" src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif" /&gt;&lt;/p&gt;
&lt;p&gt;A BoundField will create a textbox in both edit an insert state of the detailsview and in the edit state of a gridview, unless you change some settings&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;OfCourse , but i am not work out with boundfield , but i will prefer to use Itemtemplate to show the data in some format.&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You presented it not as a preference, but as a solution to the problem, which obviously it is not&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;venkatu2005:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;And also &lt;b&gt;check the Update Parameter contains only 4 parameter , you have to pass the 5 parameter &lt;/b&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;I really don&amp;#39;t follow you. He passes 5 paramters, the problme is that he has 6 parameters in his update command.&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;shahed.kazi:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;You have 2 update parameters Terminal and Terminal_Name and you have only parameter in the UpdateCommand.&lt;br /&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No, he uses both Terminal and Terminal_Name fields&amp;nbsp;in the UpdateCommand. The problem, as I earlier explained, is that his intention is to use the&amp;nbsp;Terminal parameter twice. In that case he should gove names to the questionmarks.&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3274393.aspx</link><pubDate>Sat, 04 Jul 2009 07:26:37 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274393</guid><dc:creator>shahed.kazi</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274393.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3274393</wfw:commentRss><description>&lt;p&gt;You have 2 update parameters Terminal and Terminal_Name and you have only parameter in the UpdateCommand.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3274329.aspx</link><pubDate>Sat, 04 Jul 2009 06:25:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274329</guid><dc:creator>manjeetrocks</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274329.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3274329</wfw:commentRss><description>&lt;p&gt;You need to write parameters for Gridview.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3274318.aspx</link><pubDate>Sat, 04 Jul 2009 06:17:44 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3274318</guid><dc:creator>venkatu2005</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3274318.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3274318</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;hans_v:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Are you really sure? I think you should try it, you&amp;#39;ll be up for a big surprise. &lt;img title="Surprised" alt="Surprised" src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;A BoundField will create a textbox in both edit an insert state of the detailsview and in the edit state of a gridview, unless you change some settings&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;OfCourse , but i am not work out with boundfield , but i will prefer to use Itemtemplate to show the data in some format.&lt;/p&gt;&lt;p&gt;And also &lt;b&gt;check the Update Parameter contains only 4 parameter , you have to pass the 5 parameter &lt;/b&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3273763.aspx</link><pubDate>Fri, 03 Jul 2009 15:30:26 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273763</guid><dc:creator>hans_v</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273763.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3273763</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;venkatu2005:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;As the above code bind using the bound coluem as it contains only itemtemplate &lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you really sure? I think you should try it, you&amp;#39;ll be up for a big surprise. &lt;img title="Surprised" border="0" alt="Surprised" src="http://forums.asp.net/tiny_mce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif" /&gt;&lt;/p&gt;
&lt;p&gt;A BoundField will create a textbox in both edit an insert state of the detailsview and in the edit state of a gridview, unless you change some settings&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3273762.aspx</link><pubDate>Fri, 03 Jul 2009 15:25:49 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3273762</guid><dc:creator>hans_v</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3273762.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3273762</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Well, the answer to the problem is quit simple. Count the amount of parameters in your Update Command ( 6 ) and the amount of parameters in the parametercollection (5). Access (or better said the Jet Database Engine) doesn&amp;#39;t understand that you mean&amp;nbsp;the last 2 questionmarks are in fact the same parameter. Every questionmark is treated as a new parameter, so you need to specify 6 parameters. The best way to solve it is to name the parameters when you need the same parameter multiple times...&lt;/p&gt;
&lt;p&gt;UpdateCommand=&amp;quot;UPDATE [Castrminfo] SET [Employee ID] = @EmployeeID, [First Name] = @FirstName, [Last Name] = @LastName, [Terminal Name] =&amp;nbsp;@TerminalName WHERE (([Terminal] = @Terminal) OR ([Terminal] IS NULL AND&amp;nbsp;@Terminal IS NULL))&amp;quot;&lt;/p&gt;
&lt;p&gt;Now you&amp;#39;ve only 5 parameters, so the error should be gone. But if it works is a big question. Because you have terminal as the datakeyname of the detailsview, which means that it is the primary key. But if it is the Primary Key, why are you checking if it is Null, because a primary key cannot be null? It looks to me that EmployeeID is in fact the Primary Key???&lt;/p&gt;
&lt;p&gt;By the way, when specifying the DataFile, you could replace &lt;/p&gt;
&lt;p&gt;C:\Documents&amp;nbsp;and&amp;nbsp;Settings\User\Desktop\Access&amp;nbsp;Database\Access&amp;nbsp;Edit\App_Data&lt;/p&gt;
&lt;p&gt;With&lt;/p&gt;
&lt;p&gt;|DataDirectory|&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3272682.aspx</link><pubDate>Fri, 03 Jul 2009 05:09:51 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3272682</guid><dc:creator>venkatu2005</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3272682.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3272682</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;NYVolvoLvr:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;m sure the resource you provided has the information I need, its just a matter of me understanding it and executing.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Any additional help you could provide would be appreciated!&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;&lt;p&gt;As the above code bind using the bound coluem as it contains only itemtemplate which shows only the value ie: readonly you are not able to insert , edit the data on this template so you have to create the InsertItemtemplate for inserting , EditItemtemplate for Edit and update the data.&lt;/p&gt;&lt;p&gt;So follow the link from the begining , work on the same way so only can do the above manipulation, as you written SqlDataSource its ok with all query (insert , update , delete)&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: No value given for one or more required parameters</title><link>http://forums.asp.net/thread/3271402.aspx</link><pubDate>Thu, 02 Jul 2009 13:15:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3271402</guid><dc:creator>NYVolvoLvr</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3271402.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3271402</wfw:commentRss><description>&lt;p&gt;Thanks for the reply, went to the website you referenced above and spent a few hours on it and couldnt get it to work.&amp;nbsp; The problem I ran into was the coding produced by the application doesnt look much like what was in the website link, the coding was unfamiliar, would it make sense to start from scratch and manually enter the code as per the codeasp.net article?&amp;nbsp; I was also unsure where to insert the methods such as UpdateRecord.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure the resource you provided has the information I need, its just a matter of me understanding it and executing.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Any additional help you could provide would be appreciated!&lt;/p&gt;</description></item></channel></rss>