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 do you mean by a windows process in regards to memory allocation?
What is difference between field and property in c#?
What do you know about device context?
What are desktop applications examples?
Do vs while c#?
What is the difference between method overriding and method overloading?
What is a web service in c#?
How can we set the class to be inherited, but prevent the method from being over-ridden?
What is the use of 'using' statement in c#?
Why do we use dataset in c#?
What does dbml stand for?
What is gac? How to put assembly in gac?
Where value types are stored in c#?
Explain about ODP.net
Is list ienumerable c#?