‘Technical’ Category Archives


Ornidazole 500mg Pills $157.00

by Lynn Demarest in ASP.NET, SQL Server, Technical, Web

Comments Off Comments

Buy herbal viagra I was rolling along one night, buy herbal viagra tired but making good progress, buy herbal viagra when one of my DropDownLists refused to fire its OnSelectedIndexChanged event.

Buy herbal viagra During the postback, buy herbal viagra Page_Load fired, buy herbal viagra but the OnSelectedIndexChanged event for the control did not.

Buy herbal viagra After some time, buy herbal viagra I finally realized that the VALUES of the ill-behaving DropDownList were all the empty string (“”) because I had forgotten to make the key column of the table supplying the list data an IDENTITY column in SQL Server. Buy herbal viagra So even though the selected INDEX was changing, buy herbal viagra the selected VALUE was not. Buy herbal viagra It was always “”, buy herbal viagra because the keys were NULL in SQL Server.

Buy herbal viagra My point here is that had Microsoft named the event better — or fixed it so that it is fired when its name says it will be — the confusion could have been avoided.

Buy herbal viagra Be forewarned: The selected index in a DropDownList can change all it wants, buy herbal viagra but unless the underlying value changes the control’s SelectedIndexChanged event will not be fired.

Buy herbal viagra  

Average Rating: 5 out of 5 based on 244 user reviews.


Viagra Recipe

by Lynn Demarest in ASP.NET, jQuery, Miscellaneous, Technical, Web

Comments Off Comments

Cialis generic The jQueryUI sortable widget works like magic. Cialis generic Apply it to an HTML DIV that contains other DIVs and you can magically drag and drop the inner DIVs to reorder them on the client. Cialis generic Say, cialis generic for example, cialis generic you have an image gallery and want to allow the site administrator to reorder the images. Cialis generic Drop the images into the inner DIVs, cialis generic attach the widget to the outer DIV and you’re done.

Cialis generic Here’s how:

Cialis generic 1. Cialis generic Add jQuery files

Cialis generic <script type=”text/javascript” src=”//code.jquery.com/jquery-2.1.1.min.js” ></script>

Cialis generic <script type=”text/javascript” src=”//code.jquery.com/ui/1.10.4/jquery-ui.min.js” ></script>

Cialis generic <link rel=”stylesheet” href=”//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css” />

Cialis generic 2. Cialis generic Insert startup scripts to make the outer DIV with the ID “sortable” sortable

Cialis generic <script>

Cialis generic $(function () {



Cialis generic </script>

Cialis generic 3. Cialis generic Create the div with the sortable ID. Cialis generic Put the inner divs inside it.

Cialis generic <div id=”sortable” >

Cialis generic <div style=”height:200px;”>
<img id=”ctl00_ContentPlaceHolder1_RIL1_Repeater1_ctl00_Image1″ ImageID=”50″ src=”http://www.mysite.com/donuts.jpg” style=”height:200px;border-width:0px;” />
<input type=”hidden” name=”ids” id=”ids” value=’50′ />

Cialis generic <div style=”height:200px;”>
<img id=”ctl00_ContentPlaceHolder1_RIL1_Repeater1_ctl01_Image1″ ImageID=”48″ src=”http://www.mysite.com/BMproduce.jpg” style=”height:200px;border-width:0px;” />
<input type=”hidden” name=”ids” id=”ids” value=’48′ />
… and so on

Cialis generic </div> <!– end id=sortable –>

Cialis generic The thing to notice here is that, cialis generic instead of trying to use the widget’s fancy UPDATE event to trigger a javascript routine charged with reporting the new image order back to the server, cialis generic perhaps via AJAX, cialis generic we instead include in each list element a hidden input field containing the id of the element to be reordered. Cialis generic When a list item gets dragged to a new position, cialis generic this hidden field gets dragged along with it.

Cialis generic Finally, cialis generic we give all of these hidden fields the same name: ids. Cialis generic When the form is posted back, cialis generic the form field named ids contains the keys in order, cialis generic like this:

Cialis generic ids=23, cialis generic43, cialis generic54, cialis generic67, cialis generic65, cialis generic87, cialis generic67

Cialis generic Given these record keys, cialis generic of course, cialis generic you can just create SQL statements to update each record’s “SEQ” value. Cialis generic In other words, cialis generic set the SEQ of record 23 to 1, cialis generic set the SEQ of record 43 to 2 and so on.

Cialis generic Simple!

Cialis generic  

Average Rating: 4.6 out of 5 based on 191 user reviews.


Viagra 50 Mg Tablets

by Lynn Demarest in ASP.NET, Technical, Web

Comments Off Comments

Fake generic viagra WARNING: This technique, fake generic viagra sadly, fake generic viagra only works in Full trust mode. Fake generic viagra Most shared servers use medium trust. Fake generic viagra If you’re one of those, fake generic viagra you’ll have to use the old URLRewrite module, fake generic viagra which should be pre-installed for you by your hosting company.

Fake generic viagra Finally, fake generic viagra Microsoft has come up with a version of Friendly URLs that is friendly to programmers, fake generic viagra too. Fake generic viagra Nonetheless, fake generic viagra there are a few things you need to be aware of.

Fake generic viagra First, fake generic viagra the Microsoft.aspnet.FriendlyUrls assembly follows the standard “forward slash” model. Fake generic viagra So URLs look like this: //www.mydomain.com/documents/2013/01

Fake generic viagra When parsing the URL, fake generic viagra the module starts from the right and searches for a file name that when stripped of its .aspx extension matches the segment. Fake generic viagra For example, fake generic viagra say you have a documents.aspx page in the root folder. Fake generic viagra If the URL //www.mydomain.com/documents/2013/01 is submitted, fake generic viagra the module first tries to find “01.aspx” in the “documents/2013″ folder. Fake generic viagra Not finding it, fake generic viagra it assumes “01″ is data. Fake generic viagra Next, fake generic viagra it moves to “2013″ and also does not find a page called 2013.aspx in the “documents” folder, fake generic viagra so it assumes “2013″ is data as well. Fake generic viagra Finally it gets to “documents”, fake generic viagra finds documents.aspx in the root folder, fake generic viagra and executes it.

Fake generic viagra Installing the Microsoft.aspnet.FriendlyUrls module extends the regular Request object with several new objects. Fake generic viagra One of these is the zero-based GetFriendlyUrlSegments array, fake generic viagra which contains each of the URL segments that follow the segment that matched the ASPX page. Fake generic viagra In our example, fake generic viagra Request.GetFriendlyUrlSegments(0) would return the string “2013″ and GetFriendlyUrlSegments(1) would return “01″.

Fake generic viagra That’s great so far, fake generic viagra but unfortunately ASP.NET assumes that the last segment of the URL is the script name, fake generic viagra and so sets the form’s action property to it. Fake generic viagra In our test case, fake generic viagra the action would be “01″. Fake generic viagra Submitting the form causes an error, fake generic viagra because there’s no “01.aspx” file in the root folder.

Fake generic viagra One solution to the problem is to simply update the form’s action property to match your entire friendly URL, fake generic viagra and not just the tail end of it. Fake generic viagra To do this, fake generic viagra add an OnPrerender sub to the page (or master page) and add this line to it:

Fake generic viagra form1.Action = Request.CurrentExecutionFilePath

Fake generic viagra CurrentExecuteFilePath is defined as “the virtual path to the current request.” In our case, fake generic viagra it’s the entire string “/documents/2013/01″.

Fake generic viagra Now the form posts back to itself, fake generic viagra as it should.

Fake generic viagra By the way, fake generic viagra after you install the Microsoft.aspnet.FriendlyURLs package, fake generic viagra your web site should:

Fake generic viagra 1. Fake generic viagra Have the following files added to the bin folder

Fake generic viagra /bin/Microsoft.AspNet.FriendlyUrls.dll

Fake generic viagra /bin/Microsoft.AspNet.FriendlyUrls.dll.refresh

Fake generic viagra /bin/Microsoft.AspNet.FriendlyUrls.xml

Fake generic viagra /bin/microsoft.web.infrastructure.dll

Fake generic viagra /bin/microsoft.web.infrastructure.dll.refresh

Fake generic viagra 2. Fake generic viagra Have the following lines in web.config’s configuration/system.web/compilation/assemblies section

Fake generic viagra <add assembly=”Microsoft.Web.Infrastructure, fake generic viagra Version=, fake generic viagra Culture=neutral, fake generic viagra PublicKeyToken=31BF3856AD364E35″/>
<add assembly=”System.Web.Routing, fake generic viagra Version=, fake generic viagra Culture=neutral, fake generic viagra PublicKeyToken=31BF3856AD364E35″/>

Fake generic viagra You can have Visual Studio insert these lines by adding a reference to the ddl files in /bin. Fake generic viagra (WEBSITE/Add Reference)

Fake generic viagra 3. Fake generic viagra Include the assembly in all code pages that use the extensions to the Request object, fake generic viagra

Fake generic viagra Imports Microsoft.AspNet.FriendlyUrls

Fake generic viagra 4. Fake generic viagra The global.asax file should “turn on” friendly urls by adding references to the assemblies and calling “EnableFriendlyUrls.”

Fake generic viagra <%@ Import Namespace=”System.Web.Routing” %>
<%@ Import Namespace=”Microsoft.Aspnet.FriendlyUrls” %>

Fake generic viagra <%@ Application Language=”VB” %>

Fake generic viagra <script runat=”server”>
Sub Application_Start(ByVal sender As Object, fake generic viagra ByVal e As EventArgs)

Fake generic viagra         ‘ Code that runs on application startup

Fake generic viagra         RouteTable.Routes.EnableFriendlyUrls()

Fake generic viagra end sub

Fake generic viagra (… and so on)

Average Rating: 4.5 out of 5 based on 209 user reviews.


Mail Order For Viagra Tablets

by Lynn Demarest in SQL Server, Technical

Viagra affiliate UPDATE: I learned today that you can sometimes open .DBF files with Excel. Viagra affiliate If you can do this, viagra affiliate it will be easier than the method described below. Viagra affiliate Simply open the .DBF file, viagra affiliate then save it as a .CSV and import the .CSV into SQL Server.

Viagra affiliate  

Viagra affiliate I received a .DBF file the other day that contained a bunch of data in which I was interested. Viagra affiliate I don’t have DBase anymore (who does?) so I wanted to import the data into MS SQL Server so I could write queries against it.  But how to accomplish such an import? There’s no option to import a .DBF file directly.

Viagra affiliate The solution was ODBC. Viagra affiliate Here’s how to do it:

1. Viagra affiliate Create an ODBC connection to the .DBF file

  1. Find Data Sources (ODBC) in the Control Panel‘s Administrative Tools.
  2. Select the System DSN tab and click Add
  3. Select Microsoft DBase Driver (*.dbf)
  4. Click Finish
  5. Enter a Data Source Name (no spaces)
  6. Un-check Use Current Directory
  7. Click the Select Directory button and navigate to the folder that contains the .DBF file

Viagra affiliate Your  .DBF file is now ready to be accessed via ODBC.

2. Viagra affiliate Import the .DBF data into SQL Server

  1. Open Microsoft SQL Server Management Studio and create a new database
  2. Right-click the database name, viagra affiliate select tasks and import data.
  3. The welcome screen will open. Viagra affiliate Click Next.
  4. Select the data source
    Because we’re moving data into SQL Server from .DBF, viagra affiliate the .DBF file is our source.
    Select .Net Framework Data Provider for Odbc
  5. In the Dsn area, viagra affiliate enter the DSN (data source name) you just created.
  6. Enter ODBC for the Driver. Viagra affiliate (The ConnectionString should be created for you.)
  7. Choose the destination SQL Server. Viagra affiliate (This should already be the database you set in step 2, viagra affiliate above.)
  8. You will only be able to select Write a query to specify the data to transfer. Viagra affiliate Click Next.
  9. Your query is select * from [filename.dbf] where [filename.dbf] is the name of the file the ODBC connection points at. Viagra affiliate (Do NOT enter the brackets!)
  10. Change the name of the destination table so that it makes sense. Viagra affiliate It will default to “Query”
  11. Click Finish to execute the data transfer

Viagra affiliate  

Viagra affiliate  

Average Rating: 4.9 out of 5 based on 288 user reviews.