Click here to Skip to main content
15,908,674 members
Home / Discussions / C#
   

C#

 
GeneralRe: References for solution?? Pin
pmarfleet8-Dec-07 10:28
pmarfleet8-Dec-07 10:28 
GeneralRe: References for solution?? Pin
daavena8-Dec-07 10:35
daavena8-Dec-07 10:35 
Generalserver for multi-person video chat and live broadcasting Pin
eroy4u8-Dec-07 9:35
eroy4u8-Dec-07 9:35 
Generalupdating DataBase Problem (delete row) Pin
Ami8-Dec-07 8:48
Ami8-Dec-07 8:48 
GeneralRe: updating DataBase Problem (delete row) Pin
Giorgi Dalakishvili8-Dec-07 8:58
mentorGiorgi Dalakishvili8-Dec-07 8:58 
GeneralRe: updating DataBase Problem (delete row) Pin
Ami8-Dec-07 9:01
Ami8-Dec-07 9:01 
GeneralRe: updating DataBase Problem (delete row) Pin
Giorgi Dalakishvili8-Dec-07 9:16
mentorGiorgi Dalakishvili8-Dec-07 9:16 
GeneralUsing SQL Server Database Pin
AndyHug8-Dec-07 8:17
AndyHug8-Dec-07 8:17 
I'm new to C#,but I used VB.NET a lot ... This prject I have to do in C# and I allready have problems connecting to my SQL SERVER Database.

I put an combobox into my form which I want to link to some records in my database ...

So combobox.Datasource = ... Add Project DataSource ... Database ... Connection to my SQL SERVER Database ...

I saved the connection string as TSConnectionString ... Selected the tables and views I need from my database ...

and Visual Studio has created the files ... TSDataSet.xsd ( TSDataSet.Designer.cs , TSDataSet.xsc , TSDataSet.xss )

I mention that the combobox.DataSource property is still empty and the program can compile succesfully ... for now

When I come back to fill combobox.Datasource with TSDataSet namely tSDataSetBindingSource when i try to compile the

next error message pops up :

Error 1 The type name 'TSDataSet' does not exist in the type 'TSales.TSales'

... and the code behind this error is :


this.tSDataSet = new TSales.TSDataSet(); --------------- here is the error

this.tSDataSetBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.panTop.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tSDataSet)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tSDataSetBindingSource)).BeginInit();
this.SuspendLayout();


Remember though I wrote above that Visual Studio creates those 4 files (TSDataSet.xsd , TSDataSet.Designer.cs , TSDataSet.xsc , TSDataSet.xss ) and puts them in Solution Explorer

So my question is ... how come there is no tSales.TSDataSet ?

and what should I do to link those records to that combobox and other records to other controls in my form


Thank you
GeneralCheckBoxList Pin
anupamwb8-Dec-07 7:50
anupamwb8-Dec-07 7:50 
AnswerRe: CheckBoxList Pin
Ravi Bhavnani8-Dec-07 8:00
professionalRavi Bhavnani8-Dec-07 8:00 
GeneralRe: CheckBoxList Pin
Xmen Real 8-Dec-07 16:41
professional Xmen Real 8-Dec-07 16:41 
GeneralCheck multiple rows in datagridview without losing selection Pin
Hynkar8-Dec-07 7:46
Hynkar8-Dec-07 7:46 
QuestionClass Libraries Pin
Poolee8-Dec-07 7:30
Poolee8-Dec-07 7:30 
AnswerRe: Class Libraries Pin
Ravi Bhavnani8-Dec-07 8:29
professionalRavi Bhavnani8-Dec-07 8:29 
GeneralRe: Class Libraries Pin
Poolee8-Dec-07 9:21
Poolee8-Dec-07 9:21 
GeneralRe: Class Libraries Pin
Ravi Bhavnani8-Dec-07 9:23
professionalRavi Bhavnani8-Dec-07 9:23 
GeneralRe: Class Libraries Pin
Poolee8-Dec-07 9:28
Poolee8-Dec-07 9:28 
Questionselectively passing different classes to a function - C# Pin
karthikde19808-Dec-07 7:19
karthikde19808-Dec-07 7:19 
GeneralRe: selectively passing different classes to a function - C# Pin
karthikde19808-Dec-07 8:49
karthikde19808-Dec-07 8:49 
GeneralRe: selectively passing different classes to a function - C# Pin
Christian Graus8-Dec-07 9:07
protectorChristian Graus8-Dec-07 9:07 
GeneralRe: selectively passing different classes to a function - C# Pin
Christian Graus8-Dec-07 9:05
protectorChristian Graus8-Dec-07 9:05 
QuestionRe: selectively passing different classes to a function - C# Pin
karthikde19808-Dec-07 10:05
karthikde19808-Dec-07 10:05 
GeneralRe: selectively passing different classes to a function - C# Pin
Christian Graus8-Dec-07 10:36
protectorChristian Graus8-Dec-07 10:36 
GeneralTCP/IP Sockets Pin
half-life8-Dec-07 6:42
half-life8-Dec-07 6:42 
GeneralRe: TCP/IP Sockets Pin
Kristian Sixhøj8-Dec-07 6:45
Kristian Sixhøj8-Dec-07 6:45 

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.