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 dictionary collection in c#?

507


Explain partial class in c#?

505


Is learning c# hard?

516


Is php easier than c#?

507


What is iformatprovider in c#?

506






What is the use of properties window?

511


What is a thread? What is multithreading?

518


What are the 4 pillars of any object oriented programming language?

462


What is string interpolation in c#?

553


Which is faster hashtable or dictionary?

515


Define mutex in C#?

626


What is the implicit name and type of the parameter that gets passed into the class set method?

503


Is collection a data structure?

550


Can you call from an inherited constructor to a specific base constructor if both base class and an inheriting class has a number of overloaded constructors?

530


What is difference between ilist and list in c#?

492