Search : in
By :

Database connect and retrieve in c#

Last answer on Oct 9, 2009 6:23:47 am BST raja, on May 21, 2009 8:52:58 am BST 
 Report this message to moderators

Hello,
I am ilayaraja doing my project work,i have one problem
my project doing in asp.net
but i don't know how to connect the database in asp.net using c# and how to retrieve in database to web form in sql server .
please give the answer my question, urgently.

Configuration: Windows Vista
Firefox 3.0.10

Best answers for « database connect and retrieve in c# » in :
Connecting to Oracle via php ShowConnecting to Oracle via php Settings Requirements Example of code Settings Below is an article based on an example of connection to an Oracle database through a php script. However it is not designed to configure your oracle...
Connect a database (MDB) to excel Show[VBA] Connecting a database (MDB) to excel Below is a tips of how to connect an Access database (MDB) in an application excel Add reference Microsoft DAO object librairy X.X In a general module (eg Module1) paste the code below...
Connecting to an Ingres database with PHP ShowConnecting to an Ingres database with PHP Getting started Download PECL Installation Windows Linux & Unix Getting connected This tip is based on following Ingres documentation: Getting started Ingres® 2006 Release 2 for...
ODBC ShowWhat is ODBC? ODBC stands for Open Database Connectivity. This is a Microsoft-defined format for communicating between Windows database clients and consumer DBMSs. The ODBC managier can be found in Windows 3.1 and 9x. In Windows 95 and 98, it is...
Databases - Using forms ShowUsing forms In order to use databases, the user must be provided with an interface that allows him or her to view data based on certain criteria. There is a tool for this: forms. A form is an interface with components for displaying, entering, or...
Sharing an Internet connection ShowAdvantagesIf you have a LAN (two computers or more connected in a network), of which one is connected to the Internet (via a DSL modem, cable, etc.), it may be worthwhile to make the Internet accessible to the other computers on the LAN by installing...

1

pro-genius, on May 21, 2009 10:16:31 pm BST
Reply to pro-genius

2

Jetu, on Jun 25, 2009 5:48:43 am BST
  • +1

Sale mai puch raho ya tum ,Itnsa janta to yaha ku ata

Reply to Jetu

3

mini, on Aug 1, 2009 9:22:57 am BST
  • +10

Sqlconnection con= new sqlconnection( );
con.open();
sql command cmd =new command("query",con);
sqldataadpater da= new dataadpter(cmd);
dataset ds();
da.fill(ds," tablename");
datagridview.datasource="tablename";
con.close();

Reply to mini

4

bala, on Aug 7, 2009 9:46:43 am BST

Hello mini,
you done the very good job for my project ,
and use full the coding in the my project in starting level
so thank you.

whrer r u
tell your self
my no 9751616062

good boy

my coding is also same your coding and i am not use the adpater in this coding

.</gras>

Reply to bala

5

 dharmendrakumar84@gmail.com, on Oct 9, 2009 6:23:47 am BST
  • +2

Sqlconnection con= new sqlconnection( );
con.open();
sql command cmd =new command("query",con);
sqldataadpater da= new dataadpter(cmd);
dataset ds();
da.fill(ds," tablename");
datagridview.datasource="tablename";
con.close();



will u pl z tell tdis coding is for wat?wich purpose
thnx

Reply to dharmendrakumar84@gmail.com