posted @ 2008-08-09 23:55 置身珠海,学习与奋斗 阅读(58) | 评论 (1)编辑
做着玩的小站一个。    http://www.rpddp.com

人品对对碰详细结果

以下数据由搜索引擎 百度 取得

  联想 笔记本 DELL 笔记本 HP 笔记本 Acer 笔记本 神舟 笔记本
高质量 612000 278000 381000 89600 98400
低价格 9540 0 6710 2690 4820
快速服务 3640 3370 3760 68 874
(以上数据源自搜索引擎,点击数字即可到相关搜索页面)

简评

根据搜索引擎 百度 的统计结果可知:
    在 联想 笔记本DELL 笔记本HP 笔记本Acer 笔记本神舟 笔记本 中,最 高质量 的是 联想 笔记本,最 低价格 的是 联想 笔记本,最 快速服务 的是 HP 笔记本

请注意
1.人品对对碰依据搜索引擎的数据进行特征对比结果,本站不对数据进行加工处理。
2.人品对对碰结果是概率与统计分析的结果,结果可能会受到搜索引擎因素制约。
3.人品对对碰结果是概率与统计分析的结果,结果具有时效性。
4.人品对对碰将不断完善相关功能,欢迎各界朋友支持。

相关链接:
http://www.rpddp.com/zh-cn/DDPDetails.aspx?Targets=%e8%81%94%e6%83%b3%20%e7%ac%94%e8%ae%b0%e6%9c%ac,DELL%20%e7%ac%94%e8%ae%b0%e6%9c%ac,HP%20%e7%ac%94%e8%ae%b0%e6%9c%ac,Acer%20%e7%ac%94%e8%ae%b0%e6%9c%ac,%e7%a5%9e%e8%88%9f%20%e7%ac%94%e8%ae%b0%e6%9c%ac&Standards=%e9%ab%98%e8%b4%a8%e9%87%8f,%e4%bd%8e%e4%bb%b7%e6%a0%bc,%e5%bf%ab%e9%80%9f%e6%9c%8d%e5%8a%a1&Engine=Baidu

人品对对碰大全:
http://www.rpddp.com/zh-cn/MoreDDPs.aspx

posted @ 2008-06-05 02:22 置身珠海,学习与奋斗 阅读(193) | 评论 (2)编辑
想必有不少朋友做过 WinForm 下的 ReportViewer 应用,在功能打印和导出PDF时会遇到一个异常:

检测到 PInvokeStackImbalance
Message: 对 PInvoke 函数“Microsoft.ReportViewer.Common!Microsoft.ReportingServices.Rendering.ImageRenderer.CompositionPDF+WindowsGDIWrapper::GetGlyphIndicesW”的调用导致堆栈不对称。原因可能是托管的 PInvoke 签名与非托管的目标签名不匹配。请检查 PInvoke 签名的调用约定和参数与非托管的目标签名是否匹配。


关于这个问题,MS语焉不详,而其它通过修改DLL引用方法的方式对于 Microsoft.ReportViewer.Common 和 Microsoft.ReportViewer.WinForms 也是无能为力。

近日,本人在测试程序时发现,这个问题总是在调试时发生,而程序发布之后,这个问题就不再出现了。

做了几个小测试,发现,删除  xxxxxx.pdb (放置ReportViewer控件的)后,测试就可以顺利通过,

问题解决了,探讨原因:调试宿主的签名与程序签名不一致,致使某些异常发生,引发这个DLL的调用错误。
posted @ 2007-12-07 13:57 置身珠海,学习与奋斗 阅读(233) | 评论 (1)编辑
纯粹字符串操作实现

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
{
    
class Program
    
{
        
static void Main(string[] args)
        
{

            Console.Write(
"输入任意数字,回车转换");
            Console.Write(
"\r\n");
            Console.Write(
"直接回车则退出");
            Console.Write(
"\r\n");

            
for (; ; )
            
{
                
string tmpString = Console.ReadLine();

                
if (tmpString.Trim() == string.Empty)
                
{
                    
break;
                }

                
try
                
{
                    Console.Write(
string.Format("{0} \r\n", ConvertNumberToChineseNumber(tmpString)));
                }

                
catch (Exception ex)
                
{
                    Console.Write(ex.Message);
                }

            }


        }



        
/// <summary>
        
/// 数字转大写金额
        
/// </summary>
        
/// <param name="targetString">数字</param>
        
/// <returns>大写金额</returns>

        private static string ConvertNumberToChineseNumber(string targetString)
        
{
            
string rtnValue = string.Empty;

            
double tmpValue = 0;

            
if (double.TryParse(targetString, out tmpValue))
            
{
                rtnValue 
= tmpValue.ToString("#千兆#百兆#拾兆#兆#仟亿#百亿#拾亿#亿#千万#百万#拾万#万#仟#佰#拾#元.#角#分");
            }

            
else
            
{
                
throw new Exception("输入的不是数字或者过超出范围!");
            }


            
//去个头
            int firstNumberIndex = rtnValue.IndexOfAny(new char[] '0''1''2''3''4''5''6''7''8''9' });

            
if (firstNumberIndex >= 0)
            
{
                rtnValue 
= rtnValue.Substring(firstNumberIndex);
            }



            
//去小数点或去个尾
            int lastNumberIndex = rtnValue.LastIndexOfAny(new char[] '0''1''2''3''4''5''6''7''8''9' });

            rtnValue 
= rtnValue.Substring(0, lastNumberIndex + 2);

            
//小写大写切换

            rtnValue 
= rtnValue.Replace(".""");
            rtnValue 
= rtnValue.Replace("0""");
            rtnValue 
= rtnValue.Replace("1""");
            rtnValue 
= rtnValue.Replace("2""");
            rtnValue 
= rtnValue.Replace("3""");
            rtnValue 
= rtnValue.Replace("4""");
            rtnValue 
= rtnValue.Replace("5""");
            rtnValue 
= rtnValue.Replace("6""");
            rtnValue 
= rtnValue.Replace("7""");
            rtnValue 
= rtnValue.Replace("8""");
            rtnValue 
= rtnValue.Replace("9""");

            
return rtnValue;
        }

    }

}
posted @ 2007-11-07 12:04 置身珠海,学习与奋斗 阅读(159) | 评论 (3)编辑
     摘要: (搞技术的朋友们,想在中国成功吗,参考一下会有帮助。)
一表人材,二套西装,三杯酒量,四圈麻将,五方交游,六出祈山,七术打马,八口吹牛,九分努力,十分忍耐。  阅读全文
posted @ 2007-08-02 22:20 置身珠海,学习与奋斗 阅读(229) | 评论 (2)编辑