Click here to Skip to main content
15,887,821 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: shorting in gridview Pin
Luc Pattyn14-Sep-10 7:46
sitebuilderLuc Pattyn14-Sep-10 7:46 
GeneralRe: shorting in gridview Pin
sashidhar14-Sep-10 8:55
sashidhar14-Sep-10 8:55 
GeneralRe: shorting in gridview Pin
Dhyanga14-Sep-10 10:50
Dhyanga14-Sep-10 10:50 
QuestionMessages Pin
Nandhu14513-Sep-10 22:18
Nandhu14513-Sep-10 22:18 
AnswerRe: Messages [ Cross Post - Please Ignore ] Pin
Abhijit Jana13-Sep-10 22:24
professionalAbhijit Jana13-Sep-10 22:24 
QuestionRead Image Metadata Pin
gautamamit813-Sep-10 21:24
gautamamit813-Sep-10 21:24 
AnswerRe: Read Image Metadata Pin
Abhijit Jana13-Sep-10 22:30
professionalAbhijit Jana13-Sep-10 22:30 
QuestionAuto complete extender with out pagemethod..., Pin
Member 387988113-Sep-10 21:17
Member 387988113-Sep-10 21:17 
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
QuestionRequest Pin
Nandhu14513-Sep-10 20:17
Nandhu14513-Sep-10 20:17 
AnswerRe: Request Pin
Brij13-Sep-10 22:06
mentorBrij13-Sep-10 22:06 
AnswerRe: Request Pin
Abhijit Jana13-Sep-10 22:20
professionalAbhijit Jana13-Sep-10 22:20 
AnswerRe: Request Pin
Abhijit Jana13-Sep-10 22:28
professionalAbhijit Jana13-Sep-10 22:28 
Questionproblem in site Pin
mojtaba101013-Sep-10 5:53
mojtaba101013-Sep-10 5:53 
AnswerRe: problem in site Pin
Sandeep Mewara13-Sep-10 7:24
mveSandeep Mewara13-Sep-10 7:24 
GeneralRe: problem in site Pin
Yajjoj13-Sep-10 19:42
Yajjoj13-Sep-10 19:42 
GeneralRe: problem in site Pin
brunoseixas14-Sep-10 8:05
brunoseixas14-Sep-10 8:05 
QuestionAdding assembly to assembly cache Pin
santoshkacode13-Sep-10 3:22
santoshkacode13-Sep-10 3:22 
AnswerMessage Removed Pin
13-Sep-10 3:48
Tej Aj13-Sep-10 3:48 
GeneralRe: Adding assembly to assembly cache Pin
Sandeep Mewara13-Sep-10 7:25
mveSandeep Mewara13-Sep-10 7:25 
AnswerRe: Adding assembly to assembly cache Pin
Sandeep Mewara13-Sep-10 7:26
mveSandeep Mewara13-Sep-10 7:26 
QuestionClient side Javascript VS Server side vaoidation control in asp.net Pin
JC.KaNNaN12-Sep-10 19:48
JC.KaNNaN12-Sep-10 19:48 
AnswerRe: Client side Javascript VS Server side vaoidation control in asp.net Pin
Brij12-Sep-10 21:43
mentorBrij12-Sep-10 21:43 
AnswerRe: Client side Javascript VS Server side vaoidation control in asp.net Pin
Abhijit Jana12-Sep-10 22:04
professionalAbhijit Jana12-Sep-10 22:04 
GeneralRe: Client side Javascript VS Server side vaoidation control in asp.net Pin
JC.KaNNaN12-Sep-10 22:25
JC.KaNNaN12-Sep-10 22:25 
QuestionUngroup Excel Columns Pin
Mugdha_Aditya12-Sep-10 19:23
Mugdha_Aditya12-Sep-10 19:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.