Note that there are some explanatory texts on larger screens.

plurals
  1. POPut get set properties in another file
    primarykey
    data
    text
    <p>Here i develop some function.but after that i saw some notimplemented exception occured there.and also some get set properties.here is the code,</p> <pre><code> private void modifyMessage() { char [] characters_to_removed_from_end = { ' ' }; String trimmedString = this.message_in.TrimEnd(characters_to_removed_from_end); trimmedString = Regex.Replace(trimmedString, @"s\+", ""); trimmedString = rearrangeMessage(trimmedString); } </code></pre> <p>After this automatically generate below code,</p> <pre><code> private string rearrangeMessage(string trimmedString) { throw new NotImplementedException(); } public string message_in { get; set; } public string rearrangeMessage { get; set; } } </code></pre> <p>can i put second code in another file ? or what happen here ?</p> <p>POST EDITED WITH FULL CODE....</p> <pre><code> using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Configuration; using System.Data.SqlClient; using System.Text.RegularExpressions; namespace ViltraSMS.SMSFunction { public partial class MooseSeen : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e) { // return SMS string username = System.Configuration.ConfigurationManager.AppSettings["username"].ToString(); string password = System.Configuration.ConfigurationManager.AppSettings["password"].ToString(); int source = int.Parse(Request.QueryString["msisdn"]); int dest = int.Parse(Request.QueryString["shortcode"]); string message_in = Request.QueryString["msg"]; } //singleton pattern internal static ConnectionFactory newinstance() { try { return new ConnectionFactory(ConfigurationManager.ConnectionStrings["myConString"].ConnectionString); } catch (Exception) { throw; } } private void modifyMessage() { char [] characters_to_removed_from_end = { ' ' }; String trimmedString = this.message_in.TrimEnd(characters_to_removed_from_end); trimmedString = Regex.Replace(trimmedString, @"s\+", ""); trimmedString = rearrangeMessage(trimmedString); } private string rearrangeMessage(string trimmedString) { throw new NotImplementedException(); } public string message_in { get; set; } public string rearrangeMessage { get; set; } private String rearrangeMessage(String modifiedMessage) { char[] characters_to_removed_from_end = { ' ' }; modifiedMessage = modifiedMessage.TrimEnd(characters_to_removed_from_end); modifiedMessage = Regex.Replace(modifiedMessage, @"\n", ""); modifiedMessage = Regex.Replace(modifiedMessage, @"\r", ""); //0d &amp; 0a not done } } } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload