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 :
ASP.NET using C# - How to Connect/Retrieve in database to web a Show ASP.NET using C# - How to Connect/Retrieve in database to web application Issue Solution Note Issue I am 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...
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 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...
Automatic backup of a Database in SQL EXPRESS 2005 ShowAutomatic backup of a Database in SQL EXPRESS 2005 If you want to automate a backup of a database in SQL Server Express, there is a simple solution using a .bat. file. Create a new text file. This file should contain the following...
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...
S-video (Y/C) ShowThe S-Video standard The S-Video standard (for "Sony Video"), sometimes called Y/C, is a video transmission mode with separate components using different cables to carry information regarding luminance (luminosity) and chrominance (colour). An S...
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...

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
  • +9

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