Click here to Skip to main content
15,920,704 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to Solved Excel formula in vb.net Pin
Piyush Vardhan Singh3-Jul-08 21:56
Piyush Vardhan Singh3-Jul-08 21:56 
AnswerRe: How to Solved Excel formula in vb.net Pin
Sherin Iranimose3-Jul-08 22:40
Sherin Iranimose3-Jul-08 22:40 
AnswerRe: How to Solved Excel formula in vb.net Pin
Christian Graus4-Jul-08 0:47
protectorChristian Graus4-Jul-08 0:47 
GeneralRe: How to Solved Excel formula in vb.net Pin
Piyush Vardhan Singh4-Jul-08 1:13
Piyush Vardhan Singh4-Jul-08 1:13 
GeneralRe: How to Solved Excel formula in vb.net Pin
Christian Graus4-Jul-08 1:35
protectorChristian Graus4-Jul-08 1:35 
QuestionRegarding Animation Pin
dayakar_dn3-Jul-08 21:27
dayakar_dn3-Jul-08 21:27 
AnswerRe: Regarding Animation Pin
eyeseetee3-Jul-08 21:52
eyeseetee3-Jul-08 21:52 
QuestionEdit the data in a detail view at run time [modified] Pin
Rock Star.3-Jul-08 21:26
Rock Star.3-Jul-08 21:26 
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

modified on Friday, July 4, 2008 4:16 AM

AnswerRe: Edit the data in a detail view at run time Pin
Sherin Iranimose4-Jul-08 1:48
Sherin Iranimose4-Jul-08 1:48 
GeneralRe: Edit the data in a detail view at run time Pin
Rock Star.4-Jul-08 21:06
Rock Star.4-Jul-08 21:06 
QuestionHow to check session is created or not? Pin
BalasubramanianK3-Jul-08 20:58
BalasubramanianK3-Jul-08 20:58 
AnswerRe: How to check session is created or not? Pin
eyeseetee3-Jul-08 21:09
eyeseetee3-Jul-08 21:09 
GeneralRe: How to check session is created or not? Pin
BalasubramanianK3-Jul-08 21:31
BalasubramanianK3-Jul-08 21:31 
GeneralRe: How to check session is created or not? Pin
Sherin Iranimose3-Jul-08 21:41
Sherin Iranimose3-Jul-08 21:41 
GeneralRe: How to check session is created or not? Pin
tina->newcoder3-Jul-08 23:53
tina->newcoder3-Jul-08 23:53 
GeneralRe: How to check session is created or not? Pin
N a v a n e e t h4-Jul-08 1:06
N a v a n e e t h4-Jul-08 1:06 
QuestionAn error has occurred while establishing a connection to the server. Pin
Raghvendra Kumar Roy3-Jul-08 20:15
Raghvendra Kumar Roy3-Jul-08 20:15 
AnswerRe: An error has occurred while establishing a connection to the server. Pin
N a v a n e e t h4-Jul-08 1:08
N a v a n e e t h4-Jul-08 1:08 
QuestionError:Cannot convert type string to int Pin
rockram3-Jul-08 20:05
rockram3-Jul-08 20:05 
AnswerRe: Error:Cannot convert type string to int Pin
Sherin Iranimose3-Jul-08 20:48
Sherin Iranimose3-Jul-08 20:48 
GeneralRe: Error:Cannot convert type string to int Pin
Sutheesh chandran3-Jul-08 21:00
Sutheesh chandran3-Jul-08 21:00 
GeneralRe: Error:Cannot convert type string to int Pin
Sherin Iranimose3-Jul-08 21:21
Sherin Iranimose3-Jul-08 21:21 
GeneralRe: Error:Cannot convert type string to int Pin
rockram4-Jul-08 0:54
rockram4-Jul-08 0:54 
AnswerRe: Error:Cannot convert type string to int Pin
N a v a n e e t h4-Jul-08 1:13
N a v a n e e t h4-Jul-08 1:13 
QuestionJavascript for Space validation ? Pin
Masood Kochi,SSF3-Jul-08 19:47
Masood Kochi,SSF3-Jul-08 19:47 

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.