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
Why we use extension methods in c#?
What does int32 mean?
Explain the 3 types of properties in c# with an example?
What is the difference between struct and class c#?
Why do we need generics?
What is difference between destructor and finalize?
What is _viewstart cshtml?
How do I trim a space in c#?
What is difference between dynamic and var in c#?
What are the benefits of using windows services:
What is a nested type. Give an example?
What is difference between private, protected, and public in C#?
What is a linked list c#?
What is a race condition?
what is a constructor? What is a destructor?