Added;
<textarea id="txtBody1" rows="15" wrap="soft" cols="50" runat="server" tabindex="2" textMode="multiline"></textarea>
I typed in;
tres
return
then submitted to me in an email and got;
tres return
There needs to be a return at return. I'm willing to try anything at this point.
More information, using c# and mailing the information in the textarea. After receiving the text there is no carriage return which is evident before mailing.
I've tried setting wrap to hard and soft but can not get a physical wrap. I tried setting to physical from MS help with no change. Anyway to wrap the text in a textarea?
<textarea id="txtBody1" rows="15" wrap="hard" cols="50" runat="server" tabindex="2">
Trying to use multiple domains with one host. Some of the domains on are with different registras. I wish a domain came with one page service. Hosts want to charge for all the little things like subdomains, changing pointers to domains. I'm wanting to have more control of my domains by writing...
Any way I can mask my URL using c#?
Example:
my real URL is www.abc.com/mask/this.aspx
when the user clicks on the link the URL in the address textbox would change to www.123.com.
Yes, my head always hurts when I work with this code. I tried removing the .ToString which lead to another error. I wasn't sure if that was what you were referring to.
Compiler Error Message: CS0023: Operator '!' cannot be applied to operand of type 'object'
Source Error:
Line 172...
I tried your example and got an error as listed below;
Operator '!' cannot be applied to operand of type 'string'
Source Error:
Line 172: while (drMembers.Read()) {
Line 173: string sTo;
Line 174: if(!drMembers.Equals(DBNull.Value) && !drMembers["email1"].ToString() == string.empty){
Line...
The access database has 3 cells on each line and some are empty. When a empty cell is read I get an error. How could I step over an empty cell and so not to create an error?
strSQL="Select email1, email2, email3 from members where membertype=Officers";
try {
OleDbCommand cmd = new...
The code below catches errors due to the 3rd record in the database being empty. I know this is too simple but its getting the best of me.
while (drMembers.Read()) {
MyMail.To = drMembers.GetString(0);
if (MyMail.To != "") SmtpMail.Send(MyMail);
MyMail.To = drMembers.GetString(1);
if...
Fname1 works fine and the link works fine but having problems updating. How can I pass the ID to the query when using a link?
<Columns>
<asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Save " CancelText="Cancel" EditText="Edit&nbsp"></asp:EditCommandColumn>...
Found the bug...A submit button was placed at the bottom of the form as listed below. After changing it to a LinkButton my lnkMembers link started working...
<asp:TableRow>
<asp:TableCell>
<asp:LinkButton ID="submit" OnClick="SubmitMember"
Text="Submit"...
I changed the page load as listed below but still stuck in the form and can't activate the lnkMembers to move to the datagrid. GRRRRRRR...
void Page_Load(Object sender, EventArgs e)
{
if (! IsPostBack) {
bindDataGrid();
InsertForm.Visible=false...
More on this problem. If I click on submit in the form and post the textbox values, not leaving the form, the lnkMembers becomes active and works. This is strange. lnkMembers did not work prior to clicking submit.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.