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 ?



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

Answer / 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

More SQL Server Interview Questions

Differentiate between ms sql server reporting services vs crystal reports?

0 Answers  


What is Lock table in SQL?

0 Answers   Wipro,


Will the writetext statement activate a trigger?

0 Answers  


What is the use of custom fields in report?

0 Answers  


What is the difference between Stored Procedure , Function and Package, 1. how many blocks in Package and what are they.

5 Answers   IBM,


Suppose i have a table that contains 5 columns like col1,col2...colm5.I want to import only two column through BCP utility.How to do same through BCP in sybase.

0 Answers   HCL,


How many types of Joins in SQL Server 2005?

9 Answers   CarrizalSoft Technologies, HCL,


What are ddl (data definition language) statements for tables in ms sql server?

0 Answers  


What is #temp and @table variable in SQL server?

0 Answers  


What are cursors? Name four types of cursors and when each one would be applied?

3 Answers   Adea Solutions,


What is a View ? Can we insert, Update and delete a view?

0 Answers   Arigo Infotech,


sql database suspect We have a sql database that is showing as suspect. How can we recover?

0 Answers  


Categories