Click here to Skip to main content
15,906,296 members
Home / Discussions / C#
   

C#

 
GeneralRe: Overriding Object.Equals; Overriding Object.GetHashCode Pin
Daniel Turini18-Nov-04 20:45
Daniel Turini18-Nov-04 20:45 
GeneralDeclaring arrays of class objects Pin
Steve Searcy18-Nov-04 9:20
Steve Searcy18-Nov-04 9:20 
GeneralRe: Declaring arrays of class objects Pin
Daniel Turini18-Nov-04 10:05
Daniel Turini18-Nov-04 10:05 
GeneralDataGrid Header in Windows Application Pin
Hamada_star18-Nov-04 6:28
Hamada_star18-Nov-04 6:28 
GeneralC# Datagrid Separate Column Header Font Colors Pin
StyleGuide18-Nov-04 5:13
StyleGuide18-Nov-04 5:13 
QuestionHow to create automatic updates ? Pin
Inquire2you18-Nov-04 4:14
Inquire2you18-Nov-04 4:14 
AnswerRe: How to create automatic updates ? Pin
Ami Bar18-Nov-04 9:19
Ami Bar18-Nov-04 9:19 
Generalcombobox.selectedvalue Pin
webhay18-Nov-04 3:16
webhay18-Nov-04 3:16 
Hi all,

i made a two combobox i fill the first one from database and i take the selected value from the first combobox to select another recorde from table but it got me an exception
"The column prefix 'System.Data' does not match with a table name or alias name used in the quer"

and this my code:

<br />
SqlDB DB = new SqlDB();<br />
DB.ConStr = DB.ConnectionSTR(DB.Current_DB());<br />
DataSet ds = DB.Select("Select * From MSA Where Client_ID = "+cboClient_Name.SelectedValue.ToString()+"");<br />
cboMSA_ID.DataSource = ds;<br />
cboMSA_ID.DisplayMember = "Table.MSA_Effective_Date";<br />
cboMSA_ID.ValueMember   = "Table.MSA_ID";<br />


SqlDB contain the database handling (command , connection...)

please help
Frown | :(
GeneralString Contains String Pin
MrEyes18-Nov-04 3:01
MrEyes18-Nov-04 3:01 
GeneralRe: String Contains String Pin
MrEyes18-Nov-04 3:10
MrEyes18-Nov-04 3:10 
Generaleasy: string formatting Pin
bouli18-Nov-04 1:17
bouli18-Nov-04 1:17 
GeneralRe: easy: string formatting Pin
Ami Bar18-Nov-04 4:11
Ami Bar18-Nov-04 4:11 
GeneralRe: easy: string formatting Pin
bouli18-Nov-04 4:15
bouli18-Nov-04 4:15 
GeneralRe: easy: string formatting Pin
Dave Kreskowiak18-Nov-04 6:33
mveDave Kreskowiak18-Nov-04 6:33 
GeneralRe: easy: string formatting Pin
bouli18-Nov-04 9:06
bouli18-Nov-04 9:06 
GeneralRe: easy: string formatting Pin
Dave Kreskowiak18-Nov-04 9:46
mveDave Kreskowiak18-Nov-04 9:46 
GeneralRe: easy: string formatting Pin
Nick Parker18-Nov-04 11:40
protectorNick Parker18-Nov-04 11:40 
GeneralProblem with Event and Timer Pin
Leon van Wyk18-Nov-04 1:04
professionalLeon van Wyk18-Nov-04 1:04 
GeneralRe: Problem with Event and Timer Pin
Daniel Turini18-Nov-04 1:26
Daniel Turini18-Nov-04 1:26 
GeneralRe: Problem with Event and Timer Pin
Leon van Wyk18-Nov-04 1:36
professionalLeon van Wyk18-Nov-04 1:36 
GeneralRe: Problem with Event and Timer Pin
Daniel Turini18-Nov-04 23:16
Daniel Turini18-Nov-04 23:16 
GeneralStopping a com object Pin
totig17-Nov-04 22:58
totig17-Nov-04 22:58 
GeneralRe: Stopping a com object Pin
Daniel Turini17-Nov-04 23:13
Daniel Turini17-Nov-04 23:13 
GeneralLooking for efficient way to insert records Pin
Reinier Beeckman17-Nov-04 21:10
Reinier Beeckman17-Nov-04 21:10 
GeneralHighlight SelectedText's Background in RichTextBox Pin
orlyg17-Nov-04 20:59
orlyg17-Nov-04 20:59 

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.