Click here to Skip to main content
15,889,034 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Password Decryption Pin
N a v a n e e t h9-Mar-07 0:31
N a v a n e e t h9-Mar-07 0:31 
QuestionDisplay Image when File load from local location Pin
Moazzam12048-Mar-07 23:11
Moazzam12048-Mar-07 23:11 
AnswerRe: Display Image when File load from local location Pin
Sandeep Akhare8-Mar-07 23:17
Sandeep Akhare8-Mar-07 23:17 
Questionpop up window on datagrid Pin
yesu prakash8-Mar-07 22:54
yesu prakash8-Mar-07 22:54 
AnswerRe: pop up window on datagrid Pin
Sylvester george8-Mar-07 23:10
Sylvester george8-Mar-07 23:10 
AnswerRe: pop up window on datagrid Pin
Imran Khan Pathan8-Mar-07 23:13
Imran Khan Pathan8-Mar-07 23:13 
AnswerRe: pop up window on datagrid Pin
Kapil Thakur9-Mar-07 0:55
Kapil Thakur9-Mar-07 0:55 
QuestionError in generating repot using reportviewer Pin
mohd imran abdul aziz8-Mar-07 22:30
mohd imran abdul aziz8-Mar-07 22:30 
i am making web application using C# , asp.net ,sql2000 ( visual studio 2005).

i am using following code on button_click

protected void Button1_Click(object sender, EventArgs e)

{

ReportViewer1.Visible = true;

setting = ConfigurationManager.ConnectionStrings["NorthwindConnectionString"];

if (setting != null)

{

conn = new SqlConnection(setting.ConnectionString);

cmd = new SqlCommand("ShowProductByCategory", conn);

cmd.CommandType = CommandType.StoredProcedure ;

cmd.Parameters.Add("@CategoryName", SqlDbType.VarChar);

cmd.Parameters["@CategoryName"].Value = DropDownList1.SelectedItem.Text;

da = new SqlDataAdapter(cmd);

ds = new DataSet();

da.Fill(ds, "datas" );


ReportDataSource datasourse = new ReportDataSource("datasetprodiuct",ds.Tables["datas"]) ;

//datasourse.Value = ds;


//ReportViewer1.LocalReport.DataSources.Clear();

ReportViewer1.LocalReport.DataSources.Add(datasourse) ;


if (ds.Tables["datas"].Rows.Count == 0)

{

lblmessage.Text = "sorry";

}

//ReportViewer1.LocalReport.Refresh();



}

}

i am trying to generate report using reportviewer but getting following error

An error has occurred during report processing. ObjectDataSource 'ObjectDataSource1' could not find a non-generic method 'GetData' that has no parameters.

Please help.

thanks



regards
imran khan

Questionarraylist passing Pin
biaali8-Mar-07 22:23
biaali8-Mar-07 22:23 
AnswerRe: arraylist passing Pin
badgrs8-Mar-07 23:00
badgrs8-Mar-07 23:00 
GeneralRe: arraylist passing Pin
biaali8-Mar-07 23:13
biaali8-Mar-07 23:13 
GeneralRe: arraylist passing Pin
badgrs9-Mar-07 1:15
badgrs9-Mar-07 1:15 
AnswerRe: arraylist passing Pin
N a v a n e e t h8-Mar-07 23:44
N a v a n e e t h8-Mar-07 23:44 
Questionvb code in asp.net? Pin
Member 38798818-Mar-07 22:18
Member 38798818-Mar-07 22:18 
AnswerRe: vb code in asp.net? Pin
Sandeep Akhare8-Mar-07 22:24
Sandeep Akhare8-Mar-07 22:24 
GeneralRe: vb code in asp.net? Pin
Member 38798818-Mar-07 22:37
Member 38798818-Mar-07 22:37 
AnswerRe: vb code in asp.net? Pin
N a v a n e e t h9-Mar-07 0:29
N a v a n e e t h9-Mar-07 0:29 
QuestionButton to submit values in the textbox and selected items in the database Pin
Oga M8-Mar-07 21:55
Oga M8-Mar-07 21:55 
AnswerRe: Button to submit values in the textbox and selected items in the database Pin
N a v a n e e t h8-Mar-07 22:18
N a v a n e e t h8-Mar-07 22:18 
AnswerRe: Button to submit values in the textbox and selected items in the database Pin
Member 38798818-Mar-07 22:26
Member 38798818-Mar-07 22:26 
AnswerRe: Button to submit values in the textbox and selected items in the database Pin
Imran Khan Pathan8-Mar-07 22:37
Imran Khan Pathan8-Mar-07 22:37 
QuestionMail Problem Pin
Jijo BP8-Mar-07 21:46
Jijo BP8-Mar-07 21:46 
Questionadd attribute for a control in datagrid Pin
yesu prakash8-Mar-07 21:42
yesu prakash8-Mar-07 21:42 
AnswerRe: add attribute for a control in datagrid Pin
Spunky Coder8-Mar-07 22:12
Spunky Coder8-Mar-07 22:12 
GeneralRe: add attribute for a control in datagrid Pin
yesu prakash8-Mar-07 22:25
yesu prakash8-Mar-07 22:25 

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.