Repeater
-
How to fetch the particular data and store in a variable when that data was clicked? For example in my repeater i have fields like Id,Name,etc. When i click on the Id field,that particular Id will be stored in a variable so that i can use it for my process? Can anyone give Idea or Code with c#?
-
How to fetch the particular data and store in a variable when that data was clicked? For example in my repeater i have fields like Id,Name,etc. When i click on the Id field,that particular Id will be stored in a variable so that i can use it for my process? Can anyone give Idea or Code with c#?
You need to handle the click and then work out what row was clicked. I assume the field is a button or a link, if it's a button, use a button that lets you pass back a command argument, if it's a link, put the value on the URL. This is very basic stuff, perhaps you should buy a book on ASP.NET ?
Christian Graus Driven to the arms of OSX by Vista.
-
How to fetch the particular data and store in a variable when that data was clicked? For example in my repeater i have fields like Id,Name,etc. When i click on the Id field,that particular Id will be stored in a variable so that i can use it for my process? Can anyone give Idea or Code with c#?