By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,617 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

how to call c sharp method in javscript

P: 2
I've a textbox and gridview in asp.net.. I've loaded some data into gridview form sql..
when I type a leter in textbox and pressing enter button the data which are starting letter that I've typed in textbox should be displayed .
I've used a method in sharp as below

public void search()
{
SqlDataAdapter da = new SqlDataAdapter("select * from mast_bloodgroup2 where bloodgroup like'" + txtsearch.Text+" % '", con);
DataSet ds = new DataSet();
da.Fill(ds);
grdbldgrp.DataSource = ds;
grdbldgrp.DataBind();
}
if anybody answer this, it'll be great
Mar 12 '12 #1
Share this Question
Share on Google+
1 Reply


Monomachus
Expert 100+
P: 127
Here are some results:
http://vijaysinghnegi.blogspot.com/2...h-textbox.html
http://evonet.com.au/gridview-with-h...earch-results/

But it is not done with AJAX, is it done with submit.

If you need AJAX than probably this would help
http://ammar.tawabini.com/2008/06/as...ta-filter.html
Mar 13 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.