Click here to Skip to main content
15,922,166 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Read Inbox of Outlook Pin
N a v a n e e t h12-Mar-07 0:21
N a v a n e e t h12-Mar-07 0:21 
GeneralRe: Read Inbox of Outlook Pin
varshavmane12-Mar-07 0:33
varshavmane12-Mar-07 0:33 
GeneralRe: Read Inbox of Outlook Pin
Venkatesh Mookkan12-Mar-07 0:33
Venkatesh Mookkan12-Mar-07 0:33 
GeneralRe: Read Inbox of Outlook Pin
varshavmane12-Mar-07 0:39
varshavmane12-Mar-07 0:39 
GeneralRe: Read Inbox of Outlook Pin
N a v a n e e t h12-Mar-07 0:46
N a v a n e e t h12-Mar-07 0:46 
GeneralRe: Read Inbox of Outlook Pin
varshavmane12-Mar-07 0:53
varshavmane12-Mar-07 0:53 
GeneralRe: Read Inbox of Outlook Pin
N a v a n e e t h12-Mar-07 0:55
N a v a n e e t h12-Mar-07 0:55 
QuestionRecord retrival Pin
yuvachandra11-Mar-07 23:31
yuvachandra11-Mar-07 23:31 
Hi friends,,
am developeing a website to conduct certification exam for the buddys who are interested..some thing like a MCP,MCSD exam. to do this i have to design a webportal...where i have to expose a single qestion and answer each time...(let us say first time a exposed the first question)while clicking the next button i have to update the first question answer and expose the second one....to do this i did some manupulation like

in page_load()
{
if (!IsPostBack==true)
{
da.Fill(ds, "dept");
p = 0;
getrecord(p);
}

public void getrecord(int x)
{
//filling question and answers in the controls..

Label1.Text = ds.Tables["dept"].Rows[x].ItemArray[0].ToString();
RadioButton1.Text = ds.Tables["dept"].Rows[x].ItemArray[1].ToString();
RadioButton2.Text = ds.Tables["dept"].Rows[x].ItemArray[2].ToString();
RadioButton3.Text = ds.Tables["dept"].Rows[x].ItemArray[3].ToString();
RadioButton4.Text = ds.Tables["dept"].Rows[x].ItemArray[4].ToString();
}

Nextbutton_click()
{
p++;
getrecord(p);
if (p == ds.Tables["dept"].Rows.Count - 1)
{
//some conformation
}
}

But problem is while am working in windows application with thi code(omit !ispostback=true),it's working fine...while web application it's not.....i know every time the variable(p) is initializeing to position zero(0) though i used !ispostback(skipping page_load)event........!


plz let me know the proper way to proceed ....or give some articles relateing to this scenario...thanqs in advance...
AnswerRe: Record retrival Pin
N a v a n e e t h12-Mar-07 0:18
N a v a n e e t h12-Mar-07 0:18 
GeneralRe: Record retrival Pin
yuvachandra12-Mar-07 0:45
yuvachandra12-Mar-07 0:45 
GeneralRe: Record retrival Pin
Imran Khan Pathan12-Mar-07 3:27
Imran Khan Pathan12-Mar-07 3:27 
GeneralRe: Record retrival Pin
yuvachandra13-Mar-07 0:26
yuvachandra13-Mar-07 0:26 
QuestionSnapshot of WebSite Pin
hemant.kaushal11-Mar-07 23:02
hemant.kaushal11-Mar-07 23:02 
AnswerRe: Snapshot of WebSite Pin
Harini N K11-Mar-07 23:12
Harini N K11-Mar-07 23:12 
AnswerRe: Snapshot of WebSite Pin
badgrs12-Mar-07 0:11
badgrs12-Mar-07 0:11 
Questioncaching API, it's different to caching . Pin
ashishnagar111-Mar-07 22:58
ashishnagar111-Mar-07 22:58 
AnswerRe: catching API, it's different to catching. Pin
N a v a n e e t h11-Mar-07 22:00
N a v a n e e t h11-Mar-07 22:00 
AnswerRe: caching API, it's different to caching . Pin
badgrs12-Mar-07 0:09
badgrs12-Mar-07 0:09 
QuestionMake tab menu or main menu ? Pin
eey5611-Mar-07 22:51
eey5611-Mar-07 22:51 
AnswerRe: Make tab menu or main menu ? Pin
N a v a n e e t h11-Mar-07 22:59
N a v a n e e t h11-Mar-07 22:59 
AnswerRe: Make tab menu or main menu ? Pin
Deepak the Cool12-Mar-07 1:05
Deepak the Cool12-Mar-07 1:05 
GeneralRe: Make tab menu or main menu ? Pin
eey5612-Mar-07 1:08
eey5612-Mar-07 1:08 
Questionhow to show .swf image on my web project? Pin
eey5611-Mar-07 22:46
eey5611-Mar-07 22:46 
AnswerRe: how to show .swf image on my web project? Pin
hemant.kaushal11-Mar-07 22:54
hemant.kaushal11-Mar-07 22:54 
GeneralRe: how to show .swf image on my web project? Pin
eey5612-Mar-07 0:41
eey5612-Mar-07 0:41 

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.