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...

from web.config file with connection string who to interact
means who to connect in gridview. in my system shows null
something error what is the problem

Answer Posted / samy

The name of the default table adapter connection string
looks something like the following:
AppName.Settings.Default.ConnectionStringName

Naturally, AppName is the name of your application and
ConnectionStringName is the name you've given to your
connection string. This is the 'certain way' that Jay is
talking about.

If you create a TableAdapter through the design time
interface and configure the connection string to save into
the config file, you can edit the config file and see
exactly what connection string name is expected.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default boolean value in c#?

897


What are functions in c#?

848


So what makes your code really object-oriented #?

901


What are the benefits of using generics?

917


What is c# in asp net?

874


What is difference between for and foreach loop in c#?

945


What are the problem with .NET generics?

927


What is the purpose of c#?

946


What is variable and its classification?

891


What is the use of ienumerable?

825


How to implement an object pool in c#.net.

995


What is difference between iqueryable and ienumerable in c#?

823


What is the use of console readkey in c#?

873


What is yield keyword?

835


How long can a string be c#?

847