Search : in
By :

How to make database in asp .net

Last answer on Jun 12, 2009 11:49:08 am BST rahul, on Jun 8, 2009 1:38:28 pm BST 
 Report this message to moderators

Hello, i m rahul plz help me how to make database in asp .net step by step

Configuration: Windows XP
Firefox 3.0.10

Best answers for « how to make database in asp .net » in :
How to log in automatically with Windows XP ShowHow to log in automatically with Windows XP Using the Run feature If you have recently updated your Windows with the Automatic Updates, you will notice that you will not be able to log automatically into your account. This is due...
How to convert a PPS file to PDF format? ShowHow to convert a PPS file to PDF format? Download OpenOffice Open the file Exporting Below is a tips of how to convert PPS file to PDF format and preserve the clickable link at the same. Download OpenOffice Download Openoffice...
Outlook Express – unable to open e-mail attachments ShowOutlook Express – unable to open e-mail attachments Issue Solution Issue If you are receiving e-mails with attachment files and you are unable to open or save them, this is because your antivirus is blocking access to open. It is...
Download .NET Framework ShowMicrosoft .NET Framework 3.5 contains new features which have been built upon .NET Framework 2.0 and 3.0, and includes .NET Framework 2.0 service pack 1 and .NET Framework 3.0 service pack 1. Microsoft .NET Framework 3.5 includes: - ASP .NET AJAX...
Download Fomine Net Send GUI ShowThe Fomine Net WSend is very simple to use. It has a user friendly interface that is divided into two where the top one contains the list of LAN contacts and the bottom one is the area where the messages are sent and received. Features: This...
Application Service Provider (ASP) ShowApplication service concept The term ASP (Application Service Provider) refers to the provision, by a provider, of an application which can be used via networks. This term therefore refers to outsourcing of the hosting of an application or an...
Frames ShowIntroduction to Frames You can display multiple HTML pages in different areas at once. These areas are called frames. Frames are not found in the specifications of HTML 3.x, so the Document Type Declaration must show the page as having been...
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

fayalit, on Jun 8, 2009 2:12:41 pm BST

In order to create a sql server database you will have to check this website:

http://www.codeproject.com/KB/aspnet/SQLDb_Using_Aspnet.aspx­

Reply to fayalit

2

 jojo, on Jun 12, 2009 11:49:08 am BST

String name="madan";
SqlConnection Con = new SqlConnection();
DataSet ds = new DataSet();
SqlCommand Cmd = new SqlCommand("Select * from password where user='" + name + "'");
Con = new SqlConnection("Data Source=SYMBIOSYS\\SQLSERVER2005;Initial Catalog=Indradeep;Persist Security Info=True;User ID=sa;Password=sa1");
Cmd.Connection = Con;
Cmd.Connection.Open();
SqlDataReader dr;
dr = Cmd.ExecuteReader();
if (dr.Read())
{
Response.Write("Successfull");
}

Reply to jojo