Click here to Skip to main content
15,921,905 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: how to export data to powerpoint using vs2005 Pin
sidbaruah19-Mar-08 21:47
sidbaruah19-Mar-08 21:47 
GeneralParse the selected value from ddl and fill another ddl with information + NHibernate + C# Pin
Thommie.h19-Mar-08 11:16
Thommie.h19-Mar-08 11:16 
GeneralRe: Parse the selected value from ddl and fill another ddl with information + NHibernate + C# Pin
Marco van der Linden19-Mar-08 11:50
Marco van der Linden19-Mar-08 11:50 
GeneralRe: Parse the selected value from ddl and fill another ddl with information + NHibernate + C# Pin
Thommie.h20-Mar-08 5:40
Thommie.h20-Mar-08 5:40 
GeneralRe: Parse the selected value from ddl and fill another ddl with information + NHibernate + C# Pin
Marco van der Linden20-Mar-08 6:06
Marco van der Linden20-Mar-08 6:06 
GeneralRe: Parse the selected value from ddl and fill another ddl with information + NHibernate + C# [modified] Pin
Thommie.h20-Mar-08 7:29
Thommie.h20-Mar-08 7:29 
Questionget data from gridview row before delete ? Pin
C. L. Phillip19-Mar-08 11:09
C. L. Phillip19-Mar-08 11:09 
AnswerRe: get data from gridview row before delete ? Pin
C. L. Phillip20-Mar-08 4:12
C. L. Phillip20-Mar-08 4:12 
Just in case anyone was wondering .... i solved my issue of getting the data out of a row about to be deleted.

Implement the RowDeleting event handler. Use the e.rowIndex where 'e' is the GridViewDeleteEventArgs parameter to the event handler, and 'rowindex' is the index of the row to be deleted. I passed e.rowindex to the gridiew.rows() collection with returns a GridViewRow object. My gridview uses templated fields.

Using that object, call findcontrol passing in the id of the control in the row that you want to find. In my case it was a Label control. Then you will be able to grad whatever data you need out of that control

Protected Sub GridView1_Rowdeleting(ByVal sender as Object,ByVal e as System.Web.UI.WebControls.GridviewDeleteEventArgs ) Handles GridView1.RowDeleting

Dim lblName as Label = CTYPE(Gridview1.Rows(e.RowIndex).FindControl("Label1"),Label)
Dim name as String = lblName.Text

End Sub
QuestionUsing Certificates with c# and ASP.NET Pin
sfog19-Mar-08 11:08
sfog19-Mar-08 11:08 
GeneralCross post - please ignore Pin
pmarfleet19-Mar-08 11:14
pmarfleet19-Mar-08 11:14 
QuestionBusiness Logic and the current context Pin
Adriann19-Mar-08 11:08
Adriann19-Mar-08 11:08 
GeneralRe: Business Logic and the current context Pin
AlexeiXX319-Mar-08 15:41
AlexeiXX319-Mar-08 15:41 
GeneralRe: Business Logic and the current context Pin
Adriann20-Mar-08 6:58
Adriann20-Mar-08 6:58 
GeneralRe: Business Logic and the current context Pin
Adriann23-Mar-08 6:25
Adriann23-Mar-08 6:25 
QuestionHow to re-use one SqlDataSource for mutiple grids with different parameters Pin
Brady Kelly19-Mar-08 7:58
Brady Kelly19-Mar-08 7:58 
AnswerRe: How to re-use one SqlDataSource for mutiple grids with different parameters Pin
ashish bhakhar21-Mar-08 0:52
ashish bhakhar21-Mar-08 0:52 
GeneralChanges not applying in production Pin
macca2419-Mar-08 6:23
macca2419-Mar-08 6:23 
GeneralRe: Changes not applying in production Pin
Christian Graus19-Mar-08 10:45
protectorChristian Graus19-Mar-08 10:45 
GeneralRe: Changes not applying in production Pin
Adriann19-Mar-08 11:12
Adriann19-Mar-08 11:12 
QuestionDisplay data from a database without using gridview etc. Pin
ahlaj7719-Mar-08 5:06
ahlaj7719-Mar-08 5:06 
General[Message Deleted] Pin
eyeseetee19-Mar-08 5:18
eyeseetee19-Mar-08 5:18 
GeneralRe: Display data from a database without using gridview etc. Pin
Not Active19-Mar-08 5:47
mentorNot Active19-Mar-08 5:47 
General[Message Deleted] Pin
eyeseetee19-Mar-08 6:07
eyeseetee19-Mar-08 6:07 
GeneralRe: Display data from a database without using gridview etc. Pin
Not Active19-Mar-08 6:23
mentorNot Active19-Mar-08 6:23 
GeneralRe: Display data from a database without using gridview etc. Pin
led mike19-Mar-08 6:31
led mike19-Mar-08 6:31 

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.