16,004,678 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 10808329 (Top 12 by date)
Member 10808329
29-Jan-15 3:05am
View
Thank you for your help.
If i want to consider penalty for the model that predict the wrong outcome, what is actual outcome? it is the output for instance in trainig dataset(target)?
In other word, the penalty considers while the models create(in training model) then in testing we accept the outcome of model that have best prediction?
Member 10808329
7-Oct-14 6:42am
View
Thank you so much ,finally it works .
I really appreciate your help and attention.
Member 10808329
4-Oct-14 1:41am
View
As i said, i fill my dataset by query at first and after that i define datatables and merge them.as i understand my crystal report fill by this query not datatables when i comment this line: ds = cls.Search_Cust_Bill_RPT(ArrStr(0)) it say i cant find table(0) but with this line crystal fill. it seems visual dosen not understand the atatables that i add to dataset
Member 10808329
4-Oct-14 1:31am
View
Yes ,I explain you all of steps that i did:
I create two table adapter in my data set and in crystal report i add two table adapter and link them with customer_no.after that i drag and drop my necessary fields.in my code behind.i define a instance of my dataset.at first i fill dataset by query after that define two datatable and merge them to my dataset .but i dont know why it can not find my tables
Member 10808329
2-Oct-14 3:10am
View
i create new project but there is same error cannot find table 1
' Dim rptDoc As New ReportDocument
Dim ds As New DataSet("DS_CustomerTransaction")
Dim dt As New DataTable
dt.TableName = "CustomerBill"
Dim dat As New DataTable
dat.TableName = "PurchaseBill"
ds = cls.Search_Cust_Bill_RPT(ArrStr(0))
ds.Tables(0).Merge(dt)
ds.Tables(1).Merge(dat)
rptDoc.Load(Server.MapPath("CrystalReport.rpt"))
rptDoc.SetDataSource(ds)
CrystalReportViewer1.ReportSource = rptDoc
Member 10808329
2-Oct-14 1:19am
View
there is an error :
Cannot find table 1.
Member 10808329
1-Oct-14 8:14am
View
no,i am not
Member 10808329
1-Oct-14 7:48am
View
yes,in above code dt was filled and have all the row that i want but there is database logon error .also i changed my code to below and there is no error but report is empty but dt is filled.
Dim cls As New Cls_Cust_Bill
Dim dt As New DataSet("DS_CustomerTransaction")
dt = cls.Search_Cust_Bill_RPT(ArrStr(0))
dt.Tables.Add("CustomerBill")
dt.Tables.Add("Transactions")
Dim oRpt As New Crp_Cust_suratHesab()
oRpt.SetDataSource(dt)
oRpt.SetParameterValue("filter", ArrStr(1))
CrystalReportViewer1.ReportSource = oRpt
CrystalReportViewer1.DataBind()
Member 10808329
1-Oct-14 6:40am
View
in second question ,I click ok and drag and drop my neccesary fields to the report.
my dataset has two adapter(CustomerBill,Transactions).but i have a error database logon failed.i think there is a poblem with my code behind:
Dim dt As New DataSet("DS_CustomerTransaction")
dt = cls.Search_Cust_Bill_RPT(ArrStr(0))
dt.Tables(0).TableName = "CustomerBill"
Dim oRpt As New Crp_Cust_suratHesab()
oRpt.SetDataSource(dt)
CrystalReportViewer1.ReportSource = oRpt
CrystalReportViewer1.DataBind()
Member 10808329
1-Oct-14 4:47am
View
I had a mistake this link was about tables but i want to work with table adapters
Member 10808329
1-Oct-14 1:32am
View
Deleted
There is not any window that let me select my fields .There are two tabs named Data and Link. In Data ,I choosed my tables and In link ,I determine relation of tables.after that in link tab there are three button (ok,cancel,help), when i click ok nothng happend and there is same error
Member 10808329
28-Jun-14 3:52am
View
I want to download file base on it's name.your argument is stream
Show More