Click here to Skip to main content
15,887,214 members
Home / Discussions / Database
   

Database

 
GeneralRe: Creating a report selecting information from two databases on the same server Pin
Md. Marufuzzaman13-Sep-09 4:46
professionalMd. Marufuzzaman13-Sep-09 4:46 
GeneralRe: Creating a report selecting information from two databases on the same server Pin
Eddy Vluggen13-Sep-09 7:08
professionalEddy Vluggen13-Sep-09 7:08 
AnswerRe: Creating a report selecting information from two databases on the same server Pin
εїзεїзεїз13-Sep-09 6:09
εїзεїзεїз13-Sep-09 6:09 
Questionproblem with sql server 2008 - cant change field type Pin
E_Gold12-Sep-09 22:19
E_Gold12-Sep-09 22:19 
AnswerRe: problem with sql server 2008 - cant change field type Pin
Md. Marufuzzaman13-Sep-09 4:38
professionalMd. Marufuzzaman13-Sep-09 4:38 
GeneralRe: problem with sql server 2008 - cant change field type Pin
E_Gold13-Sep-09 9:21
E_Gold13-Sep-09 9:21 
AnswerRe: problem with sql server 2008 - cant change field type Pin
εїзεїзεїз13-Sep-09 5:59
εїзεїзεїз13-Sep-09 5:59 
QuestionRegaring Establishing Connection with sqlserver. Pin
dayakar_dn12-Sep-09 8:35
dayakar_dn12-Sep-09 8:35 
Hi All,

I am getting a strange error while establishing connection with sqlserver.

i written the following code to establish the connection
string sqlStatement = "select * from Student_Table";
String dataBaseConnection = "Data Source=DREDDY9/SQLEXPRESS;Initial Catalog=SampleDataBase;Integrated Security=SSPI";
SqlConnection myConnection = new SqlConnection(dataBaseConnection);

SqlCommand myCommand = new SqlCommand(sqlStatement, myConnection);
SqlDataReader dr;

myConnection.Open();
dr = myCommand.ExecuteReader();
if(dr!=null)
{
Response.Write("Successfully Executed");
}
myConnection.Close();

To resolve this i tried with enabling local and remote connections and i enabled sql server browser.

but no use
any body is having any solution. please shere it.
AnswerRe: Regaring Establishing Connection with sqlserver. Pin
dan!sh 12-Sep-09 8:56
professional dan!sh 12-Sep-09 8:56 
AnswerRe: Regaring Establishing Connection with sqlserver. Pin
εїзεїзεїз12-Sep-09 10:20
εїзεїзεїз12-Sep-09 10:20 
AnswerRe: Regaring Establishing Connection with sqlserver. Pin
εїзεїзεїз12-Sep-09 12:00
εїзεїзεїз12-Sep-09 12:00 
QuestionWhats wrong with this query Pin
AndreFratelli12-Sep-09 7:47
AndreFratelli12-Sep-09 7:47 
AnswerRe: Whats wrong with this query Pin
dan!sh 12-Sep-09 7:58
professional dan!sh 12-Sep-09 7:58 
AnswerRe: Whats wrong with this query Pin
Luc Pattyn12-Sep-09 8:14
sitebuilderLuc Pattyn12-Sep-09 8:14 
GeneralRe: Whats wrong with this query Pin
AndreFratelli12-Sep-09 14:49
AndreFratelli12-Sep-09 14:49 
AnswerRe: Whats wrong with this query Pin
εїзεїзεїз12-Sep-09 10:28
εїзεїзεїз12-Sep-09 10:28 
QuestionAuto reconnect to MySql when connection is lost after period of inactivity Pin
Bil@l12-Sep-09 5:13
Bil@l12-Sep-09 5:13 
AnswerRe: Auto reconnect to MySql when connection is lost after period of inactivity Pin
dan!sh 12-Sep-09 8:00
professional dan!sh 12-Sep-09 8:00 
GeneralRe: Auto reconnect to MySql when connection is lost after period of inactivity Pin
εїзεїзεїз12-Sep-09 10:40
εїзεїзεїз12-Sep-09 10:40 
GeneralRe: Auto reconnect to MySql when connection is lost after period of inactivity Pin
dan!sh 12-Sep-09 19:07
professional dan!sh 12-Sep-09 19:07 
GeneralRe: Auto reconnect to MySql when connection is lost after period of inactivity Pin
εїзεїзεїз12-Sep-09 19:39
εїзεїзεїз12-Sep-09 19:39 
AnswerRe: Auto reconnect to MySql when connection is lost after period of inactivity Pin
εїзεїзεїз12-Sep-09 10:37
εїзεїзεїз12-Sep-09 10:37 
QuestionWant to split variable in SQL[modified] Pin
xodeblack11-Sep-09 23:23
xodeblack11-Sep-09 23:23 
AnswerRe: Want to split variable in SQ Pin
εїзεїзεїз12-Sep-09 4:44
εїзεїзεїз12-Sep-09 4:44 
AnswerRe: Want to split variable in SQ Pin
tagyurit12-Sep-09 5:18
tagyurit12-Sep-09 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.