prave ze moc ne.. jeste si to poradne nastuduju a kouknu na to. takhle treba mam udelanej textbox. Podobnej dotaz bych chtel pres tu URL adresu. <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DemoConnectionString %>" SelectCommand="SELECT * FROM [Asset] WHERE (([SerialNumber] LIKE '%' + @SerialNumber + '%') or ([EvidenceNumber] LIKE '%' + @EvidenceNumber + '%') or ([SimNumber] LIKE '%' + @SimNumber + '%') or ([Specification] LIKE '%' + @Specification + '%') or ([Producer] LIKE '%' + @Producer + '%'))"> <SelectParameters> <asp:ControlParameter ControlID="TextBox1" Name="SerialNumber" PropertyName="Text" Type="String" /> <asp:ControlParameter ControlID="TextBox1" Name="SimNumber" PropertyName="Text" Type="String" /> <asp:ControlParameter ControlID="TextBox1" Name="Specification" PropertyName="Text" Type="String" /> <asp:ControlParameter ControlID="TextBox1" Name="EvidenceNumber" PropertyName="Text" Type="String" /> <asp:ControlParameter ControlID="TextBox1" Name="Producer" PropertyName="Text" Type="String" /> </SelectParameters> </asp:SqlDataSource>
|