Click here to Skip to main content
15,898,938 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to use prepared statement for displaying data using asp.net Pin
Abhishek Sur10-May-09 9:55
professionalAbhishek Sur10-May-09 9:55 
QuestionFundamental ASP.NET Question Pin
MarkMokris9-May-09 4:38
MarkMokris9-May-09 4:38 
AnswerRe: Fundamental ASP.NET Question Pin
Christian Graus9-May-09 10:25
protectorChristian Graus9-May-09 10:25 
AnswerRe: Fundamental ASP.NET Question Pin
Abhijit Jana9-May-09 11:17
professionalAbhijit Jana9-May-09 11:17 
GeneralRe: Fundamental ASP.NET Question Pin
AlexeiXX39-May-09 17:10
AlexeiXX39-May-09 17:10 
GeneralRe: Fundamental ASP.NET Question Pin
N a v a n e e t h9-May-09 18:18
N a v a n e e t h9-May-09 18:18 
GeneralRe: Fundamental ASP.NET Question Pin
AlexeiXX310-May-09 6:54
AlexeiXX310-May-09 6:54 
AnswerRe: Fundamental ASP.NET Question Pin
N a v a n e e t h9-May-09 18:24
N a v a n e e t h9-May-09 18:24 
MarkMokris wrote:
Any variables I create global to the page class will be re-initialized with each post-back. Is that correct?


Yes

MarkMokris wrote:
Does that mean that nothing really persists from post-back to post-back?


As Christian said, static variables will be persisted as static variables are destroyed only when the application domain which hosts ends. ASP.NET provides many other persistent mechanisms. Beginners Introduction to State Management Techniques in ASP.NET[^] will get you started.

MarkMokris wrote:
What about if I set up a SQLDataSource at design time and bind it to a GridView. Is the SQLDataSource reconnecting and rerunning the SQL with every post-back? Even post-backs that do not involve the GrdiView?


Yes if caching is not enabled on SqlDataSource. Using SqlDataSource other than academic purpose is not recommended. It forces you to write SQL inside your markup. There are better ways to get data and do binding.

Smile | :)


Questionhow to display numbers in words Pin
Pawan Kiran9-May-09 3:11
Pawan Kiran9-May-09 3:11 
AnswerRe: how to display numbers in words Pin
Abhijit Jana9-May-09 3:24
professionalAbhijit Jana9-May-09 3:24 
AnswerRe: how to display numbers in words Pin
Ramesh Swaminathan9-May-09 3:29
Ramesh Swaminathan9-May-09 3:29 
QuestionASPX using third party UI OCX file Pin
The_Collector9-May-09 3:08
The_Collector9-May-09 3:08 
AnswerRe: ASPX using third party UI OCX file Pin
Ramesh Swaminathan9-May-09 3:34
Ramesh Swaminathan9-May-09 3:34 
GeneralRe: ASPX using third party UI OCX file Pin
The_Collector9-May-09 3:49
The_Collector9-May-09 3:49 
GeneralRe: ASPX using third party UI OCX file Pin
The_Collector15-May-09 22:52
The_Collector15-May-09 22:52 
Questioncapture Gridview cell value to an integer variable Pin
Pawan Kiran9-May-09 2:44
Pawan Kiran9-May-09 2:44 
AnswerRe: capture Gridview cell value to an integer variable Pin
Ramesh Swaminathan9-May-09 3:42
Ramesh Swaminathan9-May-09 3:42 
AnswerRe: capture Gridview cell value to an integer variable Pin
AlexeiXX39-May-09 17:18
AlexeiXX39-May-09 17:18 
QuestionBrowse ASP.NET app on windows mobile Pin
sunit_829-May-09 1:03
sunit_829-May-09 1:03 
AnswerRe: Browse ASP.NET app on windows mobile Pin
AlexeiXX39-May-09 17:20
AlexeiXX39-May-09 17:20 
GeneralRe: Browse ASP.NET app on windows mobile Pin
sunit_8210-May-09 20:19
sunit_8210-May-09 20:19 
QuestionHow to select area on a panel Pin
Nekkantidivya9-May-09 0:34
Nekkantidivya9-May-09 0:34 
AnswerRe: How to select area on a panel Pin
Christian Graus9-May-09 10:29
protectorChristian Graus9-May-09 10:29 
AnswerRe: How to select area on a panel Pin
Yusuf9-May-09 11:15
Yusuf9-May-09 11:15 
Questiongenerate html control object based on the given string Pin
Maxy558-May-09 23:57
Maxy558-May-09 23:57 

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.