<asp:Menu ID=”Menu1″ runat=”server” DataSourceID=”SiteMapDataSource1″
Orientation=”Horizontal” >
Set:
staticEnableDefaultPopOutImage= False
use your own image:
StaticPopOutImageUrl=”~/images/down_arrow.gif”
<asp:Menu ID=”Menu1″ runat=”server” DataSourceID=”SiteMapDataSource1″
Orientation=”Horizontal” >
Set:
staticEnableDefaultPopOutImage= False
use your own image:
StaticPopOutImageUrl=”~/images/down_arrow.gif”
Seems like ever since version 2002/XP, formatting just isn’t right in mail merges anymore. A few of the problems that are caused:
error message:
I get this message when building my Assembly :
————————————————————————————–
Updating references…
Performing main compilation…
vbc : warning BC40010: Possible problem detected while building assembly ‘asdasd’: Referenced assembly ‘asdasd’ is a localized satellite assembly
Building satellite assemblies…
—- Done —
Rebuild All: 2 succeeded, 0 failed, 0 skipped
————————————————————————————–
The assembly you are building is localized differently than the assembly that are referencing.
This probably means that somewhere in the source code for “asdasd” you have an AssemblyCultureAttribute that is present. Code assemblies should never have this attribute — if you remove it, the problem should go away.
source: http://forums.asp.net/p/338021/355306.aspx#355306
SELECT column FROM table ORDER BY RAND() LIMIT 1
SELECT column FROM table ORDER BY RANDOM() LIMIT 1
SELECT TOP 1 column FROM table ORDER BY NEWID()
SELECT column, RAND() as IDX FROM table ORDER BY IDX FETCH FIRST 1 ROWS ONLY
SELECT column FROM ( SELECT column FROM table ORDER BY dbms_random.value ) WHERE rownum = 1 source link: http://www.petefreitag.com/item/466.cfm
In SQL Server 2005, in order to insert 3 rows to a table, you had to run 3 INSERT statements:
insert into Customers (Name, City, Phone) values (‘Customer #1’, ‘Jerusalem’, ‘2343245’)
insert into Customers (Name, City, Phone) values (‘Customer #2’, ‘Tel Aviv’, ‘0987345’)
insert into Customers (Name, City, Phone) values (‘Customer #3’, ‘Haifa’, ‘275466’)
In SQL Server 2008, you can insert multiple rows in a single insert statement that takes a number of value arrays:
insert into Customers (Name, City, Phone)
values
(‘Customer #1’, ‘Jerusalem’, ‘2343245’),
(‘Customer #2’, ‘Tel Aviv’, ‘0987345’),
(‘Customer #3’, ‘Haifa’, ‘275466’)
The problem:
When any Office 2007 attachment (.docx, .xlsx, etc) is opened from OWA, the user is asked to save the document before they open it. When they do this, the default extension is .zip. If the user changes it to the correct extension before opening, the file opens correctly.
This happens because the Office 2007 MIME file types are not configured on the web server and the users browser does not know how to open the files. If IE is configured to open files based on the file header, it identifies the file as a zip, which is technically correct.
The administrator can fix it site wide by adding the Office 2007 file types to the MIME settings on the server.
On the user side, IE has an option to open files based on content, not extension. The user should add the OWA URL to the Trusted (or Local Intranet) list before making this change.
add the following to the web.config as follows:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<security>
<requestFiltering>
<fileExtensions allowUnlisted="true" >
<remove fileExtension=".mdb" />
<add fileExtension=".mdb" allowed="true"/>
</fileExtensions>
</requestFiltering>
</security>
</system.webServer>
</configuration>
MIME Type must be registered on IIS
You can’t. Instead you should create a WCF service one server that Silverlight can talk to.
Tutorial that does that: http://silverlight.net/learn/tutorials/sqldatagrid.aspx
Your Silverlight app has two projects. One Aspx project for server side, one silverlight on client side.
Your database resides on server side.
You can access it from server side aspx project.
Client side doesn’t know about database.
You can use WCF for connection.
Direct connection is not possible to the database.
Simple, but a little hidden: