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

how to call c sharp method in javscript

P: 2
I've a textbox and gridview in 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();
grdbldgrp.DataSource = ds;
if anybody answer this, it'll be great
Mar 12 '12 #1
Share this Question
Share on Google+
1 Reply

Expert 100+
P: 127
Here are some results:

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

If you need AJAX than probably this would help
Mar 13 '12 #2

Post your reply

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