Visual C#2008分步指南帮助-任何人 [英] Help with Visual C# 2008 Step by Step Book - Anybody
问题描述
刚开始C#买了上面的书,主要是为我自己的一个基于DB的项目.而不是表格,但在第26章中却无法使它正常工作或重新显示.
完成了所有以KB等格式搜索的ISBN编号的常规内容,并通过电子邮件将其发送给mspinput,我得到了很好的自动回复搜索知识库.
如果作者或知道这本书的某人该错误似乎在
xmlns:app =" clr-namespace uppliers"和
< app riceConverter x:Key ="priceConverter" />价格转换器不在名称空间中或类似的名称中
我看了看完整的代码,它是相同的,所以我很茫然.现在,我不得不跳过该段,这是我在书中最想要的那段.我曾尝试运行完整版本,但会编译并引发基于sql的新异常.
codesEventType:clr20r3 P1:Suppliers.exe P2:1.0.0.0 P3:47b0a55c
P4:系统数据P5:2.0.0.0 P6:471ebf27 P7:272d P8:29
P9:system.data.sqlclient.sql
任何帮助将不胜感激
Hi,
Just really starting C# bought the above book, mainly for a project for myself which is based on a DB.
Didn't realise when I bought it but uses WPF rather than forms, but just can't get it to work or redisplay in Chapter 26.
Done all the usual things searched on ISBN number in KB etc and emailed mspinput, which I got a nice auto reply telling me to search the KB.
if the author or someone who knows the book the error seems to be around
xmlns:app="clr-namespaceuppliers" and
<appriceConverter x:Key="priceConverter" />
price converter is not in namespace or something similar
I have looked at the completed code and it is the same, so I am at a loss
Its driving me nuts now as I have had to skip the paragraph, which is the one I wanted most in the book. I have tried running the completed version but that compiles and then throws a newexception which is based around sql.
codesEventType : clr20r3 P1 : suppliers.exe P2 : 1.0.0.0 P3 : 47b0a55c
P4 : system.data P5 : 2.0.0.0 P6 : 471ebf27 P7 : 272d P8 : 29
P9 : system.data.sqlclient.sql
Any help would be greatly appreciated
推荐答案
如果可以在引发异常的部分代码中使用try..catch块,然后获取异常消息并进行堆栈跟踪,这将非常有帮助.实际上,您没有为任何人提供足够的信息来帮助您.
Chris
If you could use a try..catch block around the part of the code that is throwing the exception and then get the exception message and stack trace it would be very helpful. As it is, you have not provided enough information for anyone to help you.
Chris
这篇关于Visual C#2008分步指南帮助-任何人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!