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

Is dll a library?

487


Can abstract class have private constructor c#?

506


How do I unload an application domain?

521


What is Custom attribute? How to create? If I'm having custom attribute in an assembly, how to say that name in the code?

510


what is the Difference between the public and private ?

514






Give some examples of commonly used i/o classes?

492


Is there hashmap in c#?

466


Explain about ODP.net

804


Do while loops yes or no c#?

526


What is type keyword in c#?

528


Is unboxing an implicit conversion?

534


What is super class in c#?

461


What is the purpose of a namespace?

478


How to reduce image resolution in C#?

629


Explain About namespaces

576