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 the default boolean value in c#?
What are functions in c#?
So what makes your code really object-oriented #?
What are the benefits of using generics?
What is c# in asp net?
What is difference between for and foreach loop in c#?
What are the problem with .NET generics?
What is the purpose of c#?
What is variable and its classification?
What is the use of ienumerable?
How to implement an object pool in c#.net.
What is difference between iqueryable and ienumerable in c#?
What is the use of console readkey in c#?
What is yield keyword?
How long can a string be c#?