Click here to Skip to main content
15,861,168 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: web form message using master pages message and/or JavaScript message Pin
John C Rayan21-Aug-16 22:16
professionalJohn C Rayan21-Aug-16 22:16 
Questionweb form using javacript Pin
dcof17-Aug-16 16:16
dcof17-Aug-16 16:16 
AnswerRe: web form using javacript Pin
Peter Leow17-Aug-16 16:49
professionalPeter Leow17-Aug-16 16:49 
AnswerRe: web form using javacript Pin
F-ES Sitecore17-Aug-16 22:48
professionalF-ES Sitecore17-Aug-16 22:48 
RantRe: web form using javacript Pin
Richard Deeming18-Aug-16 1:48
mveRichard Deeming18-Aug-16 1:48 
GeneralRe: web form using javacript Pin
Richard MacCutchan18-Aug-16 2:34
mveRichard MacCutchan18-Aug-16 2:34 
AnswerRe: web form using javacript Pin
Richard MacCutchan18-Aug-16 2:32
mveRichard MacCutchan18-Aug-16 2:32 
QuestionHow to create a Join, or place a datatable within a datatable for ReportViewer Pin
jkirkerx17-Aug-16 7:38
professionaljkirkerx17-Aug-16 7:38 
I have this report to write, it's content is company information and then sales numbers for months for 5 years below the company information

eg.
ABC Company John 714-555-1212 ATD: $1.00 Balance: $0.00

Year Jan Feb March
2016 $1.00 $2.00 $3.00
2015 $2.00 $1.00 $5.00
2014 $3.00 $2.00 $1.00

So I'm using Dataset and DataTable to build the data
I created 2 tables
Dim rs_CR As DataTable = New DataTable()
rs_CR.TableName = "dt_customerRecords"

rs_CR.Columns.Add(New DataColumn("ID", System.Type.GetType("System.String")))
rs_CR.Columns.Add(New DataColumn("Name", System.Type.GetType("System.String")))
rs_CR.Columns.Add(New DataColumn("FName", System.Type.GetType("System.String")))
rs_CR.Columns.Add(New DataColumn("LName", System.Type.GetType("System.String")))
rs_CR.Columns.Add(New DataColumn("Phone", System.Type.GetType("System.String")))
rs_CR.Columns.Add(New DataColumn("Fax", System.Type.GetType("System.String")))
rs_CR.Columns.Add(New DataColumn("ATD", System.Type.GetType("System.Decimal")))
rs_CR.Columns.Add(New DataColumn("Balance", System.Type.GetType("System.Decimal")))
I want to add another something here to join the table below. In the RDLC using a Tablix, I can only have 1 dataset. If I create 2 datasets, the dataset prints after the data above, and is not part of the set above.
Dim rs_RP As DataTable = New DataTable()
rs_RP.TableName = "dt_reportData"

rs_RP.Columns.Add(New DataColumn("Year", System.Type.GetType("System.Int32")))
rs_RP.Columns.Add(New DataColumn("P1", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P2", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P3", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P4", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P5", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P6", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P7", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P8", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P9", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P10", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P11", System.Type.GetType("System.Decimal")))
rs_RP.Columns.Add(New DataColumn("P12", System.Type.GetType("System.Decimal")))
//Assign the dataSet to the Tablix in the report canvas body
Dim ds_CR As DataSet = New DataSet()
ds_CR.DataSetName = "ds_customerRecords"
ds_CR.Tables.Clear()
ds_CR.Tables.Add(rs_CR)
ds_CR.Tables(0).TableName = "tablix_customerRecords"

//Write the datasource to the report canvas
rv_Canvas.LocalReport.DataSources.Clear()
rv_Canvas.LocalReport.DataSources.Add(New ReportDataSource("ds_customerRecords", ds_CR.Tables(0)))
rv_Canvas.LocalReport.Refresh()

As a caveat, I'm getting the data from an old Foxpro database that is not quite SQL
Questionhow to encrypt and decrypt the file through pkcs Pin
Member 1268779015-Aug-16 23:42
Member 1268779015-Aug-16 23:42 
AnswerRe: how to encrypt and decrypt the file through pkcs Pin
Kornfeld Eliyahu Peter16-Aug-16 2:25
professionalKornfeld Eliyahu Peter16-Aug-16 2:25 
QuestionVS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Usman ali15-Aug-16 19:37
Usman ali15-Aug-16 19:37 
SuggestionRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Richard MacCutchan15-Aug-16 21:28
mveRichard MacCutchan15-Aug-16 21:28 
GeneralRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Usman ali15-Aug-16 21:57
Usman ali15-Aug-16 21:57 
GeneralRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Richard MacCutchan15-Aug-16 22:37
mveRichard MacCutchan15-Aug-16 22:37 
GeneralRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Kornfeld Eliyahu Peter16-Aug-16 0:29
professionalKornfeld Eliyahu Peter16-Aug-16 0:29 
GeneralRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Usman ali16-Aug-16 19:46
Usman ali16-Aug-16 19:46 
SuggestionRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Kornfeld Eliyahu Peter16-Aug-16 20:06
professionalKornfeld Eliyahu Peter16-Aug-16 20:06 
GeneralRe: VS2012 cannot open MVC4 application - the system cannot find the file specified (exception from HRESULT 0x80070002) Pin
Usman ali24-Aug-16 22:27
Usman ali24-Aug-16 22:27 
QuestionAsp.net C# Export to excel stop working Pin
BigLitz15-Aug-16 6:57
BigLitz15-Aug-16 6:57 
AnswerRe: Asp.net C# Export to excel stop working Pin
Richard Deeming15-Aug-16 7:41
mveRichard Deeming15-Aug-16 7:41 
GeneralRe: Asp.net C# Export to excel stop working Pin
BigLitz15-Aug-16 13:14
BigLitz15-Aug-16 13:14 
Questionhow to make delete row from table using linq Pin
ahmed_sa14-Aug-16 7:20
ahmed_sa14-Aug-16 7:20 
AnswerRe: how to make delete row from table using linq Pin
John C Rayan16-Aug-16 1:30
professionalJohn C Rayan16-Aug-16 1:30 
QuestionTrying to EDIT 2 separate, one-to-one database tables with ONE form/ViewModel Pin
TheOnlyRealTodd11-Aug-16 20:32
professionalTheOnlyRealTodd11-Aug-16 20:32 
AnswerRe: Trying to EDIT 2 separate, one-to-one database tables with ONE form/ViewModel Pin
F-ES Sitecore12-Aug-16 0:34
professionalF-ES Sitecore12-Aug-16 0:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.