Click here to Skip to main content
15,913,055 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Mind Those Passwords! Pin
Sandeep Mewara24-Jun-12 19:58
mveSandeep Mewara24-Jun-12 19:58 
GeneralRe: Mind Those Passwords! Pin
AmitKumar8925-Jun-12 1:49
AmitKumar8925-Jun-12 1:49 
GeneralRe: Mind Those Passwords! Pin
Dave Kreskowiak25-Jun-12 5:23
mveDave Kreskowiak25-Jun-12 5:23 
GeneralRe: Mind Those Passwords! Pin
Richard MacCutchan25-Jun-12 5:35
mveRichard MacCutchan25-Jun-12 5:35 
QuestionPlease Explain about Database Cache Pin
ICEFLOWER224-Jun-12 18:11
ICEFLOWER224-Jun-12 18:11 
AnswerRe: Please Explain about Database Cache Pin
Sandeep Mewara24-Jun-12 20:05
mveSandeep Mewara24-Jun-12 20:05 
Questionhow to save data from datagridview to database in vb 2008 Pin
Jayeshkumar M Patel24-Jun-12 0:57
Jayeshkumar M Patel24-Jun-12 0:57 
AnswerRe: how to save data from datagridview to database in vb 2008 Pin
Sandeep Mewara24-Jun-12 20:01
mveSandeep Mewara24-Jun-12 20:01 
Member 7955236 wrote:
my code save just last row in database even i have 5 rows in datagridview

This is because you have written code as such.
Here:
VB
For i As Integer = 0 To DGVRecord.RowCount - 1
           RS("productname").Value = Me.DGVRecord.Rows(i).Cells("Product").Value
           RS("batchno").Value = Me.DGVRecord.Rows(i).Cells("batchno").Value
           RS("expirydate").Value = Me.DGVRecord.Rows(i).Cells("Expiry").Value
       Next
RS.Update()

You go in a for loop to define RS but update is outside for which makes only the last for loop executed/set value to go for an update.

Use Visual Studio DEBUGGER to see how things are happening, what is the execution workflow and you will be able to understand and resolve it.

QuestionHow Can I Save and Load Tree View Items Pin
ICEFLOWER223-Jun-12 16:31
ICEFLOWER223-Jun-12 16:31 
AnswerRe: How Can I Save and Load Tree View Items Pin
Richard MacCutchan24-Jun-12 0:18
mveRichard MacCutchan24-Jun-12 0:18 
AnswerRe: How Can I Save and Load Tree View Items Pin
Eddy Vluggen24-Jun-12 0:22
professionalEddy Vluggen24-Jun-12 0:22 
QuestionVS Editor Extensions, Split Code View? Pin
Don Rolando20-Jun-12 7:06
Don Rolando20-Jun-12 7:06 
AnswerRe: VS Editor Extensions, Split Code View? Pin
Richard MacCutchan20-Jun-12 21:12
mveRichard MacCutchan20-Jun-12 21:12 
GeneralRe: VS Editor Extensions, Split Code View? Pin
Don Rolando21-Jun-12 2:54
Don Rolando21-Jun-12 2:54 
GeneralRe: VS Editor Extensions, Split Code View? Pin
Richard MacCutchan21-Jun-12 3:11
mveRichard MacCutchan21-Jun-12 3:11 
GeneralRe: VS Editor Extensions, Split Code View? Pin
Pete O'Hanlon21-Jun-12 3:17
mvePete O'Hanlon21-Jun-12 3:17 
GeneralRe: VS Editor Extensions, Split Code View? Pin
Richard MacCutchan21-Jun-12 3:20
mveRichard MacCutchan21-Jun-12 3:20 
GeneralRe: VS Editor Extensions, Split Code View? Pin
irving1221-Jun-12 15:39
irving1221-Jun-12 15:39 
QuestionHow to Change Default On Screen Keyboard? Pin
FUNCTOR9915-Jun-12 8:08
FUNCTOR9915-Jun-12 8:08 
AnswerRe: How to Change Default On Screen Keyboard? Pin
FUNCTOR9920-Jun-12 12:32
FUNCTOR9920-Jun-12 12:32 
GeneralRe: How to Change Default On Screen Keyboard? Pin
Richard MacCutchan20-Jun-12 21:10
mveRichard MacCutchan20-Jun-12 21:10 
Questionproblem with PasswordDeriveBytes on windows ce Pin
iman_kh7-Jun-12 20:36
iman_kh7-Jun-12 20:36 
AnswerRe: problem with PasswordDeriveBytes on windows ce Pin
Dave Kreskowiak8-Jun-12 3:37
mveDave Kreskowiak8-Jun-12 3:37 
QuestionDevelop COM class / ActiveX with data bound properties in .NET? Pin
vware4-Jun-12 8:55
vware4-Jun-12 8:55 
QuestionParadise Trojan - Wonderfulll trojan made with vb.net Pin
mustoyildiz2-Jun-12 5:04
mustoyildiz2-Jun-12 5:04 

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.