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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. bassguy

    Text field manipulation - help

    due to the size I would agree then with the sql sista bassguy
  2. bassguy

    Cannot get rid of parent in grid

    Sorry for the lack of responses. I was changing jobs and away from the forum for a bit. Data adapters do scream of Drag and drop. Also they are designed to handle all of your crud aperations with one object. They do work. They are heavy. As for what to transfer your dat around with, The...
  3. bassguy

    Text field manipulation - help

    Hi, If you are saying that some <br> tags are good (middle of the code) and others are not (end of the code) Then your only real method is to use some sort of brute force kludge to read from the bottom to the top removing (ignoring) the </html> and <body. then run an Rtrim then test the last...
  4. bassguy

    String Replace with HTML

    yes you could, but I would suggest looking for some open source forum software and save yourself the effort. not sure if dotnetnuke (www.dotnetnuke.com) has forums but the software is pretty cool adn it is free bassguy
  5. bassguy

    Creating ASP.NET/HTML pages 100% programmatically

    hi, In the old days there was a technique that used Code to write the html then the javascript document.write was used to create the page. this is kinda what you are talking about. the drawbacks to what you are suggesting is the CPU usage to create the page over and over. That is why we...
  6. bassguy

    C# beginner. Really basic webapplication question

    As you are a newb, you will have to think of things in an entirely new way for web. Web is by design stateless. This is done because a web server Cannot be responsible for remembering everyone that accesses a page indefinately. What your seeing is your page, when posted back, is a brand...
  7. bassguy

    Exporting Datagrid to Excel Spreadsheet

    oh, I am sorry, i did not realize your were going to try and run it. Translate is my own method to get stuff from the resource manager and the CommonText is just an alias to my constants class for my strings here is a more generic version: protected override void Render(HtmlTextWriter...
  8. bassguy

    Exporting Datagrid to Excel Spreadsheet

    I am doing the same thing except I build a table instead of the datagrid. seems to work for me. Here is relevant the code protected override void Render(HtmlTextWriter writer) { Response.ContentType="application/vnd.ms-excel"; Table _table = new Table(); DataTable _data=Data...
  9. bassguy

    Cannot get rid of parent in grid

    be aware that most "Real Coders" would never use the Data Adapter that MS provides as it is too heavy for most usage. As a matter of fact, when hiring people if they use Data adapters I eliminate them from my list. just thought you might want to know bassguy
  10. bassguy

    Displaying Foreach Results in DataGrid

    hi, your wokring very hard to do a simple thing, you have a few options here read up on Dataview and DataTable.select hth Bassguy
  11. bassguy

    what is the best UI tool with ASP.NET today?

    If you are a graphix guy, leave the programming to programmers, If your a programmer leave pretty to the Graphics guys. I used to think I was O.K. with flash and Photoshop etc. then my company hired a graphics boy, I was embarrassed. I only use those for mock ups n stuff now. not that I...
  12. bassguy

    Adding an icon to datagrid header cell at runtime

    Add the image tag to your header cell but leave the src empty. then when you perform the sort, find the image in the image control and change the src = your up or down gif. hth bassguy
  13. bassguy

    Connecting to SQL Server DB and .NET framework v2

    Check your web.config to make sure they are the same, also are you using application blocks? could you post some of your Data aCCESS CODE? bassguy
  14. bassguy

    Picture Resizing through ASPX

    just a few thaughts, 1. If you are not really resizing the pictures but just resizing the <img> tag, you will get lousy pics. 2. you can resize image objects with .net (I suspect you have not investigated this.) read the image into a system.drawing object and then go from there. hth some...
  15. bassguy

    Odd Names

    I have another odd name for you. My Name is Tal McMahon I am american and my family has been for generations. Story goes my parents liked the name "Talbot" but had the forsight to see that "tal-Butt" would be a difficult 3rd grade. For this I thank them. Also i get 5 minutes of small talk...
  16. bassguy

    Replacing apostrophes in an SQL statement

    Hi double tick inside of the string will act as one tick. also I replace the tick with and "accute Accent" alt-0180 declare @string varchar(50) set @string = 'tal''s pizza' Print 'original:' + @string set @string =replace(@string,'''','´') Print 'replaced:' + @string hth Tal McMahon
  17. bassguy

    upload text file from one server to another server

    i think the Iframe is a bit kludgy but would work. another idea would be a web service on server 2 and pass the text to a webmethod that writes the file just a thought
  18. bassguy

    Creating a class with an enum as a property?

    Just another thing to consider, I am purely cautionary here but are you intending to then have a Switch statement to determine what to do with each enum? If so, an enum is not really what you want. if you are using it like the example above with Color, all is cool. if you are using the enum...
  19. bassguy

    generic n-tier question re sql strings

    As I see it you are fighting one of the Classic battles, How do I make OO and N-tier interact with relational data. In general, If you add layers, then the application is more scalable and easily changed at a later date. The Contrapositive of this is also true, If I do not need to...
  20. bassguy

    How Do I Explain This One?

    I would second that arguement, Interview the company your going to....They need you, you have a gig. I was blatantly misslead at my current position. It took me a couple of months to realize that. I am not hurrying to leave even though I know I will be. I am being honest and upfront in my...

Part and Inventory Search

Back
Top