http://chiragrdarji.blogspot.com/2007/08/raise-event-from-user-control-to-main.html
Search This Blog
Tuesday, March 10, 2009
Modifying Connection String dynamically for a strongly typed dataset in a different assembly
http://jagchat.spaces.live.com/blog/cns!41050F68F010A662!1223.entry
Private Sub MySettings_SettingsLoaded(ByVal sender As Object, ByVal e As System.Configuration.SettingsLoadedEventArgs) Handles Me.SettingsLoaded
Dim s As MySettings = TryCast(sender, MySettings)
s.Item("SampleConnectionString") = System.Configuration.ConfigurationManager.ConnectionStrings("cnDev").ConnectionString
End Sub
SampleConnectionString is local in the DAL class library project
cnDev is in the web.config of the actual project
Both should have same names.
Sunday, March 8, 2009
Friday, March 6, 2009
Access Server controls from external js file
http://forums.asp.net/t/1148662.aspx
http://forums.asp.net/p/1205138/2110916.aspx
http://msdn.microsoft.com/en-us/library/3hc29e2a.aspx
Code Behind:
<pre>
Page.ClientScript.RegisterClientScriptBlock(GetType(Page), "lblBRIL", "var bril='" & lblBRILDlrrr.ClientID & "';", True)
</pre>
JS File:
<pre> var bri = document.getElementById(bril); </pre>
Debug Javascript in Visual Studio 2008
Thursday, March 5, 2009
Vista Slow Internet
I resolved mine by reinstalling drivers which were for XP (2006 version) instead of using those which were installed by Vista
- http://social.msdn.microsoft.com/Forums/en-US/windowscompatibility/thread/3a788baf-0c21-41d6-b2c9-0c90f85b85be/
- http://forums.techguy.org/windows-vista-7/582344-solved-slow-internet-connection-vista-3.html
- http://www.vistax64.com/vista-performance-maintenance/19228-very-slow-internet-browsing.html
- http://www.ads-links.com/index.php/how-to-fix-windows-vista-slow-network-transfer.html