<?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>ASP.NET Forums</title><link>http://forums.asp.net/</link><description>All Posts</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Download dynamically created zip file using SharpZipLib and Response.OutputStream</title><link>http://forums.asp.net/thread/3526391.aspx</link><pubDate>Sun, 22 Nov 2009 15:21:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526391</guid><dc:creator>king-al</dc:creator><author>king-al</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3526391.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3526391</wfw:commentRss><description>&lt;p&gt;Hi folks,&lt;br /&gt; &lt;br /&gt; I try to generate a zip archive and send it to the
user. I can see, that there is work done because the stack grows, but I
get no response... &lt;br /&gt; &lt;br /&gt; Could anybody be so kind and have look at my code? &lt;br /&gt; &lt;br /&gt; Many thanks&lt;br /&gt; &lt;pre name="code" class="c-sharp"&gt;Response.ContentType = &amp;quot;application/zip&amp;quot;;
            Response.Clear();
            Response.AppendHeader(&amp;quot;content-disposition&amp;quot;,&amp;quot;attachment;filename=files.zip&amp;quot;);
            //Response.ContentEncoding = System.Text.Encoding.Default;
            //Response.Charset = &amp;quot;&amp;quot;;
            //Response.BufferOutput = false;
            

            using (ICSharpCode.SharpZipLib.Zip.ZipOutputStream zipOutput = new ICSharpCode.SharpZipLib.Zip.ZipOutputStream(Response.OutputStream)) 
            {
                ICSharpCode.SharpZipLib.Checksums.Crc32 crc = new ICSharpCode.SharpZipLib.Checksums.Crc32();
                foreach (ImageButton _i in shoppingcart)
                {
                    using (FileStream fileStream = new FileStream(Server.MapPath(@&amp;quot;~/pics/&amp;quot; + _i.ID),FileMode.Open,FileAccess.Read,FileShare.Read))
                    {
                        byte[] buffer = new byte[fileStream.Length];
                        fileStream.Read(buffer, 0, buffer.Length);
                        ICSharpCode.SharpZipLib.Zip.ZipEntry zipEntry = new ICSharpCode.SharpZipLib.Zip.ZipEntry(@&amp;quot;../pics/&amp;quot; + _i.ID);
                        zipEntry.DateTime = DateTime.Now;
                        zipEntry.Size = fileStream.Length;
                        fileStream.Close();

                        crc.Reset();
                        crc.Update(buffer);

                        zipEntry.Crc = crc.Value;
                        zipOutput.PutNextEntry(zipEntry);
                        zipOutput.Write(buffer, 0, buffer.Length);
                        buffer = null;
                    
                    }           

                }
                zipOutput.Finish();
                zipOutput.Flush();
                zipOutput.Close();
                
                
            }

            Response.Flush();
            HttpContext.Current.ApplicationInstance.CompleteRequest();
            
            //Response.End();
            
        }&lt;/pre&gt;&lt;br /&gt; &lt;span style="color:Blue;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;div style="color:Black;background-color:White;"&gt;&lt;pre&gt;&lt;br /&gt;&lt;/pre&gt;
&lt;/div&gt;</description></item><item><title>smtp problem</title><link>http://forums.asp.net/thread/3522855.aspx</link><pubDate>Thu, 19 Nov 2009 22:37:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3522855</guid><dc:creator>danny23</dc:creator><author>danny23</author><slash:comments>11</slash:comments><comments>http://forums.asp.net/thread/3522855.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3522855</wfw:commentRss><description>&lt;p&gt;Hi everybody this is my web.config&lt;/p&gt;&lt;p&gt;for email configuration:&lt;/p&gt;&lt;p&gt;&amp;lt;system.net&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;mailSettings&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;smtp&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;network host=&amp;quot;127.0.0.1&amp;quot;/&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/smtp&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/mailSettings&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/system.net&amp;gt;&lt;/p&gt;&lt;p&gt;And this is the code after the buton Send form the email send:&lt;/p&gt;&lt;p&gt;Protected Sub btnSubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSubmit.Click&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim mailMessage As System.Net.Mail.MailMessage = New System.Net.Mail.MailMessage()&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mailMessage.From = New System.Net.Mail.MailAddress(txtFromAddress.Text.Trim())&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mailMessage.To.Add(New System.Net.Mail.MailAddress(txtToAddress.Text.Trim()))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mailMessage.Subject = txtSubject.Text.Trim()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mailMessage.Body = txtMessage.Text.Trim()&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim smtpClient As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient()&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; smtpClient.Send(mailMessage)&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;and this is the Error that i get :&lt;/p&gt;&lt;p&gt;&lt;font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif "&gt;&lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;&lt;br /&gt;

            
&lt;table class="mceItemTable" bgcolor="#ffffcc"&gt;

&lt;tr&gt;
&lt;td&gt;
                      &lt;code&gt;&lt;/code&gt;
&lt;pre&gt;Line 19:         Dim smtpClient As System.Net.Mail.SmtpClient = New System.Net.Mail.SmtpClient()&lt;br /&gt;Line 20: &lt;br /&gt;&lt;font color="red"&gt;Line 21:         smtpClient.Send(mailMessage)&lt;br /&gt;&lt;/font&gt;Line 22: &lt;br /&gt;Line 23:     End Sub&lt;/pre&gt;
&lt;/td&gt;
&lt;/tr&gt;

&lt;/table&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;PLS HELP ME&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Assign a value from a Database to a Textbox or Label</title><link>http://forums.asp.net/thread/3525852.aspx</link><pubDate>Sat, 21 Nov 2009 20:08:40 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525852</guid><dc:creator>iLes</dc:creator><author>iLes</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3525852.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=54&amp;PostID=3525852</wfw:commentRss><description>&lt;p&gt;I am using Visual Web Developer Express with VB.net&lt;/p&gt;&lt;p&gt;And I Have a Drop Down Menu and what I want to do is when that menu changes, have the code behind (VB) to run a select statement and from &amp;nbsp;SQLServerDataSource2 and take the results which will be a column called Product (will only be one row, one word result) and display it in a label or textbox. Cannot be a gridview or anything.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Can someone please please help me to figure this out, I have been googling for days with nothing that works for me. I just need the simplest solution.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;I know how to add data to a table in VB, but for some reason I cant figure out how to run a select statment and use the output.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks a bunch, I look forward to a response.&lt;/p&gt;</description></item><item><title>ASP.NET 2.0:  XPath or programmatically read XML document?</title><link>http://forums.asp.net/thread/3524359.aspx</link><pubDate>Fri, 20 Nov 2009 16:36:15 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3524359</guid><dc:creator>arecev</dc:creator><author>arecev</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3524359.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=43&amp;PostID=3524359</wfw:commentRss><description>&lt;p&gt;Just confirming&amp;nbsp;a thought:&amp;nbsp; when an ASP.NET 2.0 page has a gridview with&amp;nbsp;an XmlDataSource, it is more efficient to choose which when you must apply business rules to the data before displaying it?&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Approach #1:&lt;br /&gt;&lt;/u&gt;Set hidden inputs to the values in the XML document using XPath, get and process the data using GridViewRow.FindControl, then set a separate gridview control to the finished value.&lt;br /&gt;&lt;br /&gt;
&lt;p&gt;&lt;strong&gt;OR&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;u&gt;Approach #2:&lt;/u&gt;&lt;br /&gt;Programmatically loop through the XML document, processing the data then set the gridview control to the finished value.&lt;br /&gt;
&lt;p&gt;Approach 1 seems more efficient, but approach 2 seems easier to program and manage the code.&amp;nbsp; Also, the second approach allows for clear separation of presentation and business logic.&lt;/p&gt;
&lt;p&gt;Would appreciate opinions.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>upload image to database and retrieve using MVC and Entity</title><link>http://forums.asp.net/thread/3526012.aspx</link><pubDate>Sun, 22 Nov 2009 01:25:59 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526012</guid><dc:creator>openskymedia</dc:creator><author>openskymedia</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3526012.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=3526012</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to follow the instructions on this page: http://bit.ly/8hJfyr for storing and retreiving images from my database. I&amp;#39;m using mvc and the entity framework and i&amp;#39;m not having luck with adapting this code to work. i feel like either he&amp;#39;s assuming I should know stuff which I don&amp;#39;t or something is just missing.&lt;/p&gt;&lt;p&gt;Specifically this line: PhotoViewImage image = PhotoViewImage.GetById(id); is giving me errors. I know that I need to adapt this so that it&amp;#39;s retrieving my table.&lt;/p&gt;&lt;p&gt;In the comments it says that PhotoViewImage is a Entityframework class that has string name, string alternatetext, byte actual image and string content type.&lt;/p&gt;&lt;p&gt;Would that be going in the models folder or the controllers folder or am I on the wrong track all together?&lt;/p&gt;&lt;p&gt;Here is my ImageResultController.cs file: http://pastebin.com/m14eafd1f&lt;/p&gt;&lt;p&gt;Here is my ImagesController.cs file: http://pastebin.com/m45da9a92&lt;/p&gt;&lt;p&gt;and of course there&amp;#39;s my lonely PhotoViewImage.cs file: http://pastebin.com/m20566525&lt;/p&gt;</description></item><item><title>Custom folders authorization</title><link>http://forums.asp.net/thread/3525989.aspx</link><pubDate>Sat, 21 Nov 2009 23:36:25 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525989</guid><dc:creator>zishandanish</dc:creator><author>zishandanish</author><slash:comments>4</slash:comments><comments>http://forums.asp.net/thread/3525989.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3525989</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I have an ASP.NET web application with usernames and passwords stored in a MySQL database. I need to block access for anonymous users to the members area. I know that one way to do this is through ASP.NET built-in authentication, which I don&amp;#39;t want to use. Instead, I just want the app to check my session variable and detect if user is authenticated or not, based on which, it should allow or deny access to the members area (folder).&lt;/p&gt;
&lt;p&gt;Any thoughts?&lt;/p&gt;</description></item><item><title>Where is the starting entry point of asp.net</title><link>http://forums.asp.net/thread/3526314.aspx</link><pubDate>Sun, 22 Nov 2009 13:58:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526314</guid><dc:creator>Hon123456</dc:creator><author>Hon123456</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3526314.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3526314</wfw:commentRss><description>&lt;p&gt;Dear all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have download a open source c sharp program named as cuyahoga. The solution contains&lt;/p&gt;
&lt;p&gt;10 project. I can find the starting project. But in the starting project, I cannot find which file is the &lt;/p&gt;
&lt;p&gt;starting point for the project. How can I&amp;nbsp;figure out which file is the starting point and then I can &lt;/p&gt;
&lt;p&gt;debug it? Thanks.&lt;/p&gt;</description></item><item><title>Display last 5 data</title><link>http://forums.asp.net/thread/3526404.aspx</link><pubDate>Sun, 22 Nov 2009 15:32:47 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526404</guid><dc:creator>Vidhu1992</dc:creator><author>Vidhu1992</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3526404.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=3526404</wfw:commentRss><description>&lt;p&gt;hi all, i am making a news app that will display the latest 5 news head lines&lt;/p&gt;
&lt;p&gt;i have a database with 15 records (news records),&lt;/p&gt;
&lt;p&gt;i want to be able&amp;nbsp;to&amp;nbsp;display the last 5 data&amp;nbsp;records, i other words the&amp;nbsp;latest 5 records&lt;/p&gt;
&lt;p&gt;how should i do this with a repeater control (preferably) or any other control or way&lt;/p&gt;
&lt;p&gt;thx&amp;nbsp;&lt;/p&gt;</description></item><item><title>Free ASP.NET server for my domain</title><link>http://forums.asp.net/thread/3526194.aspx</link><pubDate>Sun, 22 Nov 2009 09:49:30 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526194</guid><dc:creator>Himani Malhotra</dc:creator><author>Himani Malhotra</author><slash:comments>2</slash:comments><comments>http://forums.asp.net/thread/3526194.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=158&amp;PostID=3526194</wfw:commentRss><description>&lt;p&gt;I have a .com domain.&lt;/p&gt;
&lt;p&gt;Now can i host this domain on a&amp;nbsp;free asp.net server, i dont need much database and stuff access, just the nomrla server side scripts.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;NOTE: I know about Brinkster.Net and although they do offer free asp.net&amp;nbsp;hosting but&amp;nbsp;you got to use a subdomain, we cannot use our domain with a free account.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Please help me.&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Auto change page after time duration</title><link>http://forums.asp.net/thread/3526379.aspx</link><pubDate>Sun, 22 Nov 2009 15:09:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526379</guid><dc:creator>awfarral</dc:creator><author>awfarral</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3526379.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3526379</wfw:commentRss><description>&lt;p&gt;All the pages in my site are in the same folder, I need for the site to automatically change page - it is for a non-interactive display - so as the result is abit like a powerpoint slide show.&amp;nbsp; I want to be able to set the time duration globally and preferabbly have it cyle through the pages by reading a site map to get the next&amp;nbsp; page so that the code can be master page based.&amp;nbsp; Any suggestions on how to acheive this/&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Many Thanks&lt;/p&gt;&lt;p&gt;Echeb&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error Handling Problem</title><link>http://forums.asp.net/thread/3526235.aspx</link><pubDate>Sun, 22 Nov 2009 11:43:53 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526235</guid><dc:creator>curlydog</dc:creator><author>curlydog</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3526235.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3526235</wfw:commentRss><description>&lt;p&gt;I have a problem where an .aspx page inserts data into database.&amp;nbsp; In order to do this I have a function in a vb.class which carries out the insert. The function returns a string which informs the user if the insert was successful. The inserting of data happens in two steps. The first is a simple insert query and the second is a bulk insert.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;My function (insertData) carries out the insert query and then calls a routine (bulkInsert) to carry out the bulk insert. In order to handle any errors I&amp;#39;m using a try-catch statement in the function (insertdata). There is no error handling in the routine (bulkInsert), my reasoning being any errors would be passed back to the calling function and would be handled there.&lt;/p&gt;&lt;p&gt;During my testing things aren&amp;#39;t happening as I would expect. I&amp;#39;m deliberately causing an error in the routine. From my debugging scripts I can see that the error is being passed back to the function and is being handled. However the function seems to stop after running the finally statement.&lt;/p&gt;&lt;p&gt;I have code after the finally statement which is not being run. It is only one line, but it is the important one where my string is returned. Hence my user is not being notified of the error. I have tried returning the string from within the finally statement, but get an error stating &amp;quot;Branching out of a finally is not valid&amp;quot;.&lt;/p&gt;&lt;p&gt;I&amp;#39;m at a bit of a loss as I always thought that once an error had been caught further code in the function would be run. Indeed I have other classes where this appears to be the case. I&amp;#39;t just this particular instance where code after the try-catch doesn&amp;#39;t run.&lt;/p&gt;&lt;p&gt;Is this something to do with the fact that the error is being created in the routine, but handled in the function? Any advice would be appreciated.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>How to developed mvc application </title><link>http://forums.asp.net/thread/3526305.aspx</link><pubDate>Sun, 22 Nov 2009 13:47:01 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526305</guid><dc:creator>anirudha gupta</dc:creator><author>anirudha gupta</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3526305.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=17&amp;PostID=3526305</wfw:commentRss><description>&lt;p&gt;I want to developed a project in mvc in vs 2008 how can i do it..&lt;/p&gt;&lt;p&gt;i not see create new mvc project in menu of&amp;nbsp; vs 2008 so what i do for &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Develop a mvc application in mvc&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Add custom request header into a webrequest</title><link>http://forums.asp.net/thread/3525668.aspx</link><pubDate>Sat, 21 Nov 2009 15:55:22 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525668</guid><dc:creator>corradol</dc:creator><author>corradol</author><slash:comments>3</slash:comments><comments>http://forums.asp.net/thread/3525668.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3525668</wfw:commentRss><description>&lt;p&gt;Hello, i&amp;#39;m going crazy here, i need help.&lt;/p&gt;
&lt;p&gt;I need to add an header to a webrequest and redirect user browser to a website where that header will be read, may you gently provide me an example in c#. Seems redirect don&amp;#39;t mantain the request header.&lt;br /&gt;Thank you in advance.&lt;font size="2"&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(@&amp;quot;&lt;a href="http://localhost/readheader.aspx"&gt;http://localhost/readheader.aspx&lt;/a&gt;&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; webRequest.Headers.Add(&amp;quot;QVUSER: corrado&amp;quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Session.Add(&amp;quot;QVUSER&amp;quot;, webRequest);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Redirect(&amp;quot;&lt;a href="http://localhost/readheader.aspx"&gt;http://localhost/readheader.aspx&lt;/a&gt;&amp;quot;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>batch update with data grid ..</title><link>http://forums.asp.net/thread/3526423.aspx</link><pubDate>Sun, 22 Nov 2009 16:02:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526423</guid><dc:creator>mubashirkhan</dc:creator><author>mubashirkhan</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3526423.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=24&amp;PostID=3526423</wfw:commentRss><description>&lt;p&gt;&lt;img src="http://localhost/Tansit3/pic1.jpg" width="404" height="192" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;is it possible to make a&amp;nbsp;datagrid like this where i can update multiple records&amp;nbsp;(marks obtained)&amp;nbsp; and then update the database once the user clicks the submit button..&lt;/p&gt;</description></item><item><title>Trying to change from page to clientscript</title><link>http://forums.asp.net/thread/3526431.aspx</link><pubDate>Sun, 22 Nov 2009 16:12:36 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526431</guid><dc:creator>Jackxxx</dc:creator><author>Jackxxx</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3526431.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=130&amp;PostID=3526431</wfw:commentRss><description>&lt;p&gt;How can I convert GetPostBackEventReference to ClientScript.GetPostBackEventReference?&lt;/p&gt;
&lt;p&gt;My code is recommending that I do this. When I try I get a message that clientscript is not a member of control.&lt;/p&gt;
&lt;p&gt;Public Shared Function DisableTheButton(ByVal pge As Control, ByVal btn As Control) As String&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim sb As New System.Text.StringBuilder()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sb.Append(&amp;quot;if (typeof(Page_ClientValidate) == &amp;#39;function&amp;#39;) {&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sb.Append(&amp;quot;if (Page_ClientValidate() == false) { return false; }} &amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;sb.Append(&amp;quot;if (confirm(&amp;#39;Are you sure to proceed?&amp;#39;) == false) { return false; } &amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sb.Append(&amp;quot;this.value = &amp;#39;Please wait...&amp;#39;;&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sb.Append(&amp;quot;this.disabled = true;&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sb.Append(pge.Page.&lt;strong&gt;GetPostBackEventReference(btn))&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sb.Append(&amp;quot;;&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return sb.ToString()&lt;br /&gt;End Function&lt;/p&gt;</description></item><item><title>Can you set the mouse position in c# asp.net</title><link>http://forums.asp.net/thread/3499747.aspx</link><pubDate>Sat, 07 Nov 2009 15:57:14 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3499747</guid><dc:creator>awfarral</dc:creator><author>awfarral</author><slash:comments>6</slash:comments><comments>http://forums.asp.net/thread/3499747.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3499747</wfw:commentRss><description>&lt;p&gt;I&amp;nbsp;am using&amp;nbsp;a charting tool which has&amp;nbsp;mouse over effects.&amp;nbsp; My website is&amp;nbsp;going to be displayed on a TV&amp;nbsp;- so i need to automate the effect&amp;nbsp;of a user moving the mouse over this tool inorder that stuff shows&amp;nbsp;that would normally be controlled by the user.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is it possible to move the mouse cursor position from within my c# asp.net project.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;</description></item><item><title>Same Footer for every report</title><link>http://forums.asp.net/thread/3526429.aspx</link><pubDate>Sun, 22 Nov 2009 16:11:35 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526429</guid><dc:creator>spate</dc:creator><author>spate</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3526429.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=191&amp;PostID=3526429</wfw:commentRss><description>&lt;p&gt;I have reporting services 2008. we have same footer text for all of our reports.&lt;/p&gt;&lt;p&gt;Is there any way I can have a file and use that file in every report so when I need to modify I can modify at one place and dont have to go through every report?&lt;/p&gt;&lt;p&gt;Please help&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;</description></item><item><title>Cannot save changes to site.master from within VWD Express 2008</title><link>http://forums.asp.net/thread/3525646.aspx</link><pubDate>Sat, 21 Nov 2009 15:30:03 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525646</guid><dc:creator>Eyre</dc:creator><author>Eyre</author><slash:comments>1</slash:comments><comments>http://forums.asp.net/thread/3525646.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1125&amp;PostID=3525646</wfw:commentRss><description>&lt;p&gt;Hi Guys,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve just installed Blogengine.net using the application called Web Platform.&amp;nbsp;I&amp;#39;m now currently working on the site.master file of my downloaded theme using VWD Express 2008. Unfortunately,&amp;nbsp; I cannot make changes&amp;nbsp;to the page.&amp;nbsp; Everytime I save it, it always returns an error message telling me that &amp;quot;The operation could not&amp;nbsp;be&amp;nbsp;completed.&amp;quot;. The same goes for the CSS file.&amp;nbsp; As a temporary fix, I am currently saving both of the files to another directory then later manually transferring them to the inetpub folder.&amp;nbsp; This is a very time-consuming process and I do really hope that someone can help me with this problem. I am looking forward to hearing from you guys soon.&amp;nbsp; Btw, my OS is Windows 7 Home Premium.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Eyre&lt;/p&gt;</description></item><item><title>Get the Content of the Form to the .mdb Database !</title><link>http://forums.asp.net/thread/3526244.aspx</link><pubDate>Sun, 22 Nov 2009 11:51:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526244</guid><dc:creator>tugberk_ugurlu_</dc:creator><author>tugberk_ugurlu_</author><slash:comments>13</slash:comments><comments>http://forums.asp.net/thread/3526244.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=18&amp;PostID=3526244</wfw:commentRss><description>&lt;p&gt;Hi there. I have a form on my website linked &lt;a href="http://www.tugberkugurlu.com/wat/appwizard/default.aspx"&gt;http://www.tugberkugurlu.com/wat/appwizard/default.aspx&lt;/a&gt; and I can get this form to my e-mail through a VB Code. What I wanna do; &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I need to get the content of this form to my .mdb database when it is posted. I would like to keep getting e-mails as well. &lt;/li&gt;
&lt;li&gt;I need to use .mdb file because my hosting account cannot support .mdf (MySQL)&lt;/li&gt;
&lt;li&gt;I need to give the sender a unique ID number for their form.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you need the VB code, I can post it, too. I await youre helpful replies. Thanks !&lt;/p&gt;</description></item><item><title>When using custom validations, ValidationContext.ObjectInstance doesn't get filled with properties.</title><link>http://forums.asp.net/thread/3341049.aspx</link><pubDate>Tue, 11 Aug 2009 10:37:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3341049</guid><dc:creator>kjartanius</dc:creator><author>kjartanius</author><slash:comments>5</slash:comments><comments>http://forums.asp.net/thread/3341049.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=1146&amp;PostID=3341049</wfw:commentRss><description>&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I am using DataAnnotations, and I need the object instance when performing a custom validation:&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Code:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;//[MetadataType(typeof(ProsjektMetaData))]&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;//public partial class Prosjekt&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;//{&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;//}&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;//public class ProsjektMetaData&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;//{&lt;span style="white-space:pre;"&gt;		&lt;/span&gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;// &amp;nbsp; &amp;nbsp;//[CustomValidation(typeof(FunkyValidation), &amp;quot;EmailMethod&amp;quot;)]&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;// &amp;nbsp; &amp;nbsp;//[CustomValidation(typeof(FunkyValidation), &amp;quot;Method2&amp;quot;)]&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;// &amp;nbsp; &amp;nbsp;&lt;img src="http://forums.asp.net/emoticons/emotion-57.gif" alt="Email" /&gt;&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;// &amp;nbsp; &amp;nbsp;public object Navn { get; set; }&lt;/div&gt;
&lt;div style="position:absolute;left:-10000px;top:0px;width:1px;height:1px;overflow-x:hidden;overflow-y:hidden;" id="_mcePaste"&gt;&lt;span style="white-space:pre;"&gt;	&lt;/span&gt;//}&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-tab-span" style="white-space:pre;"&gt;	&lt;/span&gt;&lt;/p&gt;&lt;pre name="code" class="c-sharp"&gt;[metadatatype(typeof(prosjektmetadata))]
public partial class prosjekt
{
}

public class prosjektmetadata
{
    //[customvalidation(typeof(funkyvalidation), &amp;quot;emailmethod&amp;quot;)]
    &lt;img src="http://forums.asp.net/emoticons/emotion-57.gif" alt="Email" /&gt;
    public object navn { get; set; }
}

public class EmailAttribute : ValidationAttribute
	{
		public override bool IsValid(object value)
		{
			return true;
		}

		protected override bool IsValid(object value, ValidationContext validationContext, out ValidationResult validationResult)
		{

			return base.IsValid(value, validationContext, out validationResult);
		}	
	}

	public class FunkyValidation
	{
	
		public static bool EmailMethod(string navn, ValidationContext ctx, out ValidationResult result)
		{						
			result = null;
						
			Prosjekt prosjekt = (Prosjekt) ctx.ObjectInstance;

			if (!new Regex(@&amp;quot;^[\w-\.]{1,}\@([\w]{1,}\.){1,}[a-z]{2,4}$&amp;quot;).IsMatch(prosjekt.Navn))
			{
				result = new ValidationResult(&amp;quot;Vennligst benytt en gyldig epostadresse&amp;quot;);
			}

			return false;			
		}
	}&lt;/pre&gt;&lt;p&gt;&lt;br /&gt;The problem is that in both the EmailMethod and the IsValid method the ValidationContext.ObjectInstance doesn&amp;#39;t contain the properties, they&amp;#39;re all null (eg Navn is a property in Prosjekt). I&amp;#39;ve looked at the&amp;nbsp;Microsoft.Web.Mvc.DataAnnotations code, and I can&amp;#39;t find anywhere that this ValidationContext gets filled, or is this happening in the&amp;nbsp;System.ComponentModel.DataAnnotations?&lt;/p&gt;&lt;p&gt;As you can see, i&amp;#39;ve tried both approaches, using the CustomValidationAttribute and the inheriting of ValidationAttribute, none work.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Kjartan&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&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>Popup window problem</title><link>http://forums.asp.net/thread/3525684.aspx</link><pubDate>Sat, 21 Nov 2009 16:25:57 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3525684</guid><dc:creator>suzan.nali</dc:creator><author>suzan.nali</author><slash:comments>10</slash:comments><comments>http://forums.asp.net/thread/3525684.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=15&amp;PostID=3525684</wfw:commentRss><description>&lt;p&gt;I m facing a very tough time with popup window. I have 4 hyperlink in my ASP.NET form. When I click any one link the popup window show the correct data but when I close the popup window and click the other hyperlink, the popup window show the same data which it display in 1st time. I close the application &amp;amp; again start but the same happening as&amp;nbsp;popup window&amp;nbsp;always show the same data which it show when I first time click it.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please help me urgently.&lt;/p&gt;</description></item><item><title>Website Deployement</title><link>http://forums.asp.net/thread/3526418.aspx</link><pubDate>Sun, 22 Nov 2009 15:53:20 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526418</guid><dc:creator>visitmohanraj</dc:creator><author>visitmohanraj</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3526418.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=26&amp;PostID=3526418</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi all i have a big doubt i have deployed a project i want to know how do i restrict the no of users who access my application.moreover url for accessing my project is http:ip/page name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; but how websites like yahoo.com are made and deployed how are the getting url (&lt;a href="http://www.yahoo.com"&gt;www.yahoo.com&lt;/a&gt;)&amp;nbsp;???? pls help me&amp;nbsp;&lt;/p&gt;</description></item><item><title>Login Control not working</title><link>http://forums.asp.net/thread/3526417.aspx</link><pubDate>Sun, 22 Nov 2009 15:52:55 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526417</guid><dc:creator>tusharrs</dc:creator><author>tusharrs</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3526417.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3526417</wfw:commentRss><description>&lt;p&gt;hi,&lt;/p&gt;&lt;p&gt;when i enter username and password in login control it gives a message&lt;/p&gt;&lt;p&gt;&lt;b&gt;Your login attempt was not successful. Please try again.&lt;/b&gt;&lt;/p&gt;&lt;p&gt;where is the bug&lt;br /&gt;&lt;/p&gt;</description></item><item><title>delete a record from table....if it exists</title><link>http://forums.asp.net/thread/3522773.aspx</link><pubDate>Thu, 19 Nov 2009 21:29:43 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3522773</guid><dc:creator>mjta</dc:creator><author>mjta</author><slash:comments>10</slash:comments><comments>http://forums.asp.net/thread/3522773.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=54&amp;PostID=3522773</wfw:commentRss><description>&lt;p&gt;I want only one record to exist in a table per user.&amp;nbsp; The user has an option to Select a value from a gridView.&amp;nbsp; The selected record is inserted into a table...but, if there is a record for that member already there, then the existing record needs to be deleted and then the insert should take place.&amp;nbsp; I don&amp;#39;t know how to check for an existing record and if found, then deleted.&amp;nbsp; The insert works fine (see code).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Basically, I&amp;#39;ll have a userId stored in a session, and that is where the parameter will come from.&amp;nbsp; I need an If statement to delete any existing records with the userId session value....then the insert, which will be in the same table as the delete.&amp;nbsp; I need help with the &amp;quot;search and if found, delete&amp;quot; syntax.&amp;nbsp; (I don&amp;#39;t have UserId shown here as am insert parameter value...yet...FYI)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;pre class="c-sharp" name="code"&gt;Protected Sub GridView1_RowCommand(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewCommandEventArgs) Handles GridView1.RowCommand
        If e.CommandName = &amp;quot;Select&amp;quot; Then
            Dim index As Integer = Convert.ToInt32(e.CommandArgument)
            Dim ds As New SqlDataSource()
            ds.ConnectionString = ConfigurationManager.ConnectionStrings(&amp;quot;ConnectionString&amp;quot;).ToString()
            ds.InsertCommandType = SqlDataSourceCommandType.Text
            ds.InsertCommand = &amp;quot;INSERT INTO Colors2(ColorName) VALUES(@ColorName)&amp;quot;
            ds.InsertParameters.Add(&amp;quot;ColorName&amp;quot;, GridView1.Rows(index).Cells(2).Text)
            ds.Insert()
        End If
        Response.Redirect(&amp;quot;Default.aspx&amp;quot;)
    End Sub&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Asp.net profiles</title><link>http://forums.asp.net/thread/3526410.aspx</link><pubDate>Sun, 22 Nov 2009 15:38:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3526410</guid><dc:creator>visitmohanraj</dc:creator><author>visitmohanraj</author><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3526410.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=25&amp;PostID=3526410</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;hi all i&amp;nbsp;&amp;nbsp;want to implement asp .net profiles&amp;nbsp;in my project i have created a profile and its working fine but the&amp;nbsp;issue is once i have created&amp;nbsp;my profile (eg:Country)&amp;nbsp;in sign up form&amp;nbsp;.its works fine for me when i login from the second time it dosent work the first time why is this happening???&lt;/p&gt;</description></item></channel></rss>