I've pretty much figured it out.
First, yes, with any old-fashion tool (Cobol, etc) this was very easy. Also, I can create an HTML file with Linefeeds embedded and make it work.
The problem is simply that Crystal will always want to pick one of the pre-defined paper sizes for the printer.
So...
Crystal 2008. It will let me choose "portrait", naturally. But if I proceed to define a page size in which the width is greater than the height, it immeidately changes it to "landscape."
btw, I did start by going through the wizard, and selected the Avery 5839 because I saw that it was 6x4...
I've tried that, but it's not working. As I said, I cannot put in the combination of "Portrait", 6" wide, 4" high. Crystal flat won't let you define "Portrait" if the width is more than the height.
So I have tried defining the form as 6" by 12"; with 3 per form. But when you print the system...
I need to print 6" wide by 4" high post cards on a tractor fed matrix printer.
I would think through Page Setup I could define this as a User Defined size, but when I define the height and width Crystal switches from Portrait to Landscape - which is not at all what I want - and I cannot...
I have a gridview with a sql datasource. In one of the columns I would like to have the data include html tags. However, when the data is shown in the gridview the html tags are either ignored or cause formatting problems.
For instance, if I have the following data:
line1<br>line2<br>
it...
I've found some javascript that will display the clipboard contents, but I need a way to pass the clipboard to a string that my client code can access. Any ideas?
I have a textbox on a webform in which the user can compose an email message. However, when I set my email's text attribute to textbox1.Text and send the email, it arrives without the carriage returns, linefeeds, or embedded HTML codes (such as links, etc).
Is there a control I can use other...
It looks as if you're referring to code in one of the events is that what the "e" variable means?
I'm really looking to do something like this:
sring strFirstName = Grid1.Rows[3].Cells["FirstName"]
where I find a column by it's column name rather than it's Cell index.
I have a gridview bound to a sqldatasource. The gridview has several columns corresondence to the database column names. However, the only way I've found to grab the value from one of those columns is by knowing the cell index:
GridViewRow gRow = GridView1.Rows[iRow]...
I'm binding a sqldatasource to a gridview on a webpage. One of the column's is named contact_email.
I'd like to display that column's value with a hyperlink that will automatically open the client's email program, using the value in contact_email as the default "TO:" address.
Everything I've...
I have a FormView with a Database Datasource with three columns:
col_a
col_b
col_c
After the user presses the "New" button the ItemInsert template appears, with all columns blanked out. I would then like to plug in a default value (let's say "X") to col_a. I cannot figure out how to...
>>Also, if you need the variable's name to be a string somewhere else, you could also use reflection. <<
Somebody else mentioned this, but I have only used reflection once before and don't know where to look for this particular item.
Well, ultimately what I'd like to accomplish is to avoid using the variable name in quotes. As some background, I find myself having to bind a lot of variables to textboxes on my forms, so I keep repeating code such as:
txtBox1.DataBindings.Add("Text", myTable, "MyColumn");
The problem here...
have a database on a network server, and I wish to import text files into that server. My command (in SQL Server Management Studio Express) is as follows:
bulk insert dba.r_attorney_fees from "c:\abc.txt" WITH (FIELDTERMINATOR = '","')
I receive the error message:
Msg 4860, Level 16, State...
If I am in Edit mode, I am able to access my textboxes in the Edit Template using code such as this:
FormViewRow FVrow = FormView1.Row;
DropDownList dd;
dd = (DropDownList)FormView1.FindControl("ddActive_Flg");
dd.SelectedValue = "Y";
However, if I try this after setting the FormView to Insert...
I have a FormView bound to a SQLDatasource. I haved used the "EditInsertTemplate" to arrange all of the database columns that are then bound to Text Box controls. An example of a control (automatically generated) is contact_cityTextBox.
My question is, how can I programmatically access this...
Thanks for the article, Chip. The only part with which I'm having problems (but it's an important part) is the connection string.
When I try using async=true (I also tried async=1 based on old PowerBuilder apps I have written) it throws an exception, telling me that async is not a valid...
Perhaps I've worded this poorly.
I want to make an asyncronous connection to an Oracle Database; so that, for instance, long select statements can be cancelled from the front end.
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.