Click here to Skip to main content
15,895,084 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Get value from Mutiple fom Pin
nlarson114-Jul-08 3:07
nlarson114-Jul-08 3:07 
GeneralRe: Get value from Mutiple fom Pin
Sarfaraj Ahmed4-Jul-08 3:51
Sarfaraj Ahmed4-Jul-08 3:51 
AnswerRe: Get value from Mutiple fom Pin
Jay Royall4-Jul-08 3:54
Jay Royall4-Jul-08 3:54 
QuestionHow to read EDI files like 835, 837 Pin
K Suresh Reddy4-Jul-08 1:22
K Suresh Reddy4-Jul-08 1:22 
AnswerRe: How to read EDI files like 835, 837 Pin
Dave Kreskowiak4-Jul-08 6:32
mveDave Kreskowiak4-Jul-08 6:32 
GeneralRe: How to read EDI files like 835, 837 Pin
K Suresh Reddy7-Jul-08 19:03
K Suresh Reddy7-Jul-08 19:03 
GeneralRe: How to read EDI files like 835, 837 Pin
Dave Kreskowiak8-Jul-08 9:29
mveDave Kreskowiak8-Jul-08 9:29 
QuestionEdit the data in a detail view at run time Pin
Rock Star.3-Jul-08 23:59
Rock Star.3-Jul-08 23:59 
Hi,
I am binding a data in a detail view at run time. But I also want to edit it at the run time. I have tried the following code.

Protected Sub Detailsview1_ItemUpdated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DetailsViewUpdateEventArgs) Handles Detailsview1.ItemUpdating

Dim index As Integer = Generic_DG.SelectedIndex

Dim con As New SqlConnection(ConfigurationManager.AppSettings("connectionString"))
Dim cmd As New SqlCommand()
cmd.CommandText = "UPDATE Products SET ProdName=@ProdName where ProdId=@ProdId"

cmd.Connection = con
cmd.Connection.Open()
cmd.ExecuteNonQuery()
cmd.Connection.Close()

End Sub

How can I replace @ProdName with data in a detail view?
OR
Which property of the detailview I have to use for it?

Rock Star

AnswerRe: Edit the data in a detail view at run time Pin
Vimalsoft(Pty) Ltd4-Jul-08 4:45
professionalVimalsoft(Pty) Ltd4-Jul-08 4:45 
Questionrestrict project to run only 20 times Pin
vijaylumar3-Jul-08 23:20
vijaylumar3-Jul-08 23:20 
AnswerRe: restrict project to run only 20 times Pin
Rupesh Kumar Swami3-Jul-08 23:29
Rupesh Kumar Swami3-Jul-08 23:29 
GeneralRe: restrict project to run only 20 times Pin
vijaylumar3-Jul-08 23:46
vijaylumar3-Jul-08 23:46 
AnswerRe: restrict project to run only 20 times Pin
jeipiyaku4-Jul-08 0:00
jeipiyaku4-Jul-08 0:00 
GeneralRe: restrict project to run only 20 times Pin
LloydA1114-Jul-08 12:07
LloydA1114-Jul-08 12:07 
AnswerRe: restrict project to run only 20 times Pin
Christian Graus4-Jul-08 0:44
protectorChristian Graus4-Jul-08 0:44 
QuestionAdding DLL Dynamically Pin
jeipiyaku3-Jul-08 23:00
jeipiyaku3-Jul-08 23:00 
AnswerRe: Adding DLL Dynamically Pin
jzonthemtn4-Jul-08 2:18
jzonthemtn4-Jul-08 2:18 
GeneralRe: Adding DLL Dynamically Pin
jeipiyaku4-Jul-08 2:24
jeipiyaku4-Jul-08 2:24 
QuestionNo designer when adding a new typed dataset Pin
steve_rm3-Jul-08 22:56
steve_rm3-Jul-08 22:56 
QuestionForm con più panel Pin
zagari3-Jul-08 22:45
zagari3-Jul-08 22:45 
AnswerRe: Form con più panel Pin
Rupesh Kumar Swami3-Jul-08 23:25
Rupesh Kumar Swami3-Jul-08 23:25 
Questionusing variable instead of listbox Pin
shee_dee863-Jul-08 22:05
shee_dee863-Jul-08 22:05 
AnswerRe: using variable instead of listbox Pin
Chinners3-Jul-08 22:27
Chinners3-Jul-08 22:27 
AnswerRe: using variable instead of listbox Pin
Steven J Jowett3-Jul-08 22:29
Steven J Jowett3-Jul-08 22:29 
AnswerRe: using variable instead of listbox Pin
Rupesh Kumar Swami3-Jul-08 22:38
Rupesh Kumar Swami3-Jul-08 22:38 

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.