Click here to Skip to main content
15,885,914 members
Home / Discussions / C#
   

C#

 
GeneralRe: Splash Screen In C# ? :S Pin
Saad Shuja3-Sep-09 20:53
Saad Shuja3-Sep-09 20:53 
QuestionDataGridView: Using different fonts in single DataGridViewTextBoxCell Pin
cuker11-Sep-09 23:28
cuker11-Sep-09 23:28 
AnswerRe: DataGridView: Using different fonts in single DataGridViewTextBoxCell Pin
Eddy Vluggen2-Sep-09 1:04
professionalEddy Vluggen2-Sep-09 1:04 
GeneralRe: DataGridView: Using different fonts in single DataGridViewTextBoxCell Pin
cuker16-Sep-09 20:38
cuker16-Sep-09 20:38 
GeneralRe: DataGridView: Using different fonts in single DataGridViewTextBoxCell Pin
Eddy Vluggen6-Sep-09 20:51
professionalEddy Vluggen6-Sep-09 20:51 
Questionhow to show the data in datagrid with dropdownbox Pin
Manish791-Sep-09 23:27
Manish791-Sep-09 23:27 
AnswerRe: how to show the data in datagrid with dropdownbox Pin
Jacobb Michael1-Sep-09 23:48
Jacobb Michael1-Sep-09 23:48 
GeneralRe: how to show the data in datagrid with dropdownbox Pin
Manish792-Sep-09 0:07
Manish792-Sep-09 0:07 
Hi,
Thanks for your reply. I am copying here the code..bcoz I have already bound the dropdownbox but when i am selecting value it's get blank.

private void GetAnalysisitem()
{

using (new SessionScope(FlushAction.Never))
l_Analysisitem = ANALYSISITEM.FindAll();

if (l_Analysisitem != null)
{
DataSet ds = new DataSet();
TAnalysisitem = CastleUtil.ConvToDataTable(l_Analysisitem);
TAnalysisitem.TableName = "ANALYSISITEM";
TAnalysisitem.AcceptChanges();
ds.Tables.Add(TAnalysisitem);

// attach the dropdown to the categories column
this.c1TrueDBGrid2.Columns["MATERIAL"].DropDown = this.c1TrueDBDropdown1;

// underlying datasource value is ID
this.c1TrueDBDropdown1.DataField = "ID";

// display value will be Name
this.c1TrueDBDropdown1.ListField = "NAME";

// tell the grid that we're translating values
this.c1TrueDBGrid2.Columns["MATERIAL"].ValueItems.Translate = true;

// now use the dropdown to perform the translation for us
// using a more readable format (i.e.,"Name")
this.c1TrueDBDropdown1.ValueTranslate = true;



aNALYSISITEMBindingSource.DataSource = l_Analysisitem;

c1TrueDBGrid2.SetDataBinding(ds, "ANALYSISITEM", true);

}

TAnalysisitem.RowChanged += new DataRowChangeEventHandler(TAnalysisitem_RowChanged);
TAnalysisitem.RowDeleted += new DataRowChangeEventHandler(TAnalysisitem_RowChanged);

}


Thanks,
GeneralRe: how to show the data in datagrid with dropdownbox Pin
Jacobb Michael2-Sep-09 5:41
Jacobb Michael2-Sep-09 5:41 
QuestionPlaying for medias using AxMediaPlayer [modified] Pin
Yonathan11111-Sep-09 23:19
professionalYonathan11111-Sep-09 23:19 
AnswerRe: axmediaplayer Pin
stancrm1-Sep-09 23:36
stancrm1-Sep-09 23:36 
QuestionImage Changed in PictureBox Event Question Pin
Programm3r1-Sep-09 23:19
Programm3r1-Sep-09 23:19 
AnswerRe: Image Changed in PictureBox Event Question Pin
Programm3r1-Sep-09 23:28
Programm3r1-Sep-09 23:28 
GeneralRe: Image Changed in PictureBox Event Question Pin
rsbiz20048-Sep-09 23:19
rsbiz20048-Sep-09 23:19 
QuestionPaste Event Pin
cjb1101-Sep-09 21:48
cjb1101-Sep-09 21:48 
AnswerRe: Paste Event Pin
Hristo-Bojilov1-Sep-09 22:25
Hristo-Bojilov1-Sep-09 22:25 
GeneralRe: Paste Event Pin
cjb1102-Sep-09 6:53
cjb1102-Sep-09 6:53 
GeneralRe: Paste Event Pin
Hristo-Bojilov2-Sep-09 9:43
Hristo-Bojilov2-Sep-09 9:43 
GeneralRe: Paste Event Pin
cjb1102-Sep-09 10:40
cjb1102-Sep-09 10:40 
AnswerRe: Paste Event Pin
Jacobb Michael2-Sep-09 6:50
Jacobb Michael2-Sep-09 6:50 
QuestionThe stream does not support concurrent I/O ReadWrite operations Pin
mbyamukama1-Sep-09 20:40
mbyamukama1-Sep-09 20:40 
AnswerRe: The stream does not support concurrent I/O ReadWrite operations Pin
Christian Graus1-Sep-09 21:03
protectorChristian Graus1-Sep-09 21:03 
AnswerRe: The stream does not support concurrent I/O ReadWrite operations Pin
Richard MacCutchan1-Sep-09 21:38
mveRichard MacCutchan1-Sep-09 21:38 
GeneralRe: The stream does not support concurrent I/O ReadWrite operations Pin
mbyamukama6-Sep-09 20:09
mbyamukama6-Sep-09 20:09 
GeneralRe: The stream does not support concurrent I/O ReadWrite operations Pin
Richard MacCutchan7-Sep-09 0:53
mveRichard MacCutchan7-Sep-09 0:53 

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.