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 are the contents of an assembly ?
Why hashtable is thread safe in c#?
What is Implementation inheritance and interface inheritance?
What is console used for?
Can we store different data types in arraylist in c#?
Can we inherit singleton class in c#?
What is the difference between string and string in c#?
Is list ienumerable c#?
What is a console device?
What is an actual parameter?
Why do we use virtual methods in c#?
Why dependency injection is used in c#?
What is assembly manifest?
What is the purpose of reserved word using in c#?
What are "class access modifiers" in C#?