Click here to Skip to main content
15,909,437 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: need to display only subquestions when itemcommand evenst fires. Pin
eyeseetee29-Jun-08 21:44
eyeseetee29-Jun-08 21:44 
GeneralRe: need to display only subquestions when itemcommand evenst fires. Pin
subbu.sk29-Jun-08 22:04
subbu.sk29-Jun-08 22:04 
GeneralRe: need to display only subquestions when itemcommand evenst fires. Pin
eyeseetee29-Jun-08 22:21
eyeseetee29-Jun-08 22:21 
QuestionSpellcheck code Pin
rockram29-Jun-08 21:13
rockram29-Jun-08 21:13 
AnswerRe: Spellcheck code Pin
Christian Graus29-Jun-08 21:20
protectorChristian Graus29-Jun-08 21:20 
GeneralRe: Spellcheck code Pin
eyeseetee29-Jun-08 21:45
eyeseetee29-Jun-08 21:45 
GeneralRe: Spellcheck code Pin
Christian Graus29-Jun-08 22:27
protectorChristian Graus29-Jun-08 22:27 
GeneralRe: Spellcheck code Pin
rockram30-Jun-08 0:20
rockram30-Jun-08 0:20 
Thank you for your reply i do have a C# code on Spellcheck can u help me to get rid of errors:

The Code follow below:
using System;
using System.IO;
using System.Data;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

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 (Strings.Trim(Request.QueryString("txtContent")) == "")
{
return; // TODO: might not be correct. Was : Exit Sub
}
else
{
strCompleteOriginal = Strings.Trim(Request.QueryString("txtContent"));
}
if (!IsPostBack)
{
iCurrentCount = 0;
iWordCount = 0;
intErrors = 0;
hfOriginalString.Value = strCompleteOriginal;
hfCurrentCount.Value = "0";
arrWords = Strings.Split(strCompleteOriginal, " ");
iWordCount = arrWords.Length;
hfWordCount.Value = iWordCount;
hfErrors.Value = "0";
}
else
{
arrWords = Strings.Split(hfOriginalString.Value, " ");
iCurrentCount = hfCurrentCount.Value;
intErrors = int.Parse(hfErrors.Value);
}
txtCurrent.Value = arrWords(iCurrentCount);
if (Request.Form("cmdCancel") == "Stop")
{
arrWords = Strings.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 = Strings.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)
{

}
}
QuestionMerging two dataset in C#.NET?? [modified] Pin
Karan_TN29-Jun-08 20:46
Karan_TN29-Jun-08 20:46 
AnswerRe: Merging two dataset in C#.NET?? Pin
N a v a n e e t h29-Jun-08 20:49
N a v a n e e t h29-Jun-08 20:49 
GeneralRe: Merging two dataset in C#.NET?? Pin
Christian Graus29-Jun-08 23:05
protectorChristian Graus29-Jun-08 23:05 
Questionenduser cant go previous page using that back button in internet explorer Pin
Member 387988129-Jun-08 20:37
Member 387988129-Jun-08 20:37 
AnswerRe: enduser cant go previous page using that back button in internet explorer Pin
Christian Graus29-Jun-08 20:39
protectorChristian Graus29-Jun-08 20:39 
GeneralRe: enduser cant go previous page using that back button in internet explorer Pin
Member 387988129-Jun-08 21:35
Member 387988129-Jun-08 21:35 
GeneralRe: enduser cant go previous page using that back button in internet explorer Pin
eyeseetee29-Jun-08 21:48
eyeseetee29-Jun-08 21:48 
GeneralRe: enduser cant go previous page using that back button in internet explorer Pin
Christian Graus29-Jun-08 22:29
protectorChristian Graus29-Jun-08 22:29 
AnswerRe: enduser cant go previous page using that back button in internet explorer Pin
tina->newcoder29-Jun-08 22:26
tina->newcoder29-Jun-08 22:26 
Questionretrieve the cell value from the gridview but it returns null Pin
kimo code29-Jun-08 20:27
kimo code29-Jun-08 20:27 
AnswerRe: retrieve the cell value from the gridview but it returns null Pin
Christian Graus29-Jun-08 20:36
protectorChristian Graus29-Jun-08 20:36 
GeneralRe: retrieve the cell value from the gridview but it returns null Pin
kimo code29-Jun-08 20:51
kimo code29-Jun-08 20:51 
GeneralRe: retrieve the cell value from the gridview but it returns null Pin
Christian Graus29-Jun-08 20:59
protectorChristian Graus29-Jun-08 20:59 
GeneralRe: retrieve the cell value from the gridview but it returns null Pin
kimo code29-Jun-08 21:51
kimo code29-Jun-08 21:51 
GeneralRe: retrieve the cell value from the gridview but it returns null Pin
Christian Graus29-Jun-08 22:30
protectorChristian Graus29-Jun-08 22:30 
GeneralRe: retrieve the cell value from the gridview but it returns null Pin
N a v a n e e t h29-Jun-08 20:56
N a v a n e e t h29-Jun-08 20:56 
GeneralRe: retrieve the cell value from the gridview but it returns null Pin
brettokumar29-Jun-08 21:07
professionalbrettokumar29-Jun-08 21:07 

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.