Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by dgerdner

  1. dgerdner

    6x4 Post Cards on a line printer

    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...
  2. dgerdner

    6x4 Post Cards on a line printer

    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...
  3. dgerdner

    6x4 Post Cards on a line printer

    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...
  4. dgerdner

    6x4 Post Cards on a line printer

    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...
  5. dgerdner

    Embed HTML in GridView data

    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...
  6. dgerdner

    How to access Clipboard in a web app

    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?
  7. dgerdner

    Composing a text with html

    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...
  8. dgerdner

    Get a gridview cell value by column name

    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.
  9. dgerdner

    Get a gridview cell value by column name

    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]...
  10. dgerdner

    Email link in a GridView

    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...
  11. dgerdner

    Newbie FormView question

    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...
  12. dgerdner

    Convert variable to a string of it's name

    >>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.
  13. dgerdner

    Convert variable to a string of it's name

    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...
  14. dgerdner

    Convert variable to a string of it's name

    Let's say I have: string FirstName = "JOHN" I'd like to set another string to the variable's name, "FirstName". Is there a c# method for this?
  15. dgerdner

    &quot;Bulk Insert&quot; cannot find my text file

    Okay.....so if I don't have access to the server, so I cannot copy my files there, do I have any way of importing them from my PC?

Part and Inventory Search

Back
Top