如题"C#中string a = "12345";
string b = a.ToString("D7");错误 1 与“string.ToString(System.IFormatProvider)”最匹配的重载方法具有一些无效参数 F:\web\blacjar\web\Default.aspx.cs 26 24 http://localhost/blacjar/
错误 2 参数“1”: 无法从“string”转换为“System.IFormatProvider” F:\web\blacjar\web\Default.aspx.cs 26 35 http://localhost/blacjar/得不到 0012345 这个结果.
string b = a.ToString("D7");错误 1 与“string.ToString(System.IFormatProvider)”最匹配的重载方法具有一些无效参数 F:\web\blacjar\web\Default.aspx.cs 26 24 http://localhost/blacjar/
错误 2 参数“1”: 无法从“string”转换为“System.IFormatProvider” F:\web\blacjar\web\Default.aspx.cs 26 35 http://localhost/blacjar/得不到 0012345 这个结果.
解决方案 »
- 母版页的menu如何赋值?怎么会“未将对象引用设置到对象的实例”?
- 提示 The non-generic type 'System.Collections.IList' cannot be used with type argu
- 贴上全部代码 求解
- html获取本地文件列表 然后可以下载列出来的文件
- 急求解决方法!!!分不够我另开贴再给,给满500分。
- DreamWeaver MX 2004中ASP.NET数据连接成功后不能看到表
- vs.net无法开发asp.net?
- 请 cuike519(marshal(修练中...)版主,从下午到现在了,就是调试不通,怎么回事?
- 打开页面时出错,请教一下是哪里出了问题.
- saucer(思归) 等高手救命!!打印问题!!如何设置页边距!!最后50分!!受不了
- DataList控件中嵌入DataList怎么绑定??
- 验证视图状态 MAC 失败。如果此应用程序由网络场或群集承载
将指定的 String 中的格式项替换为指定的 Object 实例的值的文本等效项。
sring b = String.Format(a,"D7")