CAML query for more than two items in a list and bind those result to gridview?

Hi Team,
I am binding sharepoint 2013 list to gridview programatically.
Now i need to search the results. If i gave some key word in text box and click on search.
Then it should display only those values in gridview using caml query.
Below is my form.

Hi,
Here is a blog about the CAML Query with Multiple Conditions for your reference:
http://aasai-sharepoint.blogspot.com/2013/02/caml-query-with-multiple-conditions.html
If you want to filter the list item, here is a web part from codeplex with the source code for your reference:
SharePoint ListView Filter
https://splistviewfilter.codeplex.com/
Thanks,
Dennis Guo
TechNet Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Dennis Guo
TechNet Community Support

Similar Messages

  • Can you make a movie for more than 2 minutes on an ipad and save it on a flash drive

    Can you make a movie for more than two minutes on the ipad and sve it on a flash drive using windows XP

    Using Apple's camera connection kit, you can use a flash drive to IMPORT photos and videos. However, you can't EXPORT any type of file to the flash drive.
     Cheers, Tom

  • No home phone service for more than two months

    I am sending this note on behalf of my mother.  She has been waiting for technical services to her home phone for more than two months.  She has received dates where a technician would come out to repair her services in which she has left work early or stayed home on weekends no avail.  My mom is not in best health and has a child with disabilities living in the home and it is imperative that her services are working.  It is frustrating to her to pay for a service she's not receiving.  This is the worst customer service experience from Verizon.  
    I am asking for immediate resolve to this issue and to work with us to assure payment for time where phone has not worked Will not be charged to her account.  Please contact me {edited for privacy}.

    Hi lmatthews522,
    Please go to your profile page for the forum by clicking on your name, and look at the top of the middle column where you will find an area titled "My Private Support Cases". There you will find a link to the private board where you and the agent may exchange information. This should be checked on a frequent basis, as the agent may be waiting for information from you before they can proceed with any actions. Please keep all correspondence regarding your issue in the private support portal.

  • I accidentally changed a setting on my ipod touch and now it won't change back. I have had my ipod for more than two years and i dont know what to do. If i go to the apple store, would they fix it, or would i need to get a new one?

    I accidentally changed a setting on my ipod touch and now it won't change back. I have had my ipod for more than two years and i dont know what to do. If i go to the apple store, would they fix it, or would i need to get a new one? If it could be fixed, how much would it cost?

    If it is still under warranty you can call the 800 number to apple and enter the serial number and it will tell you if it is under warranty or not if not its like $30 basically for them to help or something like that it said today when i called...
    Or take it to a genius bar if you have one near?
    Or further explain what setting you are needing fixed back and im sure someone here can help you for free!

  • Reversed OL in Firefox ESR 31.1.1 is wrong for more than 53 items

    The ESR version of Firefox (31.1.1) finally acknowledges <OL reversed="reversed"> (standard HTML5), but the implementation is only working properly for up to 53 items in the list. If there are more than 53 items, then the list will still start at 53, then count down to 1, then zero and then start on negative numbers...
    There must be a bug in how the total number of items in the list is calculated.

    hello bjornclausen, if you think it's a problem in the browser's implementation, please file a bug for that issue at bugzilla.mozilla.org.

  • Allow for more than ONE item in a single row?

    Allow for more than ONE item in a single row? I can't use this wonderful program unless I can get more than one field on a row (i.e. 1st name, mi, last name etc)

    Thanks for your feedback. This is something we definetely want to provide next year (can't say when yet).
    If others are interested in this feature please vote on it within the idea tab: http://forums.adobe.com/ideas/1046
    That helps us prioritize our work based on customer demand.
    Randy

  • How can i get more than 1000 items in Custom List Displaying Items?

    http://.....sites/_vti_bin/listdata.svc/AddressBook(List) allows 1000 items Only my AddressBook List, but i have more than 1000 items in my AddressBook list. I want to get items
    from AddressBook list and bind in another place using Autocomplete method like this.
    =======>>>>listurl=http://.....sites/_vti_bin/listdata.svc/AddressBook.
    and my coding in camel like below
    protected void btnpopulatedetails_Click(object sender, EventArgs e)
    SPSite objSite = SPContext.Current.Site;
    SPWeb objWeb = objSite.OpenWeb();
    objWeb.AllowUnsafeUpdates = true;
    SPList list = objWeb.Lists["Address Book"];
    SPQuery query = new SPQuery();
    query.QueryThrottleMode = SPQueryThrottleOption.Override;
    query.Query = "<Where><Eq><FieldRef Name='Title'/><Value Type='Text'>" + txtcustomer.Value + "</Value></Eq></Where>";
    query.RowLimit = 500;
    SPListItemCollection items = list.GetItems(query);
    function fnCustomerSearchBind() {
    if ($("input[id$='txtcustomer']").length != 0) {
    var collcustomer = searchCustomers('', urlTo, fieldto);
    $("input[id$='txtcustomer']").autocomplete({
    source: collcustomer,
    //maxLength:10,
    select: function (event, ui) {
    //debugger;
    event.preventDefault();
    $("input[id$='txtcustomer']").val(ui.item.value);
    $("input[id$='btnpopulatedetails']").click();
    return false;
    minLength: 0,
    function searchCustomers(value, listurl, fieldto) {
    var collcus = new Array();
    var custresults;
    var url =listurl + "?$filter=startswith('" + fieldto + "','" + value + "')";
    //debugger;
    $.ajax({
    cache: true,
    type: "GET",
    async:false,
    dataType: "json",
    url: url,
    success: function (data) {
    custresults = data.d.results;
    //alert(listurl);
    // alert(data.d.results);
    for (var x = 0; x < custresults.length; x++) {
    //alert(custresults[x]['To']);
    collcustList.push(custresults[x]['To']);
    //debugger;
    //debugger;
    return collcustList;
    In my research listurl=http://.....sites/_vti_bin/listdata.svc/AddressBook has 1000 items in 1st Page by default, So how to change 1st Page by default to All Pages through
    code. I think you understand my environment by look above coding, if you don't I am using office 365 sandbox solution. One more thing i know through my research Pages can be change by using Ado.Net Data Service, i tried this one but this one support windows
    server 2008 r2 only but i am using Windows Server 2012 r2. Please help me if you know the answer.

    Hi,
    Here is a blog would be helpful:
    ADO.NET Data Services returns 1000 items
    https://gilleslauwers.wordpress.com/2010/12/08/ado-net-data-services-returns-1000-items/
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to close open POs which are open for more than two month

    I am new to MM please somebody help me with this
    Thank you

    there is NO STD SAP program which will help u closing the open PO (more than two months)
    you need to go each and every PO and mark it as Del completed (item level in deleivery tab)
    but this is only stastestical indicator. System wont stop you creating further GR against such PO if any Qty leftout.
    for example - PO order 10EA, you recd 8EA and marked the indicator , still you can make the GR for 2EA
    there is SPRO setting as well to mark the PO as delivery completed once PO Qty and MIGO QTy is equal or with some variance . but this will work on real time
    Another way to set the final invoice indicator in invoice tab
    system will allow you to post the further invoices but all be blocked.
    somebody need to go and verify the blocked invoices and take necessary action
    This is again a manual activity, there is no such STD setting or T code exist
    Another way is you can create a program with the help of abaper
    built a logic on date / QTy and Amount and update the PO for del complete ( EKPO-ELIKZ) and final inv indicator (EKPO-EREKZ) by using BAPI PO change
    hope this will help you

  • LSMW For Converting Open Sales Orders (not working for more than 1 item)

    Hi,
    I am using following standard object for Open sales orders .
    Object               0090   Sales documents                   
    Method               0000                                     
    Program Name         RVINVB10                                 
    Program Type         D   Direct Input                         
    Its not working for more than 1 line item.
    For more than 1 line item its giving Error saying that
    '102122                         V1                   845
    Print parameter SAPML2 1 is not defined
    Can anybody help me out in this regard.
    Thanks in advance.
    Nitin.

    hello, friend.
    i will still research the subject.  but the first thing that comes into my mind is t-code VA05.  with this, you have the option to change the Plant en masse.  so a possible workaround is for you to list a number of sales orders using VA05.  you then sort the line items by Plant.  choose all items with the same plant, change the plant via mass change... then change back to the original plant.  hopefully, the new settings should apply.
    do test a few sales orders by doing this for a larger scope.
    regards.

  • How can i use IDSM-2 in inline mode for more than two VLANs?

    can i use the IDSM-2 in inline mode to be ips to more than two VLANS
    like this or it isn't
    intrusion-detection module 5 data port 1 access-vlan 10,20,30,40,50
    intrusion-detection module 5 data port 1 access-vlan 100,200
    thank u all for your help

    The IDSM-2 ports need to be configured as trunk ports with multiple vlans rather than as access ports.
    http://www.cisco.com/en/US/partner/products/hw/vpndevc/ps4077/products_configuration_guide_chapter09186a00807517eb.html#wp1068377
    And instead of creating an inline interface pair by pairing Gig0/7 with Gig0/8 within the IDSM-2 configuration, you would create inline vlan pairs.
    With an inline vlan pair you pair 2 vlans on the same interface.
    You can have up to 255 inline vlan pairs on each interface (assumining you keep the total traffic from all of the pairs within the IDSM-2s performance limit of around 500Mbps)
    How to create inline vlan pairs:
    http://www.cisco.com/en/US/partner/products/hw/vpndevc/ps4077/products_configuration_guide_chapter09186a00807517bb.html#wp1047852
    The other aspect you need to be aware of is that not all IOS versions will support configuring the IDSM-2 data ports as trunk ports for inline vlan pairs.
    Your best bet is to use 12.2(18)SXF4 or a later version on the 12.2(18)SXF train.
    The 12.2(33)SR train does not currently support the trunk feature for the IDSM-2.

  • GR-GI printout for more than one item in one document

    Hi Friends,
    In my GR document, there are more than one materials receipted in one document. I am taking the printout of GR slip by assigning the printer in MB02 T-Code. And then through MB90 i am taking the printout. But in MB90 in the print preview, I can see only one item at a time. where as I have receipted more than one item in one document. In MB02 I have to assign the printer one by one to each item and in MB90 also i can see only one item in the GR slip. How can I take the printout of the of all the items in the GR document all at a time??????
    Same is the case for Goods Issue slip. Here also i can see the print preview of only one item at a time.
    Please advice.
    Thanks & Regards
    Satya

    Satyabrata,
    <b>In transaction "OMBR" define print version indicator as "3" for the transactions through which you are creating this material document</b> this basically defaults when performing the transaction. You can also set the indicator to collective in the intial screen of the transaction.
    Defination of print version:
    Version for printing of GR/GI slip, Specifies the version of the goods receipt/issue slip.
    You can print out three different versions of a GR/GI slip:
    <b>Individual slip (version 1)</b>
    In this case, one GR/GI slip is printed out for each item.
    <b>Individual slip with inspection text (version 2)</b>
    In this case, one GR/GI slip is printed out for each item. In addition, a quality inspection text is printed if there is one in the material master record.
    <b>Collective slip (version 3)</b>
    In this case, a collective slip including all the items in a document is printed.
    Hope this helps...
    Regards,
    Prasobh

  • Can I make a DVD that will go for more than two hours?

    Hi,
    I'm working in iDVD 08, version 7.0.1, and when I drop in video that lasts over an hour, I get a warning. The original videos are around 100 MB for each hour, and iDVD won't let me add more than two. It's saying my two 100 MB videos will fill the 4.2 GB of space on the DVD.
    What can I do to have the videos stay at around 100 MB each, so I can put several of them on one DVD?
    Any help is most appreciated.
    Russ Conte

    Russ,
    iDVD isn't really designed to archive old highly compressed movie files.
    DV video (for which iDVD was originally designed) runs about 13 GB per hour and iDVD mpg-2 compresses everything to fit a maximum of 120 minutes on a single-layer disc. (Your files are much more highly compressed than DV and perhaps are also smaller in image size.)
    If you want to 'cram' a lot more content on a DVD (and don't care about the quality) you might want to look at VisualHub that claims to let you put up to 18 hours of content on a disc.
    F Shippey

  • Creating Common Bom for more than two Organizations

    Hi All,
    I have a requirement of creating a Common BOM (bill of materials and few components to some organizations at a time) for more than one Organization.
    How can i do this.
    Can any one help me on this.
    Thank you,
    Amar

    Amar,
    Create org hierarchy and use hierarchy when running common bill program rather than org by org.
    Thanks
    Nagamohan

  • CCM: More than two items in catalog are not getting loaded into CCM

    Hi All,
    We configured CCM to our client and working fine, but  we are able to upload only two items. when we add third item or more items to catalog, these are not getting loaded in to CCM (The catalog is loading find and there is no problem when loading).
    The log shows green, but items are not there in CCM.
    Is any one faced similar problem?
    How can we export master schema from CCM to desktop?
    Thanks,
    Ravi Varma

    It is Supplier catalog
    Ravi

  • Trying to use the same ground for more than two channels (RSE configuration) with usb 6000

    Hello,
    I'm currently trying to set up a LabView code in order to get readings of voltage using 5 different locations simultaneously. I want to only use the first location as ground and obtain 4 voltage measurements between the ground and each one of the other 4 channels. I'm using a usb 6000 which for now allows me to use the same ground for only two channels. Is there a way to use the same ground for 4 channels?
    Thank you,
    Maria

    You're right it is confusing the way I describe it so I ahve attached some pictures of the set up. The first figure is the cell filled with soil and the 5 probes inserted in it. The anode is placed at the left end of the cell and the cathode at the right end but they do not appear in the figure. I'm trying to use location 1 as gournd and take measurements of voltage from the following pairs: 1-2, 1-3, 1-4, and 1-5. The second figure is the DAQ I'm using. When I was trying to set up the RSE configuration, it was ussing ground A for the channels 6 & 7 (locations 2 and 3 in figure 1) but ground B for channels 4 & 5 (locations 4 and 5 in figure 1). What I am asking is which is the best way to use the signal from location 1 as the ground for all 4 channels. Is this more clear?
    Thank you for your time!
    Maria

Maybe you are looking for