Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
GeneralRe: Storing Info Between Events Pin
Richard MacCutchan23-Jun-12 5:14
mveRichard MacCutchan23-Jun-12 5:14 
GeneralRe: Storing Info Between Events Pin
Dave Kreskowiak23-Jun-12 5:37
mveDave Kreskowiak23-Jun-12 5:37 
AnswerRe: Storing Info Between Events Pin
Luc Pattyn23-Jun-12 4:04
sitebuilderLuc Pattyn23-Jun-12 4:04 
GeneralRe: Storing Info Between Events Pin
ASPnoob23-Jun-12 7:24
ASPnoob23-Jun-12 7:24 
GeneralRe: Storing Info Between Events Pin
Dave Kreskowiak23-Jun-12 9:56
mveDave Kreskowiak23-Jun-12 9:56 
AnswerRe: Storing Info Between Events Pin
Luc Pattyn23-Jun-12 10:48
sitebuilderLuc Pattyn23-Jun-12 10:48 
GeneralRe: Storing Info Between Events Pin
ignrod27-Jun-12 1:11
ignrod27-Jun-12 1:11 
QuestionConverting BindingSource and Guid [solved] Pin
Midnight Ahri22-Jun-12 17:11
Midnight Ahri22-Jun-12 17:11 
usually in vb.net i do like this,
VB
Dim id As Guid = DirectCast(DirectCast(Me.ABCBindingSource.Current, DataRowView)("IdABC"), Guid)

but in C# is like this,
C#
Guid id = ((DataRowView)this.ABCBindingSource.Current)["IdABC"];

tried a lot of code to convert it to Guid and all fail. Sigh | :sigh:
even this way didn't works.
C#
Guid id = Convert.ChangeType(((DataRowView)this.categoryBindingSource.Current)["IdCategory"],Guid);


Edit :
omg randomly write and i got like this,
C#
Guid id = (Guid)((DataRowView)this.categoryBindingSource.Current)["IdCategory"];

real hard to move from vb.net to c#.. Sigh | :sigh:

modified 23-Jun-12 2:08am.

AnswerRe: Converting BindingSource and Guid Pin
OriginalGriff22-Jun-12 19:50
mveOriginalGriff22-Jun-12 19:50 
AnswerRe: Converting BindingSource and Guid Pin
Midnight Ahri22-Jun-12 20:08
Midnight Ahri22-Jun-12 20:08 
GeneralRe: Converting BindingSource and Guid Pin
OriginalGriff22-Jun-12 20:24
mveOriginalGriff22-Jun-12 20:24 
QuestionListbox Pin
Dirk Higbee22-Jun-12 12:57
Dirk Higbee22-Jun-12 12:57 
AnswerRe: Listbox Pin
OriginalGriff22-Jun-12 19:52
mveOriginalGriff22-Jun-12 19:52 
GeneralRe: Listbox Pin
Dirk Higbee23-Jun-12 7:30
Dirk Higbee23-Jun-12 7:30 
QuestionHow to split byte[] to string & bytes Pin
caspidoron22-Jun-12 8:53
caspidoron22-Jun-12 8:53 
AnswerRe: How to split byte[] to string & bytes Pin
Ian Shlasko22-Jun-12 9:00
Ian Shlasko22-Jun-12 9:00 
AnswerRe: How to split byte[] to string & bytes Pin
Richard Andrew x6422-Jun-12 9:02
professionalRichard Andrew x6422-Jun-12 9:02 
QuestionC# work with database Pin
sc steinhayse22-Jun-12 7:33
sc steinhayse22-Jun-12 7:33 
AnswerRe: C# work with database Pin
Ravi Bhavnani23-Jun-12 4:00
professionalRavi Bhavnani23-Jun-12 4:00 
QuestionC# to update table Pin
sc steinhayse22-Jun-12 3:43
sc steinhayse22-Jun-12 3:43 
AnswerRe: C# to update table Pin
PIEBALDconsult22-Jun-12 5:09
mvePIEBALDconsult22-Jun-12 5:09 
GeneralRe: C# to update table Pin
OctavioNA22-Jun-12 7:19
OctavioNA22-Jun-12 7:19 
GeneralRe: C# to update table Pin
PIEBALDconsult22-Jun-12 18:24
mvePIEBALDconsult22-Jun-12 18:24 
AnswerRe: C# to update table Pin
kishhr22-Jun-12 6:33
kishhr22-Jun-12 6:33 
QuestionCreating a sales Page in C#, simplest method Pin
Johnmc07122-Jun-12 3:05
Johnmc07122-Jun-12 3:05 

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.