Search

You searched for the word(s): userid:785801

Matching Posts

  • Re: Help regarding password recovery

    hawkhill, You can send from database using a stored procedure. Check out http://support.microsoft.com/kb/312839 on sending a email without SQL Mail. Or this post on sending an email with SQL Mail http://msdn.microsoft.com/en-us/library/ms177418.aspx . --Scott
    Posted to Security (Forum) by ScottR27 on 11/12/2009
  • Re: Is this effective to prevent document caching?

    g_p_k, Add the following line in your onload event to prevent the page from caching. Response.Cache.SetCacheability(HttpCacheability.NoCache) This will cause the page to always download the latest copy of your document. One caveat, it will prevent the page from caching anything else. So use with caution. Hope this helps, --Scott
    Posted to Web Forms (Forum) by ScottR27 on 11/12/2009
  • Re: httpwebrequest issue inside a dll

    aliwajdan, Are you using IE? If so, is the remote site cross-domain? There is a security setting in IE which disabled cross-site data sources. You need to add the remote site to the trusted sites group. Good Luck, --Scott
    Posted to Configuration and Deployment (Forum) by ScottR27 on 11/12/2009
  • Re: ASP.Net Export Excel issue

    vaibhavsather, ASP.NET is controling the amount of data you can send per request. You may need to modify web.config for asp.net 1.1 or add the value similiar to <httpRuntime maxRequestLength="16384" /> See: http://msdn.microsoft.com/library/de...imesection.asp In ASP.NET 2.0, you can set this dynamically at the page level or through the web.config. See: http://msdn2.microsoft.com/en-us/lib...estlength.aspx Hope this helps, --Scott
    Posted to Other Databases (Forum) by ScottR27 on 11/12/2009
  • Re: ASP.Net Export Excel issue

    Vaibhav, Sorry i mis-read your first post... Are getting any errors or is it just cutting off at 500k? --Scott
    Posted to Other Databases (Forum) by ScottR27 on 11/12/2009
  • Re: copy to clipboard

    csharpcoder, Check out this post on using a regex in javascript to strip html from a string. http://www.javascriptkit.com/script/script2/removehtml.shtml Hope this helps, --Scott
    Posted to Client Side Web Development (Forum) by ScottR27 on 11/12/2009
  • Re: Is this effective to prevent document caching?

    From this post: http://www.hotscripts.com/forums/asp/25526-solved-urgent-page-caching-issue-iis6-0-a.html Try adding Response.Cache.SetAllowResponseInBrowserHistory(false); Along with the above Nocache.
    Posted to Web Forms (Forum) by ScottR27 on 11/12/2009
  • Re: Restricting content based on AD groups

    Brian,2You could try this posted here- http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_2864073.html string strUser; Boolean binFlag; DirectoryEntry adsRoot = new DirectoryEntry("LDAP://OU=ADSI,DC=ent,DC=ds,DC=microsoft,DC=com"); DirectorySearcher adsSearch = new DirectorySearcher(adsRoot); strUser = Page.User.Identity.Name; // Strip off domain name if it has it. Put in your own code to do it. try { adsSearch.PropertiesToLoad.Add("sAMAccountName"); adsSearch.PropertiesToLoad
    Posted to Security (Forum) by ScottR27 on 11/12/2009
  • Re: Error converting data type varchar to float

    On a side note, you code is begging for a SQL injection... You should really be using SqlParameters for this see http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlparameter.aspx . To answer your question, what are your data types for the Table? One of your data types is not matching, can you post the rest of the Stack? Hope this helps, --Scott
  • Re: Display label depending on SqlSataSource result

    Sure, <ItemTemplate> <div id="retailerDiv" class="retailer" runat="server" > <div id="retailerNameWithLink" runat="server" visible='<%# HasURL(Eval("RetailerUrl")) %>' ><p class="name"><a href='<%# Eval("RetailerUrl") %>' target="_blank"><%# Eval("RetailerName") %></a></p></div> <div id="retailerNameWithoutLink"
    Posted to Data Presentation Controls (Forum) by ScottR27 on 11/11/2009
Page 1 of 11 (104 items) 1 2 3 4 5 Next > ... Last »