Small Business Starter Kithttp://forums.asp.net/1092.aspx/1?Small+Business+Starter+KitDiscussions about the Small Business Starter Kit for ASP.NET 2.0.Sun, 17 Feb 2013 17:16:56 -0500urn:uuid:00000000-0000-0000-0000-000000001092urn:uuid:00000000-0000-0000-0000-000005304973http://forums.asp.net/p/1883334/5304973.aspx/1?How+to+do+product+suggestion+like+that+of+amazon+How to do product suggestion like that of amazon? Such as customers who bought this also bought blah blah. Is there any existing framework that helps us do this? Thank you! 2013-02-17T15:47:21-05:002013-02-17T15:47:21.233-05:00urn:uuid:00000000-0000-0000-0000-000005277295http://forums.asp.net/p/1876795/5277295.aspx/1?How+change+modified+menu1+How change/modified menu1? <p>Hi all...</p> <p>i'm new in ASP.NET.Please guide me how to change menu1 as in picture.</p> <p><img src="http://imageshack.us/photo/my-images/407/howeditmenu1.jpg/"></p> <p>as example how to change &quot;item&quot; word &nbsp;to &quot;product&quot;.Thank you</p> <p><img src="http://img407.imageshack.us/img407/4154/howeditmenu1.jpg"></p> 2013-01-21T15:04:26-05:002013-01-21T15:04:26.06-05:00urn:uuid:00000000-0000-0000-0000-000004615256http://forums.asp.net/p/1724678/4615256.aspx/1?nooob+needs+helpnooob needs help <p>can anyone help me here. I had the starter kit running on my old xp work pc and am trying to use my new win7pc ive built.</p> <p>I copied all my old data files, downloadd my relevant prgms and installed the small busiess starter template and updated the files.</p> <p>i have somehow managed to get it working and published on localhost and it displays all fine. but on the pages login screen when i put my details in i get the following error</p> <h1>Server Error in '/' Application.</h1> <hr size="1" width="100%" color="silver"> <h2><i>Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.</i></h2> <p><span face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif " style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif"><span face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif " style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif"><b>Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br> <br> <b>Exception Details: </b>System.Data.SqlClient.SqlException: Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.<br> <br> <b>Source Error:</b> <br> <br> </span></span></p> <table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td><pre class="prettyprint">An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</pre></td> </tr> </tbody> </table> <p><span style="font-family: Arial,Helvetica,Geneva,SunSans-Regular,sans-serif;" face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><span style="font-family: Arial,Helvetica,Geneva,SunSans-Regular,sans-serif;" face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "><br /> <b>Stack Trace:</b> <br /><br /></span></span></p> <table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td> <pre>[SqlException (0x80131904): Failed to generate a user instance of SQL Server due to failure in retrieving the user's local application data path. Please make sure the user has a local user profile on the computer. The connection will be closed.] System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +4849015 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +194 System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2394 System.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK) +35 System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +144 System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +342 System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +221 System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +189 System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +4863459 System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +31 System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +433 System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +499 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117 System.Data.SqlClient.SqlConnection.Open() +122 System.Web.DataAccess.SqlConnectionHolder.Open(HttpContext context, Boolean revertImpersonate) +87 System.Web.DataAccess.SqlConnectionHelper.GetConnection(String connectionString, Boolean revertImpersonation) +221 System.Web.Security.SqlMembershipProvider.GetPasswordWithFormat(String username, Boolean updateLastLoginActivityDate, Int32&amp; status, String&amp; password, Int32&amp; passwordFormat, String&amp; passwordSalt, Int32&amp; failedPasswordAttemptCount, Int32&amp; failedPasswordAnswerAttemptCount, Boolean&amp; isApproved, DateTime&amp; lastLoginDate, DateTime&amp; lastActivityDate) +815 System.Web.Security.SqlMembershipProvider.CheckPassword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved, String&amp; salt, Int32&amp; passwordFormat) +105 System.Web.Security.SqlMembershipProvider.CheckPassword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved) +42 System.Web.Security.SqlMembershipProvider.ValidateUser(String username, String password) +78 System.Web.UI.WebControls.Login.AuthenticateUsingMembershipProvider(AuthenticateEventArgs e) +60 System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +119 System.Web.UI.WebControls.Login.AttemptLogin() +115 System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +101 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565 </pre> </td> </tr> </tbody> </table> 2011-09-27T09:59:27-04:002011-09-27T09:59:27.867-04:00urn:uuid:00000000-0000-0000-0000-000005075781http://forums.asp.net/p/1826207/5075781.aspx/1?menu+does+not+display+correctly+on+smart+phonesmenu does not display correctly on smart phones <p>anyone have a guess as to why the menu gets &quot;smushed&quot; to the right and cut off when viewed on smart phones???</p> <p>everything else displays correctly</p> <p></p> <p></p> 2012-07-20T20:12:23-04:002012-07-20T20:12:23.63-04:00urn:uuid:00000000-0000-0000-0000-000005070161http://forums.asp.net/p/1824896/5070161.aspx/1?drop+down+menu+drop down menu? <p>i am trying to get the menu to have sub-items. i set the maximum sub-drop-down items to &quot;1&quot; and now i am able to have working submenus. however......can anyone explain to me how to set the background image and/or color for the subitems? it is inheriting the background image for the entire menu control itself:</p> <p><img src="http://adnomads.com/images/dropdownprob.jpg"></p> <p>i'm assuming i need a new entry in the CSS somewhere but i don't know how to set it in the html table that houses the menu items.</p> <p></p> <p></p> 2012-07-17T16:46:41-04:002012-07-17T16:46:41.903-04:00urn:uuid:00000000-0000-0000-0000-000004725819http://forums.asp.net/p/1748498/4725819.aspx/1?Open+Source+LMSOpen Source LMS <p>Is there anyone who knows the best open source Learning Management System (LMS) based on ASP.NET?</p> 2011-12-11T11:09:02-05:002011-12-11T11:09:02.99-05:00urn:uuid:00000000-0000-0000-0000-000004967158http://forums.asp.net/p/1800470/4967158.aspx/1?Visual+Studio+2010+and+Small+Business+Starter+Kit+problem+Visual Studio 2010 and Small Business Starter Kit problem. <p>Hi and thanks for reading this. I have downloaded all the Starter Kits and installed them in Visual Studio 2010 Prof. Apart from the Classified Adds Starter Kit, with which I can choose as a new Web Site and compile&nbsp;and run it, none of the other kits will allow me to create a new Web Site. When I select them an error occurs. Strangely enough, if I unzip the other Starter Kits, I am able to open them as a Web Site, compile and run them. Does anyone know how to allow any of the erroring Starter Kits to be used in Visual Studio 2010?&nbsp;</p> <p>I am running Windows 7 Ultimate.</p> <p>Thanks</p> 2012-05-05T17:14:08-04:002012-05-05T17:14:08.6-04:00urn:uuid:00000000-0000-0000-0000-000005022678http://forums.asp.net/p/1813501/5022678.aspx/1?General+question+about+starter+kitsGeneral question about starter kits <p>Hello</p> <p>I am new to the asp.net. I use asp.net with vb. I just started building a business application.&nbsp;</p> <p>Even though I can deal with the coding, I am not good with design of the web site (as bad as my english lol. )</p> <p>Now, I see there are starter kits that are supported with asp.net web developers and others like orchard cms application.&nbsp;</p> <p>So, I am wondering, is it a good idea to work with one of these starter kits to have a design and code foundation. Then on top of these CMS like applications I have to build my application.&nbsp;</p> <p>I hope I was clear with my question. Ultimately I don't want to deal with web site design except coding the application side of it.&nbsp;</p> <p>Thanks in advance.&nbsp;</p> 2012-06-12T19:36:37-04:002012-06-12T19:36:37.573-04:00urn:uuid:00000000-0000-0000-0000-000004966210http://forums.asp.net/p/1800276/4966210.aspx/1?Treeview+does+Not+work+for+more+that+5+parent+categoriesTreeview does Not work for more that 5 parent categories <p>&nbsp;&nbsp; added&nbsp;a new category to the items.xml, as follows, however the TREEVIEW is not available for the new category (cat06) and for consequence it does not expand to show the childitems.&nbsp;&nbsp;I have spent lots of hours trying to figure out where is the problem and i can't seem to solve it. Please Advise.</p> <p>&lt;category&gt;<br> &nbsp;&nbsp;&nbsp; &lt;id&gt;c05&lt;/id&gt;<br> &nbsp;&nbsp;&nbsp; &lt;visible&gt;true&lt;/visible&gt;<br> &nbsp;&nbsp;&nbsp; &lt;title&gt;Sagres&lt;/title&gt;<br> &nbsp;&nbsp;&nbsp; &lt;description&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt&lt;/description&gt;<br> &nbsp;&nbsp;&nbsp; &lt;imageUrl&gt;cat06.jpg&lt;/imageUrl&gt;<br> &nbsp;&nbsp;&nbsp; &lt;imageAltText&gt;&lt;/imageAltText&gt;<br> &nbsp;&nbsp;&nbsp; &lt;parentCategoryId&gt;NULL&lt;/parentCategoryId&gt;<br> &nbsp;&nbsp;&nbsp; &lt;childItemId&gt;01&lt;/childItemId&gt;<br> &nbsp;&nbsp;&nbsp; &lt;childItemId&gt;02&lt;/childItemId&gt;<br> &nbsp;&nbsp;&nbsp; &lt;childItemId&gt;03&lt;/childItemId&gt;<br> &nbsp;&nbsp;&nbsp; &lt;childItemId&gt;04&lt;/childItemId&gt;<br> &nbsp;&nbsp;&nbsp; &lt;childItemId&gt;05&lt;/childItemId&gt;<br> &nbsp;&nbsp;&nbsp; &lt;childItemId&gt;06&lt;/childItemId&gt;<br> &nbsp; &lt;/category&gt;<br> <br> &nbsp; &lt;category&gt;<br> &nbsp;&nbsp;&nbsp; &lt;id&gt;c06&lt;/id&gt;<br> &nbsp;&nbsp;&nbsp; &lt;visible&gt;True&lt;/visible&gt;<br> &nbsp;&nbsp;&nbsp; &lt;title&gt;Faro&lt;/title&gt;<br> &nbsp;&nbsp;&nbsp; &lt;description&gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt&lt;/description&gt;<br> &nbsp;&nbsp;&nbsp; &lt;imageUrl&gt;cat06.jpg&lt;/imageUrl&gt;<br> &nbsp;&nbsp;&nbsp; &lt;imageAltText&gt;&lt;/imageAltText&gt;<br> &nbsp;&nbsp;&nbsp; &lt;parentCategoryId&gt;NULL&lt;/parentCategoryId&gt;<br> &nbsp;&nbsp;&nbsp; &lt;childItemId&gt;05&lt;/childItemId&gt;<br> &nbsp;&nbsp;&nbsp; &lt;childItemId&gt;06&lt;/childItemId&gt;<br> &nbsp; &lt;/category&gt;</p> <p><br> &nbsp;thank you</p> 2012-05-04T19:22:35-04:002012-05-04T19:22:35.707-04:00urn:uuid:00000000-0000-0000-0000-000004916067http://forums.asp.net/p/1789172/4916067.aspx/1?A+few+questionsA few questions <p>Hi All,</p> <p></p> <p>I have a few brief questions regarding ASP.Net and the small business starter kit. I am well aware that these questions may have been answered in the past, however I have had great difficulty finding anything so I would appreciate either answers or a reference to a location where I can find the answers. Thanks a lot</p> <p>1) How do you add/edit/remove links from the page navigation?</p> <p>2) The page is centred by default - how do you left or right align the page?&nbsp;</p> <p>3) How to change background Images?</p> <p></p> <p>Thanks for your help in advance,</p> <p></p> <p>Luke</p> 2012-04-04T14:09:47-04:002012-04-04T14:09:47.123-04:00urn:uuid:00000000-0000-0000-0000-000004960462http://forums.asp.net/p/1798951/4960462.aspx/1?WHERE+does+the+VSI+install+to+WHERE does the VSI install to???? <p>i've seen this question asked in here before but no answer......</p> <p>so i'll try again.</p> <p>i downloaded the smallbusiness starter kit and run the vis install but like others....i can NOT find it on my machine and since windows 7 &quot;search&quot; feature never works.....</p> <p>figured i'd ask before giving up</p> <p></p> 2012-05-01T18:49:25-04:002012-05-01T18:49:25.183-04:00urn:uuid:00000000-0000-0000-0000-000004855032http://forums.asp.net/p/1774712/4855032.aspx/1?Step+by+step+tutorial+on+how+to+use+small+business+starter+kitStep by step tutorial on how to use small business starter kit <p>I've downloaded and installed starter kits on my Win7 Ultimate machine. But I cannot find it on my machine. Where (which&nbsp;directory)&nbsp;is it installed?&nbsp;Is there any tutorial or&nbsp;primer&nbsp;that provides step-by-step instructions on how to run starter kit? I am a C&#43;&#43; programmer and do not know ASP.net programming. But I am building a website and like to see what starter kit looks like in action, just like I run an full-UI Win32 application that do nothing concrete.</p> 2012-02-28T13:55:13-05:002012-02-28T13:55:13.77-05:00urn:uuid:00000000-0000-0000-0000-000003943496http://forums.asp.net/p/1572242/3943496.aspx/1?Cant+install+Starter+Kit+with+Express+2010Cant install Starter Kit with Express 2010 <p>I am trying to use the slamm business starter kit but cant get it to install properly using Web Developer 2010 Express. Originally got the error Exception from HRESULT: 0x80041FEB when trying to use a create a new web site using this template. I then tried the fix shown at <a href="/t/1553372.aspx">http://forums.asp.net/t/1553372.aspx</a>&nbsp;This seemed to allow me to get further but when it then prompted that this was created in an earlier version of ASP.NET and do I want to upgrade to version 4 it produced the error <b><font color="#ff0000" size="2" face="Arial">Error HRESULT E_FAIL has been returned from a call to a COM component</font></b>&nbsp;. It then created a site but when I run the code it just seems to ignore any CSS I put into the resulting site.</p> <p>Has anyone sucsessfuly used Small Business Starter kit on Web Developer 2010 Express?</p> <p>I am running on Windoes 7 64 bit if that makes any difference. </p> <p>&nbsp;</p> 2010-06-24T18:50:04-04:002010-06-24T18:50:04.32-04:00urn:uuid:00000000-0000-0000-0000-000001450544http://forums.asp.net/p/1041300/1450544.aspx/1?Can+we+access+an+asp+net+website+using+IP+Address+in+an+LAN+NetworkCan we access an asp.net website using IP Address in an LAN Network <p>Hi ,</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Can any one tell me how to access an asp.net website using system IP address. Like....I created an website and it is build and running fine..but if i want to show the website to other people in a LAN network.....how to do that.....</p> <p>&nbsp;example: <a href="http://xxx.xxx.xx.x/websitename/default.aspx">http://xxx.xxx.xx.x/websitename/default.aspx</a></p> <p>is it possible ??</p> <p>&nbsp;</p> <p>regards,</p> <p>Sumanth</p> 2006-11-02T10:59:54-05:002006-11-02T10:59:54.207-05:00urn:uuid:00000000-0000-0000-0000-000004662799http://forums.asp.net/p/1735736/4662799.aspx/1?Perform+Calculation+in+Gridview+itemtemplatePerform Calculation in Gridview itemtemplate <p>I want to perform calculation in gridview :NetAmount=(ServiceAmount*Quantity)*Discount</p> <p>I had written code in rowdatabound but it is not working,i amnew to programming help me solve this proble i would appreciate if some one share ther knowledge my Axpx code is:</p> <pre class="prettyprint">&lt;asp:GridView ID=&quot;GridView1&quot; runat=&quot;server&quot; Height=&quot;156px&quot; Width=&quot;618px&quot; AutoGenerateColumns=&quot;False&quot; BorderWidth=&quot;1px&quot; HorizontalAlign=&quot;Justify&quot; onrowdatabound=&quot;GridView1_RowDataBound&quot; BackColor=&quot;LightGoldenrodYellow&quot; BorderColor=&quot;Tan&quot; CellPadding=&quot;2&quot; ForeColor=&quot;Black&quot; GridLines=&quot;None&quot; onrowcommand=&quot;GridView1_RowCommand&quot;&gt; &lt;FooterStyle BackColor=&quot;Tan&quot; /&gt; &lt;PagerStyle BackColor=&quot;PaleGoldenrod&quot; ForeColor=&quot;DarkSlateBlue&quot; HorizontalAlign=&quot;Center&quot; /&gt; &lt;SelectedRowStyle BackColor=&quot;DarkSlateBlue&quot; ForeColor=&quot;GhostWhite&quot; /&gt; &lt;HeaderStyle BackColor=&quot;#FFFFC4&quot; Font-Bold=&quot;True&quot; ForeColor=&quot;#BF6000&quot;/&gt; &lt;Columns&gt; &lt;asp:TemplateField HeaderText=&quot;S.No&quot;&gt; &lt;ItemTemplate&gt; &lt;asp:Label ID=&quot;label10&quot; runat=&quot;server&quot; Font-Bold=&quot;true&quot; ForeColor=&quot;#BF6000&quot; Text=&quot;&lt;%# Container.DataItemIndex &#43; 1 %&gt;&quot;&gt; &lt;/asp:Label&gt; &lt;/ItemTemplate&gt; &lt;/asp:TemplateField&gt; &lt;asp:TemplateField HeaderText=&quot;Serv Code&quot; &gt; &lt;ItemTemplate&gt; &lt;asp:TextBox ID=&quot;TxtServiceCode&quot; Font-Bold=&quot;true&quot; ForeColor=&quot;#BF6000&quot; Text='&lt;%# DataBinder.Eval(Container,&quot;DataItem.ServiceCode&quot;) %&gt;' runat=&quot;server&quot; Width=&quot;55px&quot;&gt; &lt;/asp:TextBox&gt; &lt;asp:Button ID=&quot;Insert&quot; runat=&quot;server&quot; BackColor=&quot;Ivory&quot; CommandName=&quot;InsertRecord&quot; Font-Bold=&quot;True&quot; ForeColor=&quot;#BF6000&quot; Text=&quot;Insert&quot; onclick=&quot;Insert_Click&quot;/&gt; &lt;/ItemTemplate&gt; &lt;/asp:TemplateField&gt; &lt;asp:TemplateField HeaderText=&quot;Name&quot;&gt; &lt;ItemTemplate&gt; &lt;asp:TextBox ID=&quot;TxtName&quot; runat=&quot;server&quot; ReadOnly=&quot;true&quot; Font-Bold=&quot;true&quot; ForeColor=&quot;#BF6000&quot; Width=&quot;150px&quot; Text='&lt;%# DataBinder.Eval(Container, &quot;DataItem.ServiceName&quot;) %&gt;'&gt;&lt;/asp:TextBox&gt; &lt;/ItemTemplate&gt; &lt;/asp:TemplateField&gt; &lt;asp:TemplateField HeaderText=&quot;Serv Amt&quot;&gt; &lt;ItemTemplate&gt; &lt;asp:TextBox ID=&quot;TxtServiceAmount&quot; ReadOnly=&quot;true&quot; Font-Bold=&quot;true&quot; ForeColor=&quot;#BF6000&quot; Text='&lt;%# DataBinder.Eval(Container,&quot;DataItem.ServiceAmount&quot;) %&gt;' runat=&quot;server&quot; Width=&quot;55px&quot;&gt;&lt;/asp:TextBox&gt; &lt;/ItemTemplate&gt; &lt;/asp:TemplateField&gt; &lt;asp:TemplateField HeaderText=&quot;Qty&quot;&gt; &lt;ItemTemplate&gt; &lt;asp:TextBox ID=&quot;TxtQuantity&quot; Font-Bold=&quot;true&quot; ForeColor=&quot;#BF6000&quot; Text='&lt;%# DataBinder.Eval(Container,&quot;DataItem.Quantity&quot;) %&gt;' runat=&quot;server&quot; Width=&quot;55px&quot;&gt;&lt;/asp:TextBox&gt; &lt;/ItemTemplate&gt; &lt;/asp:TemplateField&gt; &lt;asp:TemplateField HeaderText=&quot;Disc Amt&quot;&gt; &lt;ItemTemplate&gt; &lt;asp:TextBox ID=&quot;TxtdiscAmt&quot; Font-Bold=&quot;true&quot; ForeColor=&quot;#BF6000&quot; Text='&lt;%# DataBinder.Eval(Container,&quot;DataItem.Discount&quot;) %&gt;' runat=&quot;server&quot; Width=&quot;55px&quot;&gt;&lt;/asp:TextBox&gt; &lt;/ItemTemplate&gt; &lt;/asp:TemplateField&gt; &lt;asp:TemplateField HeaderText=&quot;Net Amt&quot;&gt; &lt;ItemTemplate&gt; &lt;asp:TextBox ID=&quot;TxtNetAmt&quot; ReadOnly=&quot;true&quot; Font-Bold=&quot;true&quot; ForeColor=&quot;#BF6000&quot; runat=&quot;server&quot; Width=&quot;55px&quot;&gt;&lt;/asp:TextBox&gt; &lt;/ItemTemplate&gt; &lt;/asp:TemplateField&gt; &lt;/Columns&gt; &lt;AlternatingRowStyle BackColor=&quot;PaleGoldenrod&quot; /&gt; &lt;/asp:GridView&gt; &lt;script type=&quot;text/javascript&quot;&gt; function CalcSercode(ServiceAmount,Quantity, Discount,NetAmount) { var Quantity=parseFloat(document.getElementById(Quantity).value); var Discount= parseFloat(document.getElementById(Discount).value); var ServiceAmount=document.getElementById(ServiceAmount); var SerAmountValue = parseFloat((ServiceAmount * Quantity)-((ServiceAmount *Quantity)*Discount/100)); //var SellPriceValueRound = Math.round(SellPriceValue,4); var SerAmountValueRound = SerAmountValue; ServiceAmount.innerHTML= SerAmountValueRound ; } &lt;/script&gt; _____________________________________________________________ My cs code is; //TextBox TxtServiceCode = GridView1.Controls[0].Controls[0].FindControl(&quot;TxtServiceCode&quot;) as TextBox; //DataSet dss = new DataSet(); //SqlConnection MyConnection = new SqlConnection(&quot;server=prog;database=mydatabase;UID=sa;PWD=nato123;&quot;); //SqlCommand sqlcmd = new SqlCommand(&quot;select * from [ServiceCode]&quot;, MyConnection); //SqlDataAdapter adp = new SqlDataAdapter(sqlcmd); //DataSet ds = new DataSet(); //adp.Fill(ds); //GridView1.DataSource = ds.Tables[0]; //GridView1.DataBind();</pre> 2011-11-01T15:22:51-04:002011-11-01T15:22:51.273-04:00urn:uuid:00000000-0000-0000-0000-000004050701http://forums.asp.net/p/1596551/4050701.aspx/1?Small+Business+starter+kitSmall Business starter kit <p>Hi there, i have downloaded the small business starter kit to try and create a site for my mum. i have added all the items ect. but on the item page i want to have a paypal button. but not sure how i can do it as i get an error. i dont want to spam but have not got a host to upload to... so basically </p> <p><br> </p> <p>This is what each of my item code looks like below and i want to add a link to the same bit of the page but if i add extra code within this item tag it comes up with an error..</p> <p><br> </p> <p>&lt;item&gt;<br> &nbsp;&nbsp;&nbsp; &lt;id&gt;60&lt;/id&gt;<br> &nbsp;&nbsp;&nbsp; &lt;visible&gt;true&lt;/visible&gt;<br> &nbsp;&nbsp;&nbsp; &lt;title&gt;Fishermans Friend&lt;/title&gt;<br> &nbsp;&nbsp;&nbsp; &lt;description&gt;Description of the item&lt;/description&gt;<br> &nbsp;&nbsp;&nbsp; &lt;price&gt;9.50&lt;/price&gt;<br> &nbsp;&nbsp;&nbsp; &lt;inStock&gt;true&lt;/inStock&gt;<br> &nbsp;&nbsp;&nbsp; &lt;imageUrl&gt;item02.jpg&lt;/imageUrl&gt;<br> &nbsp;&nbsp;&nbsp; &lt;imageAltText&gt;BUY IT NOW&lt;/imageAltText&gt;</p> <p>&lt;item/&gt;</p> <p>There is a an items.aspx page which has these details...</p> <p><br> </p> <p>&lt;div id=&quot;content-main-three-column&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;h2&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:Label ID=&quot;LabelCurrentCategory&quot; runat=&quot;server&quot; Visible=&quot;true&quot; Text=&quot;&quot;&gt;&lt;/asp:Label&gt;&lt;/h2&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:Panel ID=&quot;PanelCategories&quot; runat=&quot;server&quot; Visible=&quot;true&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &amp;nbsp;&lt;asp:ObjectDataSource ID=&quot;ObjectDataSourceCategories&quot; runat=&quot;server&quot; SelectMethod=&quot;GetChildCategories&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TypeName=&quot;Catalog&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SelectParameters&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:QueryStringParameter Name=&quot;parentCategoryId&quot; QueryStringField=&quot;catId&quot; Type=&quot;string&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DefaultValue=&quot;&quot; /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/SelectParameters&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/asp:ObjectDataSource&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:GridView ID=&quot;GridViewCategories&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AllowPaging=&quot;true&quot; PageSize=&quot;10&quot; DataSourceID=&quot;ObjectDataSourceCategories&quot; BorderWidth=&quot;0&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BorderColor=&quot;white&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Columns&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:TemplateField&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ItemTemplate&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:Image ID=&quot;Image1&quot; CssClass=&quot;photo-border photo-float-left&quot; runat=&quot;server&quot; Width=&quot;90px&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Height=&quot;60px&quot; ImageUrl='&lt;%# &quot;images/&quot; &#43; (string)Eval(&quot;ImageUrl&quot;) %&gt;' AlternateText='&lt;%#(string)Eval(&quot;ImageAltText&quot;)%&gt;' /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;b&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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p;&nbsp;&nbsp;&nbsp; &lt;asp:HyperLink ID=&quot;HyperLink5&quot; runat=&quot;server&quot; ImageUrl=&quot;images/arrow.gif&quot; NavigateUrl='&lt;%# &quot;Items.aspx?catId=&quot; &#43; (string)Eval(&quot;id&quot;) %&gt;' /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:HyperLink ID=&quot;HyperLink4&quot; runat=&quot;server&quot; NavigateUrl='&lt;%# &quot;Items.aspx?catId=&quot; &#43; (string)Eval(&quot;id&quot;) %&gt;'&gt; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; View Product(s)<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/asp:HyperLink&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp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p; &lt;asp:Panel ID=&quot;PanelItems&quot; runat=&quot;server&quot; Visible=&quot;false&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;hr /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:ObjectDataSource ID=&quot;ObjectDataSourceItems&quot; runat=&quot;server&quot; SelectMethod=&quot;GetChildItems&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TypeName=&quot;Catalog&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SelectParameters&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:QueryStringParameter Name=&quot;categoryId&quot; QueryStringField=&quot;catId&quot; Type=&quot;string&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DefaultValue=&quot;&quot; /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/SelectParameters&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/asp:ObjectDataSource&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:GridView ID=&quot;GridViewItems&quot; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot; AllowPaging=&quot;true&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PageSize=&quot;10&quot; DataSourceID=&quot;ObjectDataSourceItems&quot; OnRowCreated=&quot;GridViewItems_RowCreated&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BorderWidth=&quot;0&quot; BorderColor=&quot;white&quot;&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Columns&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:TemplateField&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;ItemTemplate&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:Image ID=&quot;Image1&quot; CssClass=&quot;photo-border photo-float-left&quot; runat=&quot;server&quot; Width=&quot;150px&quot;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Height=&quot;100px&quot; ImageUrl='&lt;%# &quot;images/&quot; &#43; (string)Eval(&quot;ImageUrl&quot;) %&gt;' AlternateText='&lt;%# (string)Eval(&quot;ImageAltText&quot;)%&gt;' /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;h2&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;img src=&quot;images/arrow.gif&quot; alt=&quot;arrow&quot; /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:HyperLink ID=&quot;HyperLink3&quot; runat=&quot;server&quot; NavigateUrl='&lt;%# &quot;ItemDetail.aspx?itemId=&quot; &#43; (string)Eval(&quot;Id&quot;) %&gt;'&gt; <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; View More and Add to basket<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/asp:HyperLink&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;hr /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/ItemTemplate&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/asp:TemplateField&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Columns&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;PagerSettings Mode=&quot;NumericFirstLast&quot; Position=&quot;TopAndBottom&quot; /&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/asp:GridView&gt;<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/asp:Panel&gt;</p> <p><br> </p> <p>and i want to add a code generated by paypal that would create a button so people can add the item to the basket. Is there something i need to add in the .aspx file so i can do this on my items page.</p> <p><br> </p> <p>Sorry for the spamming would be great if any of you guys could help</p> <p>THanks</p> <p><br> </p> <p>harry<br> </p> 2010-08-28T21:15:57-04:002010-08-28T21:15:57.69-04:00urn:uuid:00000000-0000-0000-0000-000004578786http://forums.asp.net/p/1716507/4578786.aspx/1?How+to+change+the+Absolute+formatting+of+the+Small+Biz+Starter+site+How to change the Absolute formatting of the Small Biz Starter site? <p>I have modest ASP skills but really crappy CSS skills so I am stumped on something.</p> <p>In using the Small Biz starter kit, I'd like to replace the site name with an actual logo image. When I do that I find that the rest of the site does not shift/move down and that the logo I just added ends underneath or behind the top of the main part of the site. How do I force the main body of the website down? I am guessing some combo of master page and css but I cannot see it. Can anyone help?</p> <p>Cheers</p> <p>John</p> 2011-09-01T21:25:55-04:002011-09-01T21:25:55.42-04:00urn:uuid:00000000-0000-0000-0000-000004564222http://forums.asp.net/p/1712934/4564222.aspx/1?SMTP+Problem+on+Small+Business+Server+2008SMTP Problem on Small Business Server 2008 &lt;div sizcache=&quot;7&quot; sizset=&quot;0&quot;&gt; <h2><i>HI i am getting this exception when i want to send email. plateform is server 2008 small business server. on server there is mail exchange server also working. </i></h2> <h2><i>Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND))</i></h2> <p><span face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif " style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif"><span face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif " style="font-family:Arial,Helvetica,Geneva,SunSans-Regular,sans-serif"><b>Description: </b>An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. <br> <br> <b>Exception Details: </b>System.Runtime.InteropServices.COMException: Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND))<br> <br> <b>Source Error:</b> <br> <br> </span></span></p> <table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td> <pre>Line 35: message.Fields.Add(&quot;http://schemas.microsoft.com/cdo/configuration/sendpassword&quot;, drMailSetting.Item(&quot;mpassword&quot;)) Line 36: SmtpMail.SmtpServer = drMailSetting.Item(&quot;mailserver&quot;) <span color="red" style="color:#ff0000">Line 37: SmtpMail.Send(message) </span></pre> <pre><span color="red" style="color:#ff0000"></span>Line 38: End If Line 39: End Sub</pre> </td> </tr> </tbody> </table> &lt;/div&gt; 2011-08-22T09:34:42-04:002011-08-22T09:34:42.44-04:00urn:uuid:00000000-0000-0000-0000-000002601659http://forums.asp.net/p/1315646/2601659.aspx/1?social+networking+websitesocial networking website <p>Is anyone aware of any starter kits from asp.net or software similar to Community Server that I can use to help me start building a social networking site? </p> <p>The website&nbsp;is already established, it is&nbsp;built with ASP Classic.&nbsp;&nbsp;At the moment their are no User Accounts. So, I will need to build them from scratch.&nbsp;</p> <p>The requirements are an application which will allow users to create profiles, post their own articles, interact with other members, comment on other members work,&nbsp;as well as a rating and voting system.</p> <p>Rather then starting from scratch, I am looking for some sort of starting kit or a package which I can modify to meet my needs.</p> <p>&nbsp;Thanks!</p> <p>&nbsp;</p> 2008-09-05T02:30:25-04:002008-09-05T02:30:25.68-04:00urn:uuid:00000000-0000-0000-0000-000004521884http://forums.asp.net/p/1703107/4521884.aspx/1?internet+store+for+used+stoffinternet store for used stoff <p>Hi all..</p> <p>I am looking for a starter kit for a website for selling used stoff that are added by users.</p> <p>Any idea please ?? &nbsp;</p> 2011-07-24T11:34:58-04:002011-07-24T11:34:58.577-04:00