<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Search results matching tag 'vb.net'</title><link>http://forums.asp.net/search/SearchResults.aspx?q=&amp;tag=vb.net&amp;orTags=0&amp;o=DateDescending</link><description>Search results matching tag 'vb.net'</description><dc:language>en-US</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Global application user counter is returning unexpected results seems too high</title><link>http://forums.asp.net/thread/3592383.aspx</link><pubDate>Fri, 01 Jan 2010 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3592383</guid><dc:creator>shawn.bordeaux</dc:creator><description>&lt;p&gt;I have&amp;nbsp;some very basic code that is suppose to allow me to view how many users I have online. This seems to work fine and in fact I can view the username of any online authenticated users. However, the problem is that the result seems to be extremley high and it keeps going up. This&amp;nbsp;is strange because a user can only&amp;nbsp;navigate to the login page if they are not authenticated, however I show many users connecting but then not authenticating. Is there something wrong with my code or could it be some type of phantom web crawlers or bots?&amp;nbsp;The number is going up maybe&amp;nbsp;by&amp;nbsp;one user every other second and it doesn&amp;#39;t seem to be dropping at all.&lt;/p&gt;
&lt;p&gt;Here is what I have in my global.aspx file;&lt;/p&gt;&lt;pre class="vb.net" name="code"&gt;    Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs)
        &amp;#39; Code that runs when a new session is started
        Application(&amp;quot;UserCount&amp;quot;) += 1
    End Sub

    Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
        &amp;#39; Code that runs when a session ends. 
        &amp;#39; Note: The Session_End event is raised only when the sessionstate mode
        &amp;#39; is set to InProc in the Web.config file. If session mode is set to StateServer 
        &amp;#39; or SQLServer, the event is not raised.
        Application(&amp;quot;UserCount&amp;quot;) -= 1
    End Sub&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;Code that displays the count as a link;&lt;/p&gt;&lt;pre class="vb.net" name="code"&gt;   Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        &amp;#39;Dim userInfo As MembershipUser = Membership.GetUser(User.Identity.Name)
        If Request.IsAuthenticated Then
            ResetPWLabel.Text = &amp;quot;[&amp;nbsp;&amp;lt;a href=&amp;#39;../change_password.aspx&amp;#39;&amp;gt;Change Password&amp;lt;/a&amp;gt;&amp;nbsp;]&amp;quot;
            If Roles.IsUserInRole(&amp;quot;Manager&amp;quot;) Then
                &amp;#39; manager logged in display link for count of users
                UserCountLabel.Text = &amp;quot;Online:&amp;quot; &amp;amp; Application(&amp;quot;UserCount&amp;quot;)
                &amp;#39;use a string to set the link to the count popup page
                Dim str, redirstr As String
                str = &amp;quot;../Manager/onlineusers.aspx&amp;quot;
                &amp;#39;use a little bit of javascript for the popup window
                redirstr = &amp;quot;javascript:void(window.open(&amp;#39;&amp;quot; + str + &amp;quot;&amp;#39;,null,&amp;#39;scrollbars=1,width=600,HEIGHT=400,top=100,left=300&amp;#39;));&amp;quot;
                &amp;#39;ser the linkbutton onclick event to match our new popup window
                UserCountLinkButton.Attributes.Add(&amp;quot;onclick&amp;quot;, redirstr)
              End If
        End If


    End Sub&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When the link is clicked I have a pop up that will&amp;nbsp;display all authenticated users in a bulletedlist datasource;&lt;/p&gt;&lt;pre class="vb.net" name="code"&gt; Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim OnlineUsers As New MembershipUserCollection
        Dim AllUsers As New MembershipUserCollection
        AllUsers = Membership.GetAllUsers()

        For Each user As MembershipUser In AllUsers
            If user.IsOnline Then
                OnlineUsers.Add(user)

            End If
        Next
        BulletedList1.DataSource = OnlineUsers
        BulletedList1.DataBind()
    End Sub&lt;/pre&gt;
&lt;p&gt;Works fine except for the records. Right now I am showing a count of 72 with 1 authenticated user. That count keeps going up... Any suggestions on the root cause here? I am open to any other ideas on how to achieve an accurate counter of current users of the application. Thank you!&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Export to excel in IE8 is giving &amp;quot;Microsoft Internet Explorer has encountered a problem and needs to close&amp;quot; error message </title><link>http://forums.asp.net/thread/3587348.aspx</link><pubDate>Tue, 29 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3587348</guid><dc:creator>sharath babu d.b</dc:creator><description>&lt;p&gt;Hi &lt;/p&gt;
&lt;p&gt;I&amp;nbsp;bind 1000 records&amp;nbsp; to datagrid and i using the following code export to excel .&lt;/p&gt;
&lt;p&gt;Private Sub cmdETE_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cmdETE.Click&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim intRow, intColomn As Integer&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strValeur, strCSV, strTemp As String&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim sbrHTML As New StringBuilder&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myByteArray As Byte()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strArr As String()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim dblValue As Double&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTemp = &amp;quot;Client Ref,Wrapper,Security,Buy/Sell,Qty/Percent,Narration,Value&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#39;Putting Header in the csv file&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sbrHTML.Append(strTemp &amp;amp; &amp;quot;,&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sbrHTML.Append(ControlChars.NewLine)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For intRow = 0 To dtgPortModelOrder.Items.Count - 1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For intColomn = 1 To dtgPortModelOrder.Items(intRow).Cells.Count - 8&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If dtgPortModelOrder.Items(intRow).Cells(intColomn).Text = &amp;quot;&amp;amp;nbsp;&amp;quot; Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strValeur = &amp;quot;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strValeur = dtgPortModelOrder.Items(intRow).Cells(intColomn).Text&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If strValeur = &amp;quot;SELL&amp;quot; Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTemp = strValeur&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If intColomn = 3 Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strArr = strValeur.Split(&amp;quot;&amp;lt;&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strValeur = strArr(0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElseIf intColomn = 5 And UCase(strTemp) = &amp;quot;SELL&amp;quot; Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTemp = &amp;quot;&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dblValue = CDbl(strValeur)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strValeur = CStr(dblValue)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ElseIf intColomn = 7 And strValeur &amp;lt;&amp;gt; &amp;quot;&amp;quot; Then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dblValue = CDbl(strValeur)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strValeur = CStr(dblValue)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sbrHTML.Append(strValeur &amp;amp; &amp;quot;,&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sbrHTML.Append(ControlChars.NewLine)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strCSV = sbrHTML.ToString&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myByteArray = System.Text.Encoding.Default.GetBytes(strCSV)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.ClearHeaders()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Clear()&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.AddHeader(&amp;quot;Content-Disposition&amp;quot;, &amp;quot;attachment; filename=&amp;quot; &amp;amp; &amp;quot;Model_Orders.csv&amp;quot;)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.ContentType = &amp;quot;text/csv&amp;quot;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.BinaryWrite(myByteArray)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.End()&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Sub&lt;/p&gt;
&lt;p&gt;it is working IE7, IE6 . but it is Giving the following error in IE8.&lt;/p&gt;
&lt;p&gt;&amp;quot;Microsoft Internet Explorer has encountered a problem and needs to close&amp;quot; error message&amp;nbsp;&lt;/p&gt;
&lt;p&gt;plz help me. :-)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: ASP.NET Developer needed in Baton Rouge, LA</title><link>http://forums.asp.net/thread/3583839.aspx</link><pubDate>Sat, 26 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3583839</guid><dc:creator>mohammadtanveer</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;I am Tanveer, I have 6+ years of web development experience and have worked on more than 20 websites/web applications like Portals, Ecommerce, Auctions, Multilevel Marketing, Ads Management, Real Estate, Online Jobs, Online Music, Web to SMS, Online News, Online Calssifieds, Shopping Carts.&lt;br /&gt;I have done most of the&amp;nbsp; websites/web applications completely and some in the form of a team using different technologies like Asp.Net,PHP,Wordpress,Joomla,MVC,Ajax,Silverlight,C#.Net,VB.NET,JQuery,Javascript,HTML,CSS,MSSQL Server,MySQL.&lt;br /&gt;&lt;br /&gt;Some examples of my work are as follows:&lt;br /&gt;&lt;br /&gt;http://thebirthdirectory.com/&lt;br /&gt;http://www.crebn.com/&lt;br /&gt;http://linksexchangedirectory.org/&lt;br /&gt;http://www.capitalcaterers.co.uk/&lt;br /&gt;http://project19.tempowebdesign.co.uk/&lt;br /&gt;http://www.mortanian.com/v2/&lt;br /&gt;http://www.renaissancehomebuilder.com&lt;br /&gt;http://www.coldwatersda.com&lt;br /&gt;http://www.hambelly.com&lt;br /&gt;http://www.nulled2.com/auction&lt;br /&gt;http://www.iraq2us.com&lt;br /&gt;http://www.abtxt.com&lt;br /&gt;http://www.abetterdriver.com&lt;br /&gt;http://www.biotechbuildings.com&lt;br /&gt;http://www.desisong.com&lt;br /&gt;http://www.workforce.com.pk&lt;br /&gt;http://www.pakistanway.com&lt;br /&gt;http://www.phoneride.com&lt;br /&gt;http://www.instawireless.com&lt;br /&gt;http://www.illinoisdivorce.com&lt;br /&gt;&lt;br /&gt;My Contact ids:&lt;br /&gt;&lt;br /&gt;msn: tanveer_411393@hotmail.com&lt;br /&gt;skype: mohammadtanveer&lt;br /&gt;gtalk: mtanveer@gmail.com&lt;br /&gt;yahoo: mtanveer123@yahoo.com&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;</description></item><item><title>Re: Looking for experienced freelance .net developer</title><link>http://forums.asp.net/thread/3580480.aspx</link><pubDate>Wed, 23 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3580480</guid><dc:creator>mohammadtanveer</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am Tanveer, I have 6+ years of web development experience and have worked on more than 20 websites/web applications like Portals, Ecommerce, Auctions, Multilevel Marketing, Ads Management, Real Estate, Online Jobs, Online Music, Web to SMS. I have done most of the&amp;nbsp; websites/web applications completely and some in the form of a team using different technologies like HTML, CSS, Javascript, Asp.Net, PHP, MSSQL Server, MySQL, Ajax, Silverlight.&lt;/p&gt;
&lt;p&gt;Some examples of my work are as follows:&lt;/p&gt;
&lt;p&gt;http://www.crebn.com/&lt;br /&gt;&lt;a href="http://thebirthdirectory.com/"&gt;http://thebirthdirectory.com/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.linksexchangedirectory.org/"&gt;http://www.linksexchangedirectory.org/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://project19.tempowebdesign.co.uk/"&gt;http://project19.tempowebdesign.co.uk/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.mortanian.com/v2/"&gt;http://www.mortanian.com/v2/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.coldwatersda.com"&gt;http://www.coldwatersda.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.hambelly.com"&gt;http://www.hambelly.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.iraq2us.com"&gt;http://www.iraq2us.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.abtxt.com"&gt;http://www.abtxt.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.abetterdriver.com"&gt;http://www.abetterdriver.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.biotechbuildings.com"&gt;http://www.biotechbuildings.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.desisong.com"&gt;http://www.desisong.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.workforce.com.pk"&gt;http://www.workforce.com.pk&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.pakistanway.com"&gt;http://www.pakistanway.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.phoneride.com"&gt;http://www.phoneride.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.instawireless.com"&gt;http://www.instawireless.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.illinoisdivorce.com"&gt;http://www.illinoisdivorce.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.nulled2.com/auctionMy"&gt;http://www.nulled2.com/auction&lt;/a&gt; Contact ids:&lt;/p&gt;
&lt;p&gt;My&lt;/p&gt;
&lt;p&gt;msn: &lt;a href="mailto:tanveer_411393@hotmail.com"&gt;tanveer_411393@hotmail.com&lt;/a&gt;&lt;br /&gt;skype: mohammadtanveer&lt;br /&gt;gtalk: &lt;a href="mailto:mtanveer@gmail.com"&gt;mtanveer@gmail.com&lt;/a&gt;&lt;br /&gt;yahoo: &lt;a href="mailto:mtanveer123@yahoo.com"&gt;mtanveer123@yahoo.com&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Reset a users Password from a link? Using aspNet_Membership</title><link>http://forums.asp.net/thread/3581367.aspx</link><pubDate>Wed, 23 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3581367</guid><dc:creator>shawn.bordeaux</dc:creator><description>&lt;p&gt;Please bare with me on this, I am having a hard time grasping&amp;nbsp;how to&amp;nbsp;do this.&amp;nbsp;First of all I am using VB.&lt;/p&gt;
&lt;p&gt;I have about six different roles setup. One of which has admin abilities over another role. Basically I want this admin to be able to reset the passwords of the other users. I know how to check the role authenication but my question is how the heck can I provide a link for them to reset, or change, the users passwords?&lt;/p&gt;
&lt;p&gt;I have a search box that pulls a query that displays the users to these admins. I think the best thing to do would be to include a &amp;quot;Reset Password&amp;quot; button that calls a sub that resets the users password. My question is, how exactly would i code this sub? I have reset enabled in my web.config if that helps. &lt;/p&gt;
&lt;p&gt;Thank you and best regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Shawn&lt;/p&gt;</description></item><item><title>Gridview row_updated event - Need to get updated email address and then send an email on gridview update</title><link>http://forums.asp.net/thread/3575361.aspx</link><pubDate>Sun, 20 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3575361</guid><dc:creator>shawn.bordeaux</dc:creator><description>&lt;p&gt;I have a basic gridview that has customers information. When a manager edit&amp;#39;s a&amp;nbsp;row I would like an email to be fired off that has the changes that were made. One of the fields that changes can be made to is the customers email address.&lt;/p&gt;
&lt;p&gt;I have the email&amp;nbsp;part working fine but when I try to get the&amp;nbsp;updated values of the textboxs is where I always run into errors.&amp;nbsp;What command in VB would I need to set a variable such as ; Dim Email As String = findcontrol(&amp;quot;email&amp;quot;, TextBox).text&amp;nbsp; ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have the edit fields as templates in the gridview and their text boxes are like this, &lt;/p&gt;&lt;pre class="vb.net" name="code"&gt;&amp;lt;asp:TextBox ID=&amp;quot;email&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;#39;&amp;lt;%# Bind(&amp;quot;email&amp;quot;) %&amp;gt;&amp;#39;&amp;gt;&amp;lt;/asp:TextBox&amp;gt;
&amp;lt;asp:TextBox ID=&amp;quot;TextBox7&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;#39;&amp;lt;%# Bind(&amp;quot;appointment_date&amp;quot;) %&amp;gt;&amp;#39; /&amp;gt; &lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is what I have emailing so far;&lt;/p&gt;&lt;pre class="vb.net" name="code"&gt;    Protected Sub GridView3_RowUpdated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewUpdatedEventArgs) Handles GridView3.RowUpdated
        &amp;#39;send an email when the gridview is updated
        Const ToAddress As String = &amp;quot;test@test.com&amp;quot;  &amp;#39; need to set this as customers email that we pull from the gridview
        Const UsersEmail As String = &amp;quot;NoReply@justrightreferralnetwork.com&amp;quot;
        &amp;#39;(1) Create the MailMessage instance
           
        Dim email As String = CType(GridView3.FindControl(&amp;quot;email&amp;quot;), TextBox).Text   &amp;#39; This is not working get an error everytime
        &amp;#39; for the time being set up usersemail as a known address 
        Dim mm As New MailMessage(UsersEmail, ToAddress)

        &amp;#39;(2) Assign the MailMessage&amp;#39;s properties
        Dim Subject As String = &amp;quot;Message from the Just Right Referral Network&amp;quot;
        Dim Body As String = &amp;quot;There is updated information about your account. Please login to view the changes.&amp;quot;


        mm.Subject = Subject
        mm.Body = Body
        mm.IsBodyHtml = False

        &amp;#39;(3) Create the SmtpClient object
        Dim smtp As New SmtpClient

        &amp;#39;(4) Send the MailMessage (will use the Web.config settings)
        smtp.Send(mm)
    End Sub&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;Thank you everyone and best regards!&lt;/p&gt;
&lt;p&gt;Shawn&lt;/p&gt;</description></item><item><title>Displaying data from CSV file in GridView</title><link>http://forums.asp.net/thread/3573886.aspx</link><pubDate>Sat, 19 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3573886</guid><dc:creator>ptownbro</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to display data from a CSV file into a GridView control and it&amp;#39;s not working.&amp;nbsp; The code does NOT error out, but for some reason the data isn&amp;#39;t being displayed in the GridView.&amp;nbsp; What am I doing wrong?&lt;/p&gt;
&lt;p&gt;Code:&lt;/p&gt;

&lt;p&gt;&lt;pre name="code" class="vb.net"&gt;Sub Button1_OnClick(Sender As Object, e As EventArgs)
   &amp;#39;Declare Variables
	Dim fsName, fsObject, fsText, fsArray
	Dim myDTable As DataTable = New DataTable
	Dim myDRow As DataRow = myDTable.NewRow

   &amp;#39;Add Column(s) to GridView
	myDTable.Columns.Add(&amp;quot;Column02&amp;quot;)

   &amp;#39;Read CSV file
	fsName = Server.MapPath(docPathImports) &amp;amp; &amp;quot;test.csv&amp;quot;
	fsObject = fs.OpenTextFile(fsName)
	
   &amp;#39;Read Field Header
	fsText = fsObject.readLine

   &amp;#39;Read Data
	Do While Not fsObject.AtEndOfStream
		fsText = fsObject.readLine
		fsArray = split(fsText, &amp;quot;,&amp;quot;)
	
	    If i &amp;gt; 0 Then
	        myDRow.ItemArray = split(fsText, &amp;quot;,&amp;quot;)
	        myDTable.Rows.Add(myDRow)
	        myDRow = myDTable.NewRow
	    End If
	    i += 1
	
	    GridView1.DataSource = myDTable
	    GridView1.DataBind()
	Loop
	
   &amp;#39;Close Objects
	fsObject.Close
	fsObject = Nothing
	fs = Nothing
End Sub
&lt;/pre&gt;&lt;br /&gt; &lt;br /&gt;&lt;/p&gt;

&lt;p&gt;Html:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;pre name="code" class="xhtml"&gt;&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;

&amp;lt;form id=&amp;quot;Form1&amp;quot; method=&amp;quot;post&amp;quot; encType=&amp;quot;multipart/form-data&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;

&amp;lt;asp:Button id=&amp;quot;Button1&amp;quot; runat=&amp;quot;server&amp;quot; Text=&amp;quot;Display CSV&amp;quot; OnClick=&amp;quot;Button1_OnClick&amp;quot; /&amp;gt;

	&amp;lt;asp:GridView runat=&amp;quot;server&amp;quot;
	id=&amp;quot;GridView1&amp;quot; 
	AutoGenerateColumns=&amp;quot;False&amp;quot; 
	Width=&amp;quot;100%&amp;quot; 
	CellPadding=&amp;quot;3&amp;quot; 
	BorderStyle=&amp;quot;Solid&amp;quot; &amp;gt;
&amp;lt;/asp:GridView&amp;gt;

&amp;lt;/form&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/pre&gt;&lt;p&gt;&lt;br /&gt; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Login control.</title><link>http://forums.asp.net/thread/3570620.aspx</link><pubDate>Thu, 17 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3570620</guid><dc:creator>jaslinrathna</dc:creator><description>&lt;p&gt;How to add captcha control to create user wizard control ?&lt;/p&gt;
&lt;p&gt;i used this link &lt;a href="http://www.aspsnippets.com/post/2009/04/03/How-to-implement-Captcha-in-ASPNet.aspx"&gt;http://www.aspsnippets.com/post/2009/04/03/How-to-implement-Captcha-in-ASPNet.aspx&lt;/a&gt;&amp;nbsp;to add captcha control&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But how to show error message to the user, if the captcha text and the entered text are different in &lt;u&gt;&lt;strong&gt;user wizard control&lt;/strong&gt;&lt;/u&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>URLRewriter.net error.</title><link>http://forums.asp.net/thread/3562289.aspx</link><pubDate>Sun, 13 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3562289</guid><dc:creator>SureshMali</dc:creator><description>&lt;p&gt;Hi Friends, &lt;/p&gt;
&lt;p&gt;I am getting this error:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Class &amp;#39;TourNameToIDTransform&amp;#39; must implement &amp;#39;Function ApplyTransform(input As String) As String&amp;#39; for interface &amp;#39;Intelligencia.UrlRewriter.IRewriteTransform&amp;#39;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;My code is as below:&lt;br /&gt;&lt;/p&gt;&lt;pre class="vb.net" name="code"&gt;Imports System.Web
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.ComponentModel
Imports Intelligencia.UrlRewriter

Namespace CustomTransforms
    &amp;#39;&amp;#39;&amp;#39; &amp;lt;summary&amp;gt; 
    &amp;#39;&amp;#39;&amp;#39; Convert a car name into its ID value 
    &amp;#39;&amp;#39;&amp;#39; &amp;lt;/summary&amp;gt; 
    Public Class TourNameToIDTransform &amp;#39;CarNameToIdTransform
        Implements IRewriteTransform
        &amp;#39;&amp;#39;&amp;#39; &amp;lt;summary&amp;gt; 
        &amp;#39;&amp;#39;&amp;#39; The name you reference this custom transform by 
        &amp;#39;&amp;#39;&amp;#39; &amp;lt;/summary&amp;gt; 
        Public ReadOnly Property Name() As String
            Get
                Return &amp;quot;TourNameToIDTransform&amp;quot; &amp;#39;CarNameToIdTransform
            End Get
        End Property

        &amp;#39;&amp;#39;&amp;#39; &amp;lt;summary&amp;gt; 
        &amp;#39;&amp;#39;&amp;#39; Apply the transform 
        &amp;#39;&amp;#39;&amp;#39; &amp;lt;/summary&amp;gt; 
        &amp;#39;&amp;#39;&amp;#39; &amp;lt;param name=&amp;quot;input&amp;quot;&amp;gt;&amp;lt;/param&amp;gt; 
        &amp;#39;&amp;#39;&amp;#39; &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt; 
        Public Function ApplyTransform(ByVal input As String) As String
            &amp;#39; Clean up the input 
            input = input.Replace(&amp;quot;_&amp;quot;, &amp;quot; &amp;quot;)
            input = HttpUtility.UrlDecode(input)

            &amp;#39; Look up the car id from a data store 
            Dim TourID As Integer = TourNameToIDTransform(input)

            &amp;#39; return the value back to the URL 
            Return TourID.ToString()
        End Function

        Public Function TourNameToIDTransform(ByVal TourName As String) As Integer
            Dim TourID As Integer = 0

            &amp;#39; you would do a real lookup here if this was a production app 
            If TourName.Equals(&amp;quot;Ford Fiesta&amp;quot;) Then
                TourID = 1234
            End If

            Return TourID
        End Function
    End Class
End Namespace&lt;/pre&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;Somebody please help.. I am badly in need of this. Thanks&lt;/p&gt;</description></item><item><title>Changing Datasource in Crystal Reports 2008 within VS 2008 in webconfig file</title><link>http://forums.asp.net/thread/3560904.aspx</link><pubDate>Fri, 11 Dec 2009 05:00:00 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3560904</guid><dc:creator>sftbldrk22</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am using the Crystal Reports that is packaged up with Visual Studio 2008.&amp;nbsp; I have everything working very nicely locally, but when I went to put it on the server I realized that I have a major issue!&amp;nbsp; The database that I am using locally is not the one that we use on ther servers, so I need to change the datasource.&amp;nbsp; I need a way to change the database from within the webconfig so that our customer only has to change one line in the webconfig for everything to work properly.&amp;nbsp; Does anyone know how to do this?&amp;nbsp; I do not want to have to put all of the database fields on every time I move the application to another datasource!&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item></channel></rss>