Click here to Skip to main content
15,891,704 members
Home / Discussions / C#
   

C#

 
Questionimporting media Pin
Vineet Rajan18-Feb-06 6:39
Vineet Rajan18-Feb-06 6:39 
QuestionASync Callbacks Server->Client Pin
FreeClimber18-Feb-06 5:43
FreeClimber18-Feb-06 5:43 
AnswerRe: ASync Callbacks Server->Client Pin
S. Senthil Kumar18-Feb-06 8:16
S. Senthil Kumar18-Feb-06 8:16 
QuestionMessage Removed Pin
18-Feb-06 4:58
Kasic Slobodan18-Feb-06 4:58 
Questiondigit event not fired in dotnet using tapi 3 Pin
zubairy18-Feb-06 1:13
zubairy18-Feb-06 1:13 
Questioninput array in ASP.net C# Pin
Suman Singh18-Feb-06 0:48
professionalSuman Singh18-Feb-06 0:48 
GeneralRe: input array in ASP.net C# Pin
Guffa18-Feb-06 1:15
Guffa18-Feb-06 1:15 
AnswerRe: input array in ASP.net C# Pin
Koushik Biswas18-Feb-06 13:06
Koushik Biswas18-Feb-06 13:06 
Assuming that you are using the "codebehind" coding style (which is the recommended way) - your CS file linked to your ASPX page will have a class in which the textboxes representing positions (visible ones) as well as the textboxes representing the id-s (invisible ones) should have corresponding "protected" members (of type TextBox). If you do not see any, that may be because you are using the "non-ASP.NET" control "input". Instead, if you use the ASP.NET control TextBox (drag and drop them on your aspx form using the toolbar), the corresponding CS class objects will get auto generated.

That said, there is still way to continue using the HTML "input" controls and represent them in your CS file with corresonding TextBox members - in that case you have to declare the TextBox objects in your CS file by yourself.

All this because you need those CS objects to do what you are trying to do. Once you have them - then in Page_Start, if PostBack is false (first time) - just set the texts of the textboxes with the database values, and if PostBack is true (after Set Position button is clicked) - pick them up and execute your update query. That's it!

And yes, this is indeed cross posting.

Koushik Biswas
Questionhow to use progressbar for long operation in Winform Application ? Pin
hdv21218-Feb-06 0:16
hdv21218-Feb-06 0:16 
AnswerRe: how to use progressbar for long operation in Winform Application ? Pin
Christian Graus18-Feb-06 0:43
protectorChristian Graus18-Feb-06 0:43 
QuestionC# Newbe Best way to loop throuh ip address (Building ICMP Discover tool) Pin
lazaran17-Feb-06 23:21
lazaran17-Feb-06 23:21 
AnswerRe: C# Newbe Best way to loop throuh ip address (Building ICMP Discover tool) Pin
Christian Graus18-Feb-06 0:41
protectorChristian Graus18-Feb-06 0:41 
Questionhow to get window name of a specific application Pin
batmanAgen17-Feb-06 23:06
batmanAgen17-Feb-06 23:06 
AnswerRe: how to get window name of a specific application Pin
Gokulan Venattil17-Feb-06 23:52
Gokulan Venattil17-Feb-06 23:52 
AnswerRe: how to get window name of a specific application Pin
S. Senthil Kumar18-Feb-06 8:18
S. Senthil Kumar18-Feb-06 8:18 
QuestionHow to communicate with USB devices Pin
Bharath.rao17-Feb-06 22:59
Bharath.rao17-Feb-06 22:59 
AnswerRe: How to communicate with USB devices Pin
Curtis Schlak.18-Feb-06 2:05
Curtis Schlak.18-Feb-06 2:05 
Questionhow to debug attributes ? Pin
_Liron_17-Feb-06 22:53
_Liron_17-Feb-06 22:53 
QuestionDatatable is Sorted (Urgent) Pin
Roro Adel17-Feb-06 22:44
Roro Adel17-Feb-06 22:44 
AnswerRe: Datatable is Sorted (Urgent) Pin
Colin Angus Mackay18-Feb-06 0:00
Colin Angus Mackay18-Feb-06 0:00 
QuestionUnable to find Entry point in DLL Pin
emran83417-Feb-06 22:08
emran83417-Feb-06 22:08 
AnswerRe: Unable to find Entry point in DLL Pin
Bharath.rao17-Feb-06 22:31
Bharath.rao17-Feb-06 22:31 
GeneralRe: Unable to find Entry point in DLL Pin
emran83419-Feb-06 15:38
emran83419-Feb-06 15:38 
QuestionQuestion about table with Grid in C# Pin
Yanshof17-Feb-06 19:59
Yanshof17-Feb-06 19:59 
AnswerRe: Question about table with Grid in C# Pin
Rmokkenstorm19-Feb-06 20:42
Rmokkenstorm19-Feb-06 20:42 

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.