Click here to Skip to main content
15,921,837 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: I have thousands of user who are accessing my site, How should I handle a load ? Pin
deepankarbhatnagar23-Aug-16 3:43
professionaldeepankarbhatnagar23-Aug-16 3:43 
GeneralRe: I have thousands of user who are accessing my site, How should I handle a load ? Pin
Abhijit Mindcraft23-Aug-16 20:45
Abhijit Mindcraft23-Aug-16 20:45 
GeneralRe: I have thousands of user who are accessing my site, How should I handle a load ? Pin
jkirkerx25-Aug-16 9:20
professionaljkirkerx25-Aug-16 9:20 
Questionadd data to more table relation in same time Pin
ahmed_sa20-Aug-16 12:05
ahmed_sa20-Aug-16 12:05 
AnswerRe: add data to more table relation in same time Pin
ahmed_sa21-Aug-16 5:11
ahmed_sa21-Aug-16 5:11 
Questionweb form message using master pages message and/or JavaScript message Pin
dcof18-Aug-16 12:07
dcof18-Aug-16 12:07 
AnswerRe: web form message using master pages message and/or JavaScript message Pin
John C Rayan19-Aug-16 2:24
professionalJohn C Rayan19-Aug-16 2:24 
GeneralRe: web form message using master pages message and/or JavaScript message Pin
dcof19-Aug-16 9:30
dcof19-Aug-16 9:30 
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 

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.