Click here to Skip to main content
15,895,709 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Changes in css file do not apply to the page Pin
sashidhar30-Aug-09 20:38
sashidhar30-Aug-09 20:38 
Questiondebug Pin
Ramkumar_S28-Aug-09 21:07
Ramkumar_S28-Aug-09 21:07 
AnswerRe: debug Pin
Arindam Sinha28-Aug-09 21:25
Arindam Sinha28-Aug-09 21:25 
GeneralRe: debug Pin
Ramkumar_S28-Aug-09 22:45
Ramkumar_S28-Aug-09 22:45 
GeneralRe: debug Pin
Arindam Sinha29-Aug-09 0:40
Arindam Sinha29-Aug-09 0:40 
GeneralRe: debug Pin
Ramkumar_S29-Aug-09 1:43
Ramkumar_S29-Aug-09 1:43 
GeneralRe: debug Pin
Arindam Sinha29-Aug-09 1:53
Arindam Sinha29-Aug-09 1:53 
QuestionPlease help - ReportViewer for pie chart with oracle DB Pin
kamlakar28-Aug-09 20:36
kamlakar28-Aug-09 20:36 
I am trying to show pie chart (asp.net VS2005) with dataset from oracle, below is the code given.
'ds' is the dataset here.
values from this dataset are in one row with multiple collumns.
so changing collumns to row with the help of datatable.
It gives error -->
"The chart ‘rds’ is in the report body but the report has no data set. Data regions are not allowed in reports without datasets"
error with line is -->
ReportViewer1.LocalReport.SetParameters(parameters);

//Code starts
ds = objdb.ByCursor("REPORTS_KURUKSHETRA.IDEA_STATISTICS", "" + "|" + "");

if (ds.Tables[0].Rows.Count > 0)
{
////FillPieChart();
DataSet nds = new DataSet();

DataTable ndt = new DataTable();
DataColumn ndc = new DataColumn("vals");
ndc.DataType = typeof(string);
ndt.Columns.Add(ndc);

for(int z =1; z < ds.Tables[0].Columns.Count; z++)
{
ndt.Rows.Add(" ");
ndt.Rows[z-1]["vals"] = ds.Tables[0].Rows[0][z].ToString();
}
ndt.AcceptChanges();
nds.Tables.Add(ndt);
ReportViewer1.LocalReport.ReportPath = "pie.rdlc";
Microsoft.Reporting.WebForms.ReportDataSource rds = new Microsoft.Reporting.WebForms.ReportDataSource();
rds.Name = "rds";
rds.Value = ndt;
ReportViewer1.LocalReport.DataSources.Clear();
ReportViewer1.LocalReport.DataSources.Add(rds);
ReportParameter prmTst = new ReportParameter("vals");
ReportParameter[] parameters = { prmTst };
ReportViewer1.LocalReport.SetParameters(parameters);
ReportViewer1.DataBind();
//ReportViewer1.LocalReport.Refresh();
}
//Code End
Please help, thanks in advance Smile | :) .
Questionregular expression Pin
mylogics28-Aug-09 20:32
professionalmylogics28-Aug-09 20:32 
AnswerRe: regular expression Pin
janani1328-Aug-09 20:38
janani1328-Aug-09 20:38 
GeneralRe: regular expression Pin
mylogics28-Aug-09 20:43
professionalmylogics28-Aug-09 20:43 
GeneralRe: regular expression Pin
janani1328-Aug-09 20:49
janani1328-Aug-09 20:49 
GeneralRe: regular expression Pin
mylogics28-Aug-09 20:54
professionalmylogics28-Aug-09 20:54 
AnswerRe: regular expression Pin
janani1328-Aug-09 20:57
janani1328-Aug-09 20:57 
GeneralRe: regular expression Pin
mylogics28-Aug-09 21:16
professionalmylogics28-Aug-09 21:16 
Questionfind duplicate record from list Pin
nikhil123428-Aug-09 19:58
nikhil123428-Aug-09 19:58 
AnswerRe: find duplicate record from list Pin
Arindam Sinha28-Aug-09 20:31
Arindam Sinha28-Aug-09 20:31 
Questionhow to use international live gold price in my project. Pin
syedabidali28-Aug-09 19:55
syedabidali28-Aug-09 19:55 
AnswerRe: how to use international live gold price in my project. Pin
Arindam Sinha28-Aug-09 20:39
Arindam Sinha28-Aug-09 20:39 
AnswerRe: how to use international live gold price in my project. Pin
venkat.ven26-Jun-11 19:48
venkat.ven26-Jun-11 19:48 
Question[Message Deleted] Pin
Simi SA28-Aug-09 19:14
Simi SA28-Aug-09 19:14 
AnswerRe: how to upload a picture Pin
Parwej Ahamad28-Aug-09 19:21
professionalParwej Ahamad28-Aug-09 19:21 
AnswerRe: how to upload a picture Pin
padmanabhan N28-Aug-09 19:25
padmanabhan N28-Aug-09 19:25 
AnswerRe: how to upload a picture Pin
Abhijit Jana28-Aug-09 23:45
professionalAbhijit Jana28-Aug-09 23:45 
QuestionPlease help with inserting GridView Values in oracle table Pin
Hammad Mansoor28-Aug-09 19:07
Hammad Mansoor28-Aug-09 19:07 

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.