Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Auto complete extender with out pagemethod...,

Auto complete extender with out pagemethod...,

Scheduled Pinned Locked Moved ASP.NET
tutorialdatabasequestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 3879881
    wrote on last edited by
    #1

    Hi guys i want to use auto complete extender for my textbox..., I know how to use tht with pagemethod..., Now my probs is my webmethod in some other project..., i am accessing the webmethod through webreference for my pages..., i have declared the name space like this..., using ABPort.portWebServices; now how can i acces the web method which is in ABPort.portWebServices for my textbox which is in another project page..., plz guide me this is my code sample: portWebServices.asmx.cs ----------------------- [WebMethod] public static string[] Get_Alert_CompanyInfo(string prefixText) { string sql = "Select * from tbl"; SqlDataAdapter da = new SqlDataAdapter(sql, SqlCl); da.SelectCommand.Parameters.Add("@prefixText", SqlDbType.VarChar, 50).Value = prefixText + "%"; DataTable dt = new DataTable(); da.Fill(dt); string[] items = new string[dt.Rows.Count]; int i = 0; foreach (DataRow dr in dt.Rows) { items.SetValue(dr["LNAME"].ToString(), i); i++; } return items; } my page name which is in another project ----------------------------------------- SetAlerts.aspx in tht my textbox is there, for tht i want to acces this webmethod "Get_Alert_CompanyInfo" Thanks & Regards, Member 3879881, please don't forget to vote on the post

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups