Click here to Skip to main content
16,004,854 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: image problem in datalist Pin
Christian Graus30-Jun-08 11:27
protectorChristian Graus30-Jun-08 11:27 
GeneralRe: image problem in datalist Pin
wajans30-Jun-08 11:43
wajans30-Jun-08 11:43 
GeneralRe: image problem in datalist Pin
Christian Graus30-Jun-08 12:32
protectorChristian Graus30-Jun-08 12:32 
GeneralRe: image problem in datalist Pin
wajans1-Jul-08 6:06
wajans1-Jul-08 6:06 
AnswerRe: image problem in datalist Pin
wajans1-Jul-08 6:10
wajans1-Jul-08 6:10 
QuestionASP. Net AJAX, Response.Write, and PDF Pin
Ariel Kazeed30-Jun-08 3:19
Ariel Kazeed30-Jun-08 3:19 
AnswerRe: ASP. Net AJAX, Response.Write, and PDF Pin
Christian Graus30-Jun-08 10:54
protectorChristian Graus30-Jun-08 10:54 
QuestionSpellCheck Error Pin
rockram30-Jun-08 3:18
rockram30-Jun-08 3:18 
Code:
using System;
using System.IO;
using System.Configuration;
using System.Data;
using System.Collections;
using System.Text;


partial class Default2 : System.Web.UI.Page
{
private string[] strDictArray;
private bool boolDictionaryLoaded = false;
private int intErrors = 0;
protected void Page_Load(object sender, System.EventArgs e)
{
int iCurrentCount = 0;
string[] arrWords;
string strCompleteOriginal = "";
int iWordCount = 0;
string strAlternative = "";
int i = 0;
if (string.Trim(Request.Querystring["txtContent"]) == "")
{
return; // TODO: might not be correct. Was : Exit Sub
}
else
{
strCompleteOriginal = string.Trim(Request.Querystring("txtContent"));
}
if (!IsPostBack==false)
{
iCurrentCount = 0;
iWordCount = 0;
intErrors = 0;
hfOriginalstring.Value = strCompleteOriginal;
hfCurrentCount.Value = "0";
arrWords = string.Split(strCompleteOriginal, " ");
iWordCount = arrWords.Length;
hfWordCount.Value = iWordCount;
hfErrors.Value = "0";
}
else
{
arrWords = string.Split(hfOriginalstring.Value, " ");
iCurrentCount = hfCurrentCount.Value;
intErrors = int.Parse(hfErrors.Value);
}
txtCurrent.Value = arrWords[iCurrentCount];
if (Request.Form["cmdCancel"] == "Stop")
{
arrWords = string.Split(hfOriginalstring.Value, " ");
iWordCount = hfWordCount.Value;
string strReplace = hfFinal.Value;
int j = 0;
for (j = iCurrentCount; j <= iWordCount - 1; j++)
{
strReplace += arrWords[j] + " ";
}
intErrors -= 1;
stopChecking("frmSpellCheck", "txtContent", strReplace);
return; // TODO: might not be correct. Was : Exit Sub
}
if (Request.Form["cmdNext"] == "Next")
{
arrWords = string.Split(hfOriginalstring.Value, " ");
iWordCount = hfWordCount.Value;
if (txtManual.Value == "")
{
arrWords[iCurrentCount] = lbSuggestions.SelectedValue;
hfFinal.Value += lbSuggestions.SelectedValue + " ";
}
else
{
arrWords[iCurrentCount] = hfFinal.Value;
}
}
}
protected void lbSuggestions_SelectedIndexChanged(object sender, EventArgs e)
{

}
}

Error:
1.System.Web.HttpRequest does not contain a definition for Querystring
2.The best overloaded method match for string.Split(params char[])
3.cannot convert from string to char
4.System.Web.UI.WebControls.TextBox does not contain a definition for value

Please find me a solution
AnswerRe: SpellCheck Error Pin
Christian Graus30-Jun-08 11:00
protectorChristian Graus30-Jun-08 11:00 
QuestionAccess denied to folder in ASP.NET project either though I have granted all users full permissions !! Pin
truegilly30-Jun-08 2:48
truegilly30-Jun-08 2:48 
AnswerRe: Access denied to folder in ASP.NET project either though I have granted all users full permissions !! Pin
truegilly30-Jun-08 3:14
truegilly30-Jun-08 3:14 
Questionuser control Problem Pin
Ajeet mittal30-Jun-08 2:29
Ajeet mittal30-Jun-08 2:29 
AnswerRe: user control Problem Pin
eyeseetee30-Jun-08 2:45
eyeseetee30-Jun-08 2:45 
GeneralRe: user control Problem Pin
Ajeet mittal30-Jun-08 2:48
Ajeet mittal30-Jun-08 2:48 
GeneralRe: user control Problem Pin
eyeseetee30-Jun-08 3:03
eyeseetee30-Jun-08 3:03 
GeneralRe: user control Problem Pin
Gayani Devapriya30-Jun-08 6:01
Gayani Devapriya30-Jun-08 6:01 
GeneralRe: user control Problem Pin
Ajeet mittal1-Jul-08 1:51
Ajeet mittal1-Jul-08 1:51 
QuestionValidator.RenderControl(htmlTextWriter) returns empty string? Pin
livez30-Jun-08 2:02
livez30-Jun-08 2:02 
AnswerRe: Validator.RenderControl(htmlTextWriter) returns empty string? Pin
ToddHileHoffer30-Jun-08 2:41
ToddHileHoffer30-Jun-08 2:41 
GeneralRe: Validator.RenderControl(htmlTextWriter) returns empty string? Pin
livez30-Jun-08 3:05
livez30-Jun-08 3:05 
QuestionHow to dispaly an image Pin
phetolel30-Jun-08 1:48
phetolel30-Jun-08 1:48 
AnswerRe: How to dispaly an image Pin
eyeseetee30-Jun-08 2:18
eyeseetee30-Jun-08 2:18 
GeneralRe: How to dispaly an image Pin
phetolel30-Jun-08 2:21
phetolel30-Jun-08 2:21 
GeneralRe: How to dispaly an image Pin
eyeseetee30-Jun-08 2:43
eyeseetee30-Jun-08 2:43 
GeneralRe: How to dispaly an image Pin
phetolel30-Jun-08 2:48
phetolel30-Jun-08 2:48 

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.