Im Creating an RDL report Using VS 2005. It accepts a parameter which i wish to pass as an XML file. <root> <emp> <emp detail ID ="1" name="ritu"/> <emp detail ID ="2" name ="rishi"/> </emp> </root> How can i filter my report data based on the ID (say 1)
thenewbee
Posts
-
Report Service - passing XML paramter to filter data -
DataBinder.Eval usage in Href [modified]Ok i understood that but can u plz help me to give proper quotation for the below code href= "frmViewInvoiceDetails.aspx?invoiceID=<%#DataBinder.Eval(Container,"DataItem.InvoiceID")%>">Click Here</a>
-
DataBinder.Eval usage in Href [modified]href= "frmViewInvoiceDetails.aspx?invoiceID=<%#DataBinder.Eval(Container,"DataItem.InvoiceID")%>">Click Here</a> Here i havent used the concatenation but i have the problem with the quotation marks.
-
DataBinder.Eval usage in Href [modified]<asp:datagrid style="Z-INDEX: 101; POSITION: absolute; TOP: 136px; LEFT: 192px" id="DataGrid1" runat="server" AutoGenerateColumns="False"> <Columns> <asp:TemplateColumn HeaderText="test"> <ItemTemplate> <a href="www.yahoo.com?id=12" runat="server" id="h1">click</a> <asp:TextBox runat="server" ID="Textbox1" NAME="Textbox1" Visible="False"></asp:TextBox> </ItemTemplate> </asp:TemplateColumn> <asp:ButtonColumn Text="Button" HeaderText="edit" CommandName="ed"></asp:ButtonColumn> <asp:TemplateColumn HeaderText="Invoice No"> <ItemTemplate> <a id ="h2" runat="server" href= "frmViewInvoiceDetails.aspx?invoiceID=<%#DataBinder.Eval(Container,"DataItem.InvoiceID")%>">Click Here</a> </ItemTemplate> </asp:TemplateColumn> </Columns> </asp:datagrid> Iam using VS 2003 When i changed to Design View i got the following error Could not open in Design view. Quote values differently inside a '<% ..."value"... %>' block.
-
DataBinder.Eval usage in Href [modified]Sorry i misplaced the code Here is my full code
<asp:datagrid style="Z-INDEX: 101; POSITION: absolute; TOP: 136px; LEFT: 192px" id="DataGrid1"
runat="server" AutoGenerateColumns="False">
<Columns>
<asp:TemplateColumn HeaderText="test">
<ItemTemplate>
<a href="www.yahoo.com?id=12" runat="server" id="h1">click</a>
<asp:TextBox runat="server" ID="Textbox1" NAME="Textbox1" Visible="False"></asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:ButtonColumn Text="Button" HeaderText="edit" CommandName="ed"></asp:ButtonColumn>
<asp:TemplateColumn HeaderText="Invoice No">
<ItemTemplate>
<a id ="h2" runat="server" href= "frmViewInvoiceDetails.aspx?invoiceID=<%#DataBinder.Eval(Container,"DataItem.InvoiceID")%>">Click Here</a>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid>Iam using VS 2003 When i changed to Design View i got the following error Could not open in Design view. Quote values differently inside a '<% ..."value"... %>' block.
-
DataBinder.Eval usage in Href [modified]<asp:datagrid style="Z-INDEX: 101; POSITION: absolute; TOP: 136px; LEFT: 192px" id="DataGrid1"
runat="server" AutoGenerateColumns="False">
<Columns>
<asp:TemplateColumn HeaderText="test">
<ItemTemplate>
<a href="www.yahoo.com?id=12" runat="server" id="h1">click</a>
<asp:TextBox runat="server" ID="Textbox1" NAME="Textbox1" Visible="False"></asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:ButtonColumn Text="Button" HeaderText="edit" CommandName="ed"></asp:ButtonColumn>
<asp:TemplateColumn HeaderText="Invoice No">
<ItemTemplate>
<a id ="h2" runat="server" href= "frmViewInvoiceDetails.aspx?invoiceID=<%#DataBinder.Eval(Container,"DataItem.InvoiceID")%>">Click Here</a>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid>Iam using VS 2003 When i changed to Design View i got the following error Could not open in Design view. Quote values differently inside a '<% ..."value"... %>' block.
-
DataBinder.Eval usage in Href [modified]I have problem with this line of code in my asp.net page. Its showing error. Can anyone help me? my Soucre Code is as follows:
<asp:datagrid style="Z-INDEX: 101; POSITION: absolute; TOP: 136px; LEFT: 192px" id="DataGrid1"
runat="server" AutoGenerateColumns="False">
<Columns>
<asp:TemplateColumn HeaderText="test">
<ItemTemplate>
<a href="www.yahoo.com?id=12" runat="server" id="h1">click</a>
<asp:TextBox runat="server" ID="Textbox1" NAME="Textbox1" Visible="False"></asp:TextBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:ButtonColumn Text="Button" HeaderText="edit" CommandName="ed"></asp:ButtonColumn>
<asp:TemplateColumn HeaderText="Invoice No">
<ItemTemplate>
<a id ="h2" runat="server" href= "frmViewInvoiceDetails.aspx?invoiceID=<%#DataBinder.Eval(Container,"DataItem.InvoiceID")%>">Click Here</a>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp:datagrid>Iam using VS 2003 When i changed to Design View i got the following error Could not open in Design view. Quote values differently inside a '<% ..."value"... %>' block.
modified on Wednesday, January 6, 2010 1:23 AM
-
Response.Redirect() problemHi Is there a way to hide the parameters passed when using response.redirect? ie instead of displaying : www.codeproject.com/script/Forums/Edit.aspx?fid=12076&floc=/script/Forums/View.aspx something like:www.codeproject.com/script/Forums/Edit.aspx I can use sessions but if the data is too large what can be done?? plz help
-
Thread.AbortIs there any way other than Abort to terminate a thread. How can i Suspend or resume Asynchronous threads
-
A problem with Diamond problem???:confused:
-
A problem with Diamond problemvirtual void fun(){ cout<<"A"; } }; class B: virtual public A{ public : void fun(){ cout<<"k"; } }; Its not becoz C is my Fav. . :) The base class B dont have fun(int). But C have. & how will B get the fun(int)??
-
A problem with Diamond problem:laugh: The call dObj.fun(4) shld call C::fun(int) Thats wt we had learned from the concept of Overloading. . Am i correct??
-
A problem with Diamond problemI have a base class A which is being inherited later & in one inherited class i had OVERLOADED one of the base class function. The code snippet is given below. class A{ public: virtual void fun(){ cout<<"A"; } }; class B: virtual public A{ public : void fun(){ cout<<"k"; } }; class C: virtual public A{ public: int fun(int num){ cout<<"C"; } }; class D: public C, public B{ }; void main(){ D dObj; dObj.fun(4); } Can anyone tell me why i am getting an "ambigous" error in the fn call?
-
ON_MESSAGE & ON_THREAD_MESSAGEMSDN says ON_THREAD_MESSAGE must be used instead of ON_MESSAGE when you have a CWinThread clas Is this the only 1 difference
-
ON_MESSAGE & ON_THREAD_MESSAGEHello All, Is there any diff between these 2 ON_MESSAGE & ON_THREAD_MESSAGE. Both does the same thing & both works for my thread appln. can any 1 plz tell me the diff of 2 & when 2 use them ?? Thanks in Advance Vivek
-
LIne Breakingi got it . .. Ctrl+E, Ctrl+W :-D
-
LIne BreakingI had accidently pressed a combination of ctrl+E+"Something" & it resulted in hiding my Horizontal Scroll bar.. Tools -> Options -Text Editor _> Display Setting Both Horizontal & Verstical scroll are enabled.. So The Actual problem is when i typing the contents once the cursor reaches the end of the page it moves to the next line like this. . . i want to continue typing in one line. . . Plz help
-
Saving Bitmap in HashTableThanks Martin . . .. :)
-
Shifting from .net 2.0 to .net 3.0Is it a must thatg for using .net 3.0 we shld use MS VS 2008
-
Saving Bitmap in HashTableThanks Again . :) Is there any diff in creating obj using Bitmap bmp2 = new Bitmap(); & Bitmap bmp2 = obmp as Bitmap; What is this obmp???