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 are the contents of an assembly ?

543


Why hashtable is thread safe in c#?

480


What is Implementation inheritance and interface inheritance?

488


What is console used for?

510


Can we store different data types in arraylist in c#?

457






Can we inherit singleton class in c#?

461


What is the difference between string and string in c#?

459


Is list ienumerable c#?

597


What is a console device?

473


What is an actual parameter?

483


Why do we use virtual methods in c#?

479


Why dependency injection is used in c#?

483


What is assembly manifest?

514


What is the purpose of reserved word using in c#?

495


What are "class access modifiers" in C#?

525