小编mSa*_*del的帖子

什么是jQuery中的Join()?

什么是jquery中的Join()?例如:

var newText = $("p").text().split(" ").join("</span> <span>"); 
Run Code Online (Sandbox Code Playgroud)

jquery jquery-selectors

62
推荐指数
4
解决办法
13万
查看次数

.NET 4.0中的MembershipProvider

如何将MembershipProvider类添加到VS 2010 B2中的.NET 4.0项目?

我想自定义MembershipProvider,但我不能不添加这个类.请指导我完成这个过程.

c# asp.net asp.net-membership .net-4.0 visual-studio-2010

20
推荐指数
2
解决办法
2万
查看次数

CrystalReport加载报告失败

我有一个使用Crystal Report 2008的Windows应用程序项目(C#和.NET 2.0).但是在加载报告时我偶尔会遇到错误(似乎是偶然的).那个错误是:

CrystalDecisions.Shared.CrystalReportsException: Load report failed.
System.Runtime.InteropServices.COMException (0x8000020D): Unable to load report.
   at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
   --- End of inner exception stack trace ---
   at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
   at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
at SIA.DataTransfer.Forms.frmReport.GetStateReport(Int32 transferType)
Run Code Online (Sandbox Code Playgroud)

请指导我.我怎么解决这个问题?

.net c# crystal-reports

12
推荐指数
2
解决办法
6万
查看次数

检索资源失败

我创建了一个简单的应用程序并将LinearLayout的背景设置为图像.当我运行它时,不要显示背景图像.我看到这行日志:

W/PackageManager? Failure retrieving resources for vania.backgroundtest: Resource ID #0x0
Run Code Online (Sandbox Code Playgroud)

为什么无法显示背景图片?这是我的布局代码:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_height="match_parent"
    android:layout_width="match_parent"
    android:background="@drawable/backimage"
    >
</LinearLayout>
Run Code Online (Sandbox Code Playgroud)

这是我的Java代码:

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
    }
}
Run Code Online (Sandbox Code Playgroud)

这很明显:

  <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:theme="@style/AppTheme" >
        <activity
            android:name=".MainActivity"
            android:label="@string/app_name"
            android:screenOrientation="landscape"
            android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
            >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
Run Code Online (Sandbox Code Playgroud)

我使用了1920*1080(412 KB)的.jpg图像

android android-linearlayout android-studio

6
推荐指数
1
解决办法
8515
查看次数

在WP7中从麦克风访问输入数据?

如何从Windows Phone 7.0或7.1中的麦克风访问输入数据?(就像音量表一样),我想从麦克风中检测开始和结束输入数据.

windows-phone-7 windows-phone windows-phone-7.1

2
推荐指数
1
解决办法
936
查看次数

捕获传入的短信

如何在Windows Phone 7.5(芒果)中访问传入的短信?可能吗?

sms windows-phone-7 windows-phone-7.1

1
推荐指数
1
解决办法
687
查看次数