Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Can the accessibility of a type member be greater than the accessibility of its containing type?

946


Why do we use Design Pattern in C#?

1039


what will be the output of the given below coding. using System; public class Exercise { static void OddNumbers(int a) { if (a >= 1) { Console.Write("{0}, ", a); a -= 2; OddNumbers(a); } } public static int Main() { const int Number = 9; Console.WriteLine("Odd Numbers"); OddNumbers(Number); Console.WriteLine(); return 0; } }

4361


Can we inherit partial class in c#?

942


Is there regular expression (regex) support available to c# developers?

975


Please explain the basic string operations used in c#?

959


So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?

900


What's different between c# and c/c++?

951


What is .cs file in c#?

926


What is an enumerator in c#?

972


what is .NET framework architecture ??

2010


What is uint64_t?

985


Which technology is best for desktop application?

864


Does c# have primitives?

886


Is c# static or dynamic?

942