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

How do I find information about the install locations for the various instances running on a computer?

1085


What is difference between aggregate and analytic function?

932


what are different types of backups available in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

923


Why we need sql server?

962


How do I partition a table in sql server?

1041


What are the properties of primary key?

974


How to enable/disable indexes?

1068


What is a unique index?

932


Do you know spatial data types - geometry and geography in sql server 2008?

1033


What is a db view?

900


What is difference between rownum and row_number?

967


What are binary string data types in ms sql server?

1290


What happens if we shrink log file in sql server?

983


How to list all field names in the result set using mssql_field_name()?

914


What are views used for?

1014