Click here to Skip to main content
15,895,667 members
Home / Discussions / C#
   

C#

 
GeneralRe: MATLAB Builder NE deployment problem Pin
shwetanisha29-Aug-13 22:25
shwetanisha29-Aug-13 22:25 
QuestionWindows Services using C# and SQL data Pin
Member 1023886728-Aug-13 20:07
Member 1023886728-Aug-13 20:07 
AnswerRe: Windows Services using C# and SQL data Pin
OriginalGriff28-Aug-13 21:13
mveOriginalGriff28-Aug-13 21:13 
GeneralRe: Windows Services using C# and SQL data Pin
Member 1023886728-Aug-13 21:43
Member 1023886728-Aug-13 21:43 
GeneralRe: Windows Services using C# and SQL data Pin
OriginalGriff28-Aug-13 22:00
mveOriginalGriff28-Aug-13 22:00 
AnswerRe: Windows Services using C# and SQL data Pin
Bernhard Hiller28-Aug-13 21:17
Bernhard Hiller28-Aug-13 21:17 
GeneralRe: Windows Services using C# and SQL data Pin
Member 1023886728-Aug-13 21:46
Member 1023886728-Aug-13 21:46 
QuestionDataGridView Printing Pin
Tsukasa8328-Aug-13 7:33
Tsukasa8328-Aug-13 7:33 
AnswerRe: DataGridView Printing Pin
OriginalGriff28-Aug-13 21:15
mveOriginalGriff28-Aug-13 21:15 
QuestionRead XML string, Manipulate, Store in Dataset & SqlBulkCopy Pin
murugesan.ks28-Aug-13 7:32
murugesan.ks28-Aug-13 7:32 
AnswerRe: Read XML string, Manipulate, Store in Dataset & SqlBulkCopy Pin
SledgeHammer0128-Aug-13 9:26
SledgeHammer0128-Aug-13 9:26 
QuestionConverting MS-office files to PDF Pin
sujeet32128-Aug-13 0:48
sujeet32128-Aug-13 0:48 
AnswerRe: Converting MS-office files to PDF Pin
Simon_Whale28-Aug-13 0:54
Simon_Whale28-Aug-13 0:54 
Questionapprove file Pin
Diya Ayesa28-Aug-13 0:10
Diya Ayesa28-Aug-13 0:10 
AnswerRe: approve file Pin
Eddy Vluggen28-Aug-13 2:07
professionalEddy Vluggen28-Aug-13 2:07 
GeneralRe: approve file Pin
Forbiddenx28-Aug-13 6:42
Forbiddenx28-Aug-13 6:42 
QuestionInformation about JPEG Header Pin
Discover.ir27-Aug-13 23:40
Discover.ir27-Aug-13 23:40 
AnswerRe: Information about JPEG Header Pin
Amarnath S28-Aug-13 0:22
professionalAmarnath S28-Aug-13 0:22 
GeneralRe: Information about JPEG Header Pin
Discover.ir28-Aug-13 1:35
Discover.ir28-Aug-13 1:35 
AnswerRe: Information about JPEG Header Pin
Dave Kreskowiak28-Aug-13 2:17
mveDave Kreskowiak28-Aug-13 2:17 
GeneralRe: Information about JPEG Header Pin
Discover.ir28-Aug-13 2:27
Discover.ir28-Aug-13 2:27 
GeneralRe: Information about JPEG Header Pin
Dave Kreskowiak28-Aug-13 3:20
mveDave Kreskowiak28-Aug-13 3:20 
Questionreading from a dynamically created textarea Pin
Hbr_Tha_real27-Aug-13 4:27
Hbr_Tha_real27-Aug-13 4:27 
AnswerRe: reading from a dynamically created textarea Pin
Jason Gleim27-Aug-13 4:59
professionalJason Gleim27-Aug-13 4:59 
GeneralRe: reading from a dynamically created textarea Pin
Hbr_Tha_real28-Aug-13 1:53
Hbr_Tha_real28-Aug-13 1:53 
Thanks for replying.

the code that i posted above generates data from the database then creates the div (with a table inside) and in the table that i have here i put some values that are generated from the database, then per record that is returned i generate the replies that have been posted by other users, and create another table in one of the cells of the outter table, back to the outter table i create a textarea for each record and an that posts to the same page that postsback the record ID and the textarea ID,

and on my form_load event i have a condition that checks if if the

C#
if (Request.QueryString.Count > 0)
     {
       f1(Request.QueryString[0], Request.QueryString[1]);
     }


then my f1 function

does this

<pre lang="c#">


private void f1(String fn, String fm) 
    {
      System.Web.UI.HtmlControls.HtmlTextArea TArea = new System.Web.UI.HtmlControls.HtmlTextArea();
            TArea.FindControl(fm);
            String Str1 = TArea.Value;
            Response.Write("<script type='text/javascript'>alert('" + Str1 + "')</script>");
        }

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.