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

C#

 
AnswerRe: want to change the property of column header in datagridview Pin
Praveen Raghuvanshi6-Jun-07 0:43
professionalPraveen Raghuvanshi6-Jun-07 0:43 
GeneralRe: want to change the property of column header in datagridview Pin
devesh_code6-Jun-07 2:38
devesh_code6-Jun-07 2:38 
QuestionWindows service communication` Pin
M. J. Jaya Chitra6-Jun-07 0:05
M. J. Jaya Chitra6-Jun-07 0:05 
AnswerRe: Windows service communication` Pin
ganti.r6-Jun-07 1:02
ganti.r6-Jun-07 1:02 
AnswerRe: Windows service communication` Pin
WillemM6-Jun-07 1:03
WillemM6-Jun-07 1:03 
QuestionRe: Windows service communication` Pin
M. J. Jaya Chitra6-Jun-07 1:09
M. J. Jaya Chitra6-Jun-07 1:09 
AnswerRe: Windows service communication` Pin
Not Active6-Jun-07 1:21
mentorNot Active6-Jun-07 1:21 
AnswerRe: Windows service communication Pin
PavanPareta6-Jun-07 1:24
PavanPareta6-Jun-07 1:24 
AnswerRe: Windows service communication` Pin
kubben6-Jun-07 1:41
kubben6-Jun-07 1:41 
QuestionHow to get the full username? Pin
User 26989675-Jun-07 23:14
User 26989675-Jun-07 23:14 
AnswerRe: How to get the full username? Pin
ScottM15-Jun-07 23:58
ScottM15-Jun-07 23:58 
QuestionLaunching application through local network from another PC Pin
sgeorgije5-Jun-07 22:10
sgeorgije5-Jun-07 22:10 
GeneralRe: Launching application through local network from another PC Pin
ScottM15-Jun-07 23:52
ScottM15-Jun-07 23:52 
GeneralRe: Launching application through local network from another PC Pin
sgeorgije6-Jun-07 1:11
sgeorgije6-Jun-07 1:11 
GeneralRe: Launching application through local network from another PC Pin
ScottM16-Jun-07 1:32
ScottM16-Jun-07 1:32 
AnswerRe: Launching application through local network from another PC Pin
kubben6-Jun-07 1:44
kubben6-Jun-07 1:44 
Questionboundschecker... Pin
Arish rivlin5-Jun-07 21:50
Arish rivlin5-Jun-07 21:50 
AnswerRe: boundschecker... Pin
Christian Graus5-Jun-07 22:03
protectorChristian Graus5-Jun-07 22:03 
QuestionTo bind a value from DataGridView to textbox Pin
codingrocks5-Jun-07 21:44
codingrocks5-Jun-07 21:44 
To bind a value from DataGridView to textbox

when i am assigning it to a textbox like

txtcuscode.Text= dataGridView1.SelectedRows[0].Cells[0].Value;


shows an error message like this following..


Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index

the error is at this line...

txtcuscode.Text= Convert.ToString(dataGridView1.SelectedRows[0].Cells[0].Value);




the error handler points to the property text of the textbox...

help me overcome this..
plz help me recover this and thanks a lot for the code.....

SAJAN A PILLAI

C#.NET Programmer
TELESOFT INDIA PVT LTD...
BANGALORE

AnswerRe: To bind a value from DataGridView to textbox Pin
Seishin#5-Jun-07 21:57
Seishin#5-Jun-07 21:57 
QuestionOCX Question Pin
jason_mf5-Jun-07 21:37
jason_mf5-Jun-07 21:37 
AnswerRe: OCX Question Pin
WillemM6-Jun-07 1:05
WillemM6-Jun-07 1:05 
QuestionTCP or HTTP Pin
amitcoder835-Jun-07 21:23
amitcoder835-Jun-07 21:23 
AnswerRe: TCP or HTTP Pin
Manoj Kumar Rai5-Jun-07 21:33
professionalManoj Kumar Rai5-Jun-07 21:33 
GeneralRe: TCP or HTTP Pin
amitcoder835-Jun-07 21:48
amitcoder835-Jun-07 21: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.