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 to read data in a table with "select" statements?

918


What area unit the various kinds of info compression introduced in sql server 2008?

1035


How to use wildcard characters in like operations in ms sql server?

1063


Mention the different types of triggers?

1006


What is truncate table?

889


Can we call stored procedure in view in sql server?

860


Can sql server be linked with other servers like oracle?

903


Which tcp/ip port does sql server run on? How can it be changed?

976


What is the maximum rows in sql server table?

866


How many triggers are possible per table?

1038


Is sql different from sql server?

999


How many clustered indexes can be created on a table? I create a separate index on each column of a table. what are the advantages and disadvantages of this approach?

1053


What is a functions and types in sql server?

1011


Can sql server 2016 run on windows 7?

861


What is cdc in sql server?

951