Click here to Skip to main content
15,902,635 members
Home / Discussions / C#
   

C#

 
QuestionHow to upload heavy duty files Pin
er.ankitsingh4-Jan-08 8:51
er.ankitsingh4-Jan-08 8:51 
GeneralRe: How to upload heavy duty files Pin
Stevo Z4-Jan-08 9:26
Stevo Z4-Jan-08 9:26 
GeneralRe: How to upload heavy duty files Pin
alpha.yu4-Jan-08 14:53
alpha.yu4-Jan-08 14:53 
Generaldesign to an interface Pin
netJP12L4-Jan-08 8:41
netJP12L4-Jan-08 8:41 
GeneralRe: design to an interface Pin
Christian Graus4-Jan-08 9:54
protectorChristian Graus4-Jan-08 9:54 
Generalcannot bind to the new display member Pin
azza1044-Jan-08 8:18
azza1044-Jan-08 8:18 
GeneralRe: cannot bind to the new display member Pin
Dave Kreskowiak4-Jan-08 8:41
mveDave Kreskowiak4-Jan-08 8:41 
GeneralRe: cannot bind to the new display member Pin
azza1045-Jan-08 2:12
azza1045-Jan-08 2:12 
actually i wanted to fill the combobox from a table in the data base , the code is :

private void fill_locations() {

string st = combo_origion.Text;
SqlDataAdapter dtp = new SqlDataAdapter("get_locations", conn);
dtp.SelectCommand.CommandType = CommandType.StoredProcedure;
dtp.SelectCommand.Parameters.Add("@type_text", SqlDbType.NVarChar).Value =combo_origion.SelectedValue.ToString();
DataSet chds = new DataSet();
dtp.Fill(chds);
combo_locations.DataSource = chds;
combo_locations.DisplayMember = "location";
combo_locations.ValueMember = "location_id";


}

the error is at the last line.
GeneralRe: cannot bind to the new display member Pin
Dave Kreskowiak5-Jan-08 15:09
mveDave Kreskowiak5-Jan-08 15:09 
GeneralRe: cannot bind to the new display member Pin
lakchicken16-Jul-10 19:45
lakchicken16-Jul-10 19:45 
GeneralUsing Compiled HTML in a C# form - book or website Pin
earlgraham4-Jan-08 7:44
earlgraham4-Jan-08 7:44 
GeneralPassing Arraylist Pin
NewToAspDotNet4-Jan-08 6:46
NewToAspDotNet4-Jan-08 6:46 
GeneralRe: Passing Arraylist Pin
Paul Conrad4-Jan-08 7:02
professionalPaul Conrad4-Jan-08 7:02 
GeneralRe: Passing Arraylist Pin
Pete O'Hanlon4-Jan-08 10:20
mvePete O'Hanlon4-Jan-08 10:20 
GeneralRe: Passing Arraylist Pin
Paul Conrad4-Jan-08 11:15
professionalPaul Conrad4-Jan-08 11:15 
GeneralRe: Passing Arraylist Pin
Pete O'Hanlon4-Jan-08 11:29
mvePete O'Hanlon4-Jan-08 11:29 
GeneralRe: Passing Arraylist Pin
Paul Conrad4-Jan-08 11:32
professionalPaul Conrad4-Jan-08 11:32 
GeneralRe: Passing Arraylist Pin
Pete O'Hanlon4-Jan-08 11:34
mvePete O'Hanlon4-Jan-08 11:34 
GeneralOpening a document from web Pin
dabs4-Jan-08 5:36
dabs4-Jan-08 5:36 
GeneralRe: Opening a document from web Pin
Paul Conrad4-Jan-08 6:35
professionalPaul Conrad4-Jan-08 6:35 
GeneralFtp folder and all its contents Pin
Chazzysb4-Jan-08 4:24
Chazzysb4-Jan-08 4:24 
GeneralRe: Ftp folder and all its contents Pin
originSH4-Jan-08 4:31
originSH4-Jan-08 4:31 
GeneralBuild a .csproj with .Net 1.1 SDK Pin
Jim Crafton4-Jan-08 3:20
Jim Crafton4-Jan-08 3:20 
GeneralRe: Build a .csproj with .Net 1.1 SDK Pin
originSH4-Jan-08 4:29
originSH4-Jan-08 4:29 
GeneralRe: Build a .csproj with .Net 1.1 SDK Pin
Jim Crafton4-Jan-08 5:39
Jim Crafton4-Jan-08 5:39 

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.