Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can we call UDF(User Define Function) using C# code in
ASP.net ?

Answer Posted / reventh

yes you can call a function.
sqlcommand cmd=new sqlcommand("select function
(parametter)");
sqldatareader rdr=cmd.excutereader();
while(rdr.read()
{
do something here;

}

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What happens when unicode strings concatenate with non-unicode strings?

1178


Write an SQL query to obtain the 2nd highest salary.

1122


Explain the different types of joins?

1042


Why use “in” clause in sql server?

1117


What is the sql server 2000 version number?

1141


Explain different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?

1083


You want to implement the one-to-many relationship while designing tables. How would you do it?

994


How do I repair damaged sql server mdf file database? In previous day my mdf file has got damage due to unknown reasons then I used dbcc chekcdb command but it failed, MDF file is important for me, I don’ know that how to get back mdf file data. Please anyone suggest me?

1796


what are the steps you will take, if you are tasked with securing an sql server? : Sql server database administration

1103


How network traffic be reduced by using the stored procedure?

1166


Tell me what is the stuff and how does it differ from the replace function?

1030


What is the purpose of self join?

1034


How you would rewrite the sql query to return the customerid sorted numerically?

1040


What do you mean by an execution plan? How would you view it?

956


Does hive support indexing?

998