Click here to Skip to main content
15,924,318 members
Home / Discussions / C#
   

C#

 
AnswerRe: Oracle/MySQL - byte[] and varbinary? Pin
Wendelius27-Jan-09 22:40
mentorWendelius27-Jan-09 22:40 
QuestionProgrammatic saving of an existing excel file Pin
Nikhil Wason27-Jan-09 21:06
Nikhil Wason27-Jan-09 21:06 
AnswerRe: Programmatic saving of an existing excel file Pin
MadArtSoft27-Jan-09 23:53
MadArtSoft27-Jan-09 23:53 
GeneralRe: Programmatic saving of an existing excel file Pin
Nikhil Wason28-Jan-09 0:14
Nikhil Wason28-Jan-09 0:14 
QuestionI want to get row index of datagridview Pin
M Riaz Bashir27-Jan-09 19:50
M Riaz Bashir27-Jan-09 19:50 
AnswerRe: I want to get row index of datagridview Pin
Wendelius27-Jan-09 20:38
mentorWendelius27-Jan-09 20:38 
AnswerRe: I want to get row index of datagridview Pin
MadArtSoft27-Jan-09 23:55
MadArtSoft27-Jan-09 23:55 
AnswerRe: I want to get row index of datagridview Pin
Wael Al Wirr29-Jan-09 2:09
Wael Al Wirr29-Jan-09 2:09 
This is how to get selected row from DataGridView in .NET 2.0
Make sure there’s a single cell that is currently selected
Get current row index using {datagridview instance}.CurrentCell.RowIdex
Get the selected row using {datagridview instance}.Rows({current row index}).Cells({zero based index}).Value
Here’s the sample code :
Dim crow = DataGridView1.CurrentCell.RowIndex
dim txt as string
Try
txt = DataGridView1.Rows(crow).Cells(0).Value & ” || ”
txt = txt & DataGridView1.Rows(crow).Cells(1).Value & ” || ”
txt = txt & DataGridView1.Rows(crow).Cells(2).Value
MessageBox.show (txt)
Catch ex As Exception
‘ do nothing
End Try

WaelA
Senior Software Engineer

http://www.linkedin.com/in/waelalwirr
abu_wer@hotmail.com

QuestionHow can i Re-Draw UI control ? Pin
Yanshof27-Jan-09 18:52
Yanshof27-Jan-09 18:52 
AnswerRe: How can i Re-Draw UI control ? Pin
N a v a n e e t h27-Jan-09 19:00
N a v a n e e t h27-Jan-09 19:00 
AnswerRe: How can i Re-Draw UI control ? Pin
DaveyM6927-Jan-09 21:57
professionalDaveyM6927-Jan-09 21:57 
QuestionNetwork Programming Pin
M. J. Jaya Chitra27-Jan-09 16:49
M. J. Jaya Chitra27-Jan-09 16:49 
AnswerRe: Network Programming Pin
N a v a n e e t h27-Jan-09 18:28
N a v a n e e t h27-Jan-09 18:28 
AnswerRe: Network Programming Pin
Rutvik Dave29-Jan-09 8:36
professionalRutvik Dave29-Jan-09 8:36 
QuestionNo problem with cs file, but problem when running it in Visual Studio Pin
u060509427-Jan-09 14:29
u060509427-Jan-09 14:29 
AnswerRe: No problem with cs file, but problem when running it in Visual Studio Pin
_Maxxx_27-Jan-09 16:14
professional_Maxxx_27-Jan-09 16:14 
Question[Message Deleted] Pin
Vady_127-Jan-09 13:22
Vady_127-Jan-09 13:22 
AnswerRe: Helpppppppp me OUT Pin
Vimalsoft(Pty) Ltd27-Jan-09 21:02
professionalVimalsoft(Pty) Ltd27-Jan-09 21:02 
AnswerRe: Helpppppppp me OUT Pin
Pete O'Hanlon27-Jan-09 23:47
mvePete O'Hanlon27-Jan-09 23:47 
QuestionDataSet Fill Method via WCF?? Pin
Illegal Operation27-Jan-09 12:35
Illegal Operation27-Jan-09 12:35 
AnswerRe: DataSet Fill Method via WCF?? Pin
tasumisra28-Jan-09 1:27
tasumisra28-Jan-09 1:27 
Questioncan't open a vs 2003.net project.... Pin
AndieDu27-Jan-09 12:11
AndieDu27-Jan-09 12:11 
AnswerRe: can't open a vs 2003.net project.... Pin
Colin Angus Mackay27-Jan-09 13:37
Colin Angus Mackay27-Jan-09 13:37 
GeneralRe: can't open a vs 2003.net project.... Pin
AndieDu27-Jan-09 14:26
AndieDu27-Jan-09 14:26 
GeneralRe: can't open a vs 2003.net project.... Pin
_Maxxx_27-Jan-09 15:48
professional_Maxxx_27-Jan-09 15:48 

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.