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
What is dictionary collection in c#?
Explain partial class in c#?
Is learning c# hard?
Is php easier than c#?
What is iformatprovider in c#?
What is the use of properties window?
What is a thread? What is multithreading?
What are the 4 pillars of any object oriented programming language?
What is string interpolation in c#?
Which is faster hashtable or dictionary?
Define mutex in C#?
What is the implicit name and type of the parameter that gets passed into the class set method?
Is collection a data structure?
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?
What is difference between ilist and list in c#?