Click here to Skip to main content
15,905,867 members
Home / Discussions / C#
   

C#

 
AnswerRe: how set custom paper size on printer setting? Pin
Richard MacCutchan26-Aug-16 21:01
mveRichard MacCutchan26-Aug-16 21:01 
GeneralRe: how set custom paper size on printer setting? Pin
Le@rner26-Aug-16 21:31
Le@rner26-Aug-16 21:31 
GeneralRe: how set custom paper size on printer setting? Pin
Richard MacCutchan26-Aug-16 21:52
mveRichard MacCutchan26-Aug-16 21:52 
QuestionJoin Main Thread in a Console Application Pin
Member 1270567426-Aug-16 13:25
Member 1270567426-Aug-16 13:25 
AnswerRe: Join Main Thread in a Console Application Pin
Garth J Lancaster26-Aug-16 18:36
professionalGarth J Lancaster26-Aug-16 18:36 
AnswerRe: Join Main Thread in a Console Application Pin
Eddy Vluggen29-Aug-16 4:19
professionalEddy Vluggen29-Aug-16 4:19 
Questionreg Pin
mbatra3125-Aug-16 23:01
mbatra3125-Aug-16 23:01 
AnswerRe: How to Parse .XFDL files in C#.? Pin
OriginalGriff25-Aug-16 23:06
mveOriginalGriff25-Aug-16 23:06 
GeneralMessage Closed Pin
25-Aug-16 23:15
mbatra3125-Aug-16 23:15 
GeneralRe: How to Parse .XFDL files in C#.? Pin
OriginalGriff25-Aug-16 23:23
mveOriginalGriff25-Aug-16 23:23 
GeneralRe: How to Parse .XFDL files in C#.? Pin
Richard MacCutchan26-Aug-16 0:06
mveRichard MacCutchan26-Aug-16 0:06 
GeneralRe: How to Parse .XFDL files in C#.? Pin
OriginalGriff26-Aug-16 0:17
mveOriginalGriff26-Aug-16 0:17 
GeneralRe: How to Parse .XFDL files in C#.? Pin
mbatra3111-Oct-17 20:00
mbatra3111-Oct-17 20:00 
GeneralRe: How to Parse .XFDL files in C#.? Pin
OriginalGriff11-Oct-17 20:17
mveOriginalGriff11-Oct-17 20:17 
GeneralRe: How to Parse .XFDL files in C#.? Pin
mbatra3111-Oct-17 20:53
mbatra3111-Oct-17 20:53 
GeneralRe: How to Parse .XFDL files in C#.? Pin
mbatra3111-Oct-17 19:58
mbatra3111-Oct-17 19:58 
GeneralRe: How to Parse .XFDL files in C#.? Pin
Richard MacCutchan11-Oct-17 21:04
mveRichard MacCutchan11-Oct-17 21:04 
QuestiongridView prevent down the line ? Pin
Member 245846725-Aug-16 15:40
Member 245846725-Aug-16 15:40 
AnswerRe: gridView prevent down the line ? Pin
OriginalGriff25-Aug-16 21:43
mveOriginalGriff25-Aug-16 21:43 
Questionmake a call via GSM using c# Pin
maka bregvadze25-Aug-16 1:54
maka bregvadze25-Aug-16 1:54 
AnswerRe: make a call via GSM using c# Pin
Gerry Schmitz25-Aug-16 5:58
mveGerry Schmitz25-Aug-16 5:58 
QuestionUsing Thread read data of the gridView1 ? Pin
Member 245846724-Aug-16 15:28
Member 245846724-Aug-16 15:28 
I'm writing code read data of gridView1 has got using Thread but get an error:

[CODE]
// old-style writing
if (string.IsNullOrEmpty(gridView1.GetRowCellValue(i, "Ghichu").ToString()))

//new style writing

if (string.IsNullOrEmpty(GetGridCellValue(i, "Ghichu").ToString()))

//Declare complement the new style writing
public delegate void GridGetEventArg(int rowHandle, string fieldname);
private string GetGridCellValue(int row, string fieldname)
{
if (gridControl1.InvokeRequired)
{
GridGetEventArg get = new GridGetEventArg(GetGridCellValue); //Error 1 'string Vidu.frmTinh.GetGridCellValue(int, string)' has the wrong return type
return gridControl1.Invoke(get, new object[] { row, fieldname });//Error 2 Cannot implicitly convert type 'object' to 'string'. An explicit conversion exists (are you missing a cast?)
}
else
{
return (gridControl1.MainView as GridView).GetRowCellValue(row, fieldname);//Error 3 Cannot implicitly convert type 'object' to 'string'. An explicit conversion exists (are you missing a cast?)
}
}
[/CODE]
the help you fix ?
AnswerRe: Using Thread read data of the gridView1 ? Pin
Pete O'Hanlon24-Aug-16 20:30
mvePete O'Hanlon24-Aug-16 20:30 
GeneralRe: Using Thread read data of the gridView1 ? Pin
Member 245846724-Aug-16 21:24
Member 245846724-Aug-16 21:24 
GeneralRe: Using Thread read data of the gridView1 ? Pin
Pete O'Hanlon25-Aug-16 1:30
mvePete O'Hanlon25-Aug-16 1:30 

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.