Click here to Skip to main content
15,924,039 members
Home / Discussions / C#
   

C#

 
GeneralRe: XElement vs XmlWriter Question Pin
Programm3r3-Sep-09 3:21
Programm3r3-Sep-09 3:21 
QuestionUpdate the XElement - Question Pin
Programm3r3-Sep-09 5:04
Programm3r3-Sep-09 5:04 
AnswerRe: XElement vs XmlWriter Question Pin
PIEBALDconsult3-Sep-09 6:30
mvePIEBALDconsult3-Sep-09 6:30 
GeneralRe: XElement vs XmlWriter Question Pin
Programm3r7-Sep-09 2:20
Programm3r7-Sep-09 2:20 
QuestionNavigating Internet Explorer Pin
Vijay Mudunuri2-Sep-09 22:50
Vijay Mudunuri2-Sep-09 22:50 
AnswerRe: Navigating Internet Explorer Pin
Jacobb Michael2-Sep-09 23:31
Jacobb Michael2-Sep-09 23:31 
GeneralRe: Navigating Internet Explorer Pin
Vijay Mudunuri3-Sep-09 2:00
Vijay Mudunuri3-Sep-09 2:00 
Questionconnectionstring Pin
sepehr_sepehr2-Sep-09 22:13
sepehr_sepehr2-Sep-09 22:13 
I want to connect to a DataBase and then add table to this database in runtime,
my code is:
private void button1_Click(object sender, EventArgs e)
{
string strsql = "create table tbl_" + textBox1.Text + "(tbl_id bigint identity(1,1) primary key)";
SqlConnection connection = new SqlConnection(@"Data Source=YOUR-6BBD24890A\Q;Initial Catalog=sepehr;Integrated Security=True;User Instance=True");
SqlCommand command = new SqlCommand();
command.Connection = connection;
command.CommandText = strsql;

connection.Open();
command.ExecuteNonQuery();
connection.Close();
toolStripStatusLabel1.Text = "Table Added To DataBase";

}
what's this error???
A user instance was requested in the connection string but the server specified does not support this option.
Changed database context to 'master'.
Changed language setting to us_english.

please help me as soon as possible Frown | :( D'Oh! | :doh:
AnswerRe: connectionstring Pin
Mohammad Dayyan2-Sep-09 22:22
Mohammad Dayyan2-Sep-09 22:22 
QuestionAn issue in windows service ? Pin
Mohammad Dayyan2-Sep-09 21:59
Mohammad Dayyan2-Sep-09 21:59 
AnswerRe: An issue in windows service ? Pin
N a v a n e e t h3-Sep-09 0:23
N a v a n e e t h3-Sep-09 0:23 
GeneralRe: An issue in windows service ? [modified] Pin
Mohammad Dayyan3-Sep-09 1:22
Mohammad Dayyan3-Sep-09 1:22 
GeneralRe: An issue in windows service ? Pin
N a v a n e e t h3-Sep-09 5:43
N a v a n e e t h3-Sep-09 5:43 
GeneralRe: An issue in windows service ? [modified] Pin
Mohammad Dayyan4-Sep-09 0:49
Mohammad Dayyan4-Sep-09 0:49 
GeneralRe: An issue in windows service ? Pin
N a v a n e e t h4-Sep-09 5:57
N a v a n e e t h4-Sep-09 5:57 
GeneralRe: An issue in windows service ? Pin
Mohammad Dayyan4-Sep-09 6:32
Mohammad Dayyan4-Sep-09 6:32 
AnswerRe: An issue in windows service ? Pin
Calla3-Sep-09 0:23
Calla3-Sep-09 0:23 
GeneralRe: An issue in windows service ? Pin
Mohammad Dayyan3-Sep-09 1:24
Mohammad Dayyan3-Sep-09 1:24 
GeneralRe: An issue in windows service ? Pin
Calla3-Sep-09 2:47
Calla3-Sep-09 2:47 
AnswerRe: An issue in windows service ? Pin
Hristo-Bojilov3-Sep-09 0:30
Hristo-Bojilov3-Sep-09 0:30 
QuestionHow to dynamically add webservices in an application? Pin
Thomas ST2-Sep-09 21:50
Thomas ST2-Sep-09 21:50 
QuestionRead Memory variable file Pin
sadaf822-Sep-09 21:36
sadaf822-Sep-09 21:36 
AnswerRe: Read Memory variable file Pin
stancrm2-Sep-09 21:50
stancrm2-Sep-09 21:50 
GeneralRe: Read Memory variable file Pin
sadaf824-Sep-09 22:02
sadaf824-Sep-09 22:02 
AnswerRe: Read Memory variable file Pin
sadaf827-Sep-09 18:11
sadaf827-Sep-09 18:11 

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.