Click here to Skip to main content
16,020,378 members

Comments by khalid92 (Top 3 by date)

khalid92 15-Apr-13 5:38am View    
which error you are still getting ...?
if you have duplicate field names than try to set selected index by its value like this

DropDownList1.SelectedIndex = DropDownList1.Items.IndexOf(DropDownList1.Items.FindByValue(dr["FiledName"].ToString()));
khalid92 15-Apr-13 2:25am View    
you set that field property as identity in database and you dont need to write code/sp/logic for increment
khalid92 15-Mar-11 1:54am View    
Thanks for rpl.

Actually i am new one for Reporting in asp.net C#,
i have 3 data source one data source i want to display on same report as DataList Format and other two data source i merge than i assing to same report and display as a gird format so how can i do this approach can any one paste code here where i get idea

can i assing dynamically values from datatable like this
MyText = CType(ReportDocument.ReportDefinition.ReportObjects(Text3), TextObject);
MyText.Text = ds.Table(0).Row(0).Item(0).ToString() ;