Click here to Skip to main content
15,917,176 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow i add a pictures in the database & how to connect to sql server with formview and gridview using c# Pin
ihbos13-May-10 17:30
ihbos13-May-10 17:30 
AnswerRe: how i add a pictures in the database & how to connect to sql server with formview and gridview using c# Pin
nagendrathecoder14-May-10 0:15
nagendrathecoder14-May-10 0:15 
QuestionRedirect fails Pin
Dot-Net-Dev13-May-10 17:19
Dot-Net-Dev13-May-10 17:19 
AnswerRe: Redirect fails Pin
Viral Upadhyay13-May-10 18:19
Viral Upadhyay13-May-10 18:19 
AnswerRe: Redirect fails Pin
Ankur\m/13-May-10 18:22
professionalAnkur\m/13-May-10 18:22 
GeneralRe: Redirect fails Pin
Dot-Net-Dev13-May-10 19:48
Dot-Net-Dev13-May-10 19:48 
Questioniterating through the datalist rows Pin
uglyeyes13-May-10 15:11
uglyeyes13-May-10 15:11 
QuestionSILVERLIGHT: Seemingly asynchronous code runs synchronously? What do I do wrong? Pin
taralex13-May-10 9:32
taralex13-May-10 9:32 
This is Silverlight client-side code.
I would expect it to simultaneously increment the values of both textboxes and therefore take approx. 10 seconds to complete.
Instead, it takes 20 seconds as if the two cycles were running sequentially.
I know there's something wrong with it, but what?

private void button1_Click(object sender, RoutedEventArgs e)<br />
        {          <br />
            BackgroundWorker bw = new BackgroundWorker();         <br />
            bw.RunWorkerCompleted += new RunWorkerCompletedEventHandler(Rsz);<br />
            bw.RunWorkerAsync();<br />
            textBox1.Text = "0";<br />
            for (int i = 0; i < 100; i++)<br />
            {<br />
                System.Threading.Thread.Sleep(100);<br />
                textBox1.Text = i.ToString();<br />
            }<br />
        }<br />
        private void Rsz(object sender, RunWorkerCompletedEventArgs e)<br />
        {<br />
            textBox2.Text = "0";<br />
            for (int i = 0; i < 100; i++)<br />
            {<br />
                System.Threading.Thread.Sleep(100);<br />
                textBox2.Text = i.ToString();<br />
            }           <br />
        }

QuestionNot able to access a asp hidden field in javascript? Pin
Steve Holdorf13-May-10 8:25
Steve Holdorf13-May-10 8:25 
AnswerRe: Not able to access a asp hidden field in javascript? Pin
Sandeep Mewara13-May-10 8:55
mveSandeep Mewara13-May-10 8:55 
QuestionHelp with saving a SQL Reporting Services report as pdf Pin
Martin_13-May-10 6:38
Martin_13-May-10 6:38 
AnswerRe: Help with saving a SQL Reporting Services report as pdf Pin
The Man from U.N.C.L.E.13-May-10 7:03
The Man from U.N.C.L.E.13-May-10 7:03 
GeneralRe: Help with saving a SQL Reporting Services report as pdf Pin
Martin_14-May-10 4:08
Martin_14-May-10 4:08 
GeneralRe: Help with saving a SQL Reporting Services report as pdf Pin
The Man from U.N.C.L.E.14-May-10 4:35
The Man from U.N.C.L.E.14-May-10 4:35 
GeneralRe: Help with saving a SQL Reporting Services report as pdf Pin
Martin_14-May-10 4:50
Martin_14-May-10 4:50 
QuestionMaster Page best practices Pin
Adam Brown 313-May-10 3:45
Adam Brown 313-May-10 3:45 
AnswerRe: Master Page best practices Pin
Not Active13-May-10 4:07
mentorNot Active13-May-10 4:07 
AnswerRe: Master Page best practices Pin
Gregory Gadow13-May-10 5:26
Gregory Gadow13-May-10 5:26 
AnswerRe: Master Page best practices Pin
Brij13-May-10 6:14
mentorBrij13-May-10 6:14 
QuestionLooking for an ASP.net or PHP mail application I can put on my domain to access gmail Pin
m3ntat_13-May-10 3:40
m3ntat_13-May-10 3:40 
AnswerRemotely connect to your home PC Pin
David Mujica13-May-10 4:21
David Mujica13-May-10 4:21 
AnswerRe: Looking for an ASP.net or PHP mail application I can put on my domain to access gmail Pin
TheyCallMeMrJames13-May-10 4:22
TheyCallMeMrJames13-May-10 4:22 
GeneralRe: Looking for an ASP.net or PHP mail application I can put on my domain to access gmail Pin
m3ntat_13-May-10 5:17
m3ntat_13-May-10 5:17 
GeneralRe: Looking for an ASP.net or PHP mail application I can put on my domain to access gmail Pin
TheyCallMeMrJames13-May-10 7:53
TheyCallMeMrJames13-May-10 7:53 
QuestionWindows Authentification browser remeber password Pin
AymenDotnet13-May-10 2:41
AymenDotnet13-May-10 2: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.