<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:hospital %>" DeleteCommand="DELETE FROM [Purchaseentry] WHERE [Billno] = @Billno" SelectCommand="SELECT * FROM [Purchaseentry] " FilterExpression="Convert(bill , 'System.String') LIKE '{0}%' OR itemname Like '{1}%'" UpdateCommand="StoredUpdatepurchase" UpdateCommandType="StoredProcedure" > <FilterParameters> <asp:ControlParameter Name="bill" ControlID="txtSearch" PropertyName="Text" ConvertEmptyStringToNull="true" /> <asp:ControlParameter Name="itemname" ControlID="txtitemname" PropertyName="Text" ConvertEmptyStringToNull="true" /> </FilterParameters>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)