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. tembalena

    DataGrid PagerStyle

    Brilliant, thanks so much.
  2. tembalena

    DataGrid PagerStyle

    ca8msm - can you give an example? Thanks.
  3. tembalena

    Programmatically insert header in IIS

    I would like to know how to programmatically (c# or vb.net) insert a header in IIS. Users of my site must be able to choose a domain eg. usersite.mysite.com and this must be added to the header file. Any ideas would be greatly appreciated. Thanks.
  4. tembalena

    Upload files (not images) to sql database

    Sorry, I didn't make myself clear enough, I've sorted the issue of uploading the file, I'm now saving it as binary in an image field in my sql2k table. However, when I try to download it to the client (browser), having set the content-type and content-length, and using binarywrite(), I always...
  5. tembalena

    Upload files (not images) to sql database

    Hi, can someone show me how to upload a file (not image) to a sql2000 database, preferrably into an ntext or text field, and then how to display that file to the client browser without getting a popup message asking the user if they want to open or save the file. Thanks so much.
  6. tembalena

    Authentication across sites

    I have 2 applications, and would like users to be authenticated in the one if logged in to the other. I've set both apps web.config settings for authentication and machinekey to be identical, and as far as I've read, that's all that's needed, however it's not working, I'm still being asked to...
  7. tembalena

    DataGrid PagerStyle

    Hi, does anyone know how to set a text label for a datagrid pagerstyle, eg. I have the following outputted for numeric paging: 1 2 3 4 and I want the following 'Page:' label before the page values: Page: 1 2 3 4 Thanks for any help.
  8. tembalena

    connection pooling

    I've built a .NET application in which I ensure that every connection to the dbase is closed immediately after use. While running the app, the connections in the dbase increase continually until all the pooled connections are used. I then get timeout errors from the app as follows: Error...
  9. tembalena

    Download files - how to check date created

    BTW, this is like a news feed, and it's a file either on an ftp server or normal web server. If anyone's got any examples on checking a file's datestamp on an ftp/web server, that'd be great. Thanks.
  10. tembalena

    Download files - how to check date created

    I'm needing to download an xml file (sometimes with .asp extension) but only if it's been updated since the last download. How do I check the file's lastwritetime or creationtime like one can do with a local file?
  11. tembalena

    parent:child windows and state

    I've got a parent window that has a few texboxes and a dropdownlist. The user inputs text in the textboxes and then clicks a button to add a new item to the already populated dropdownlist. Clicking on the button pops up a child window. Here the user adds a new item to the database. And this is...
  12. tembalena

    Rendering controls

    Well, finally it's sorted. I had to create the dynamic controls in the Page_Init(). And it's working!
  13. tembalena

    Rendering controls

    I've just tried to dynamically create a table per record (instead of a user control which holds the table), but the same happens when I click a button, the entire table disappears even though I've got enableviewstate enabled on the table. Help! What should I do now?
  14. tembalena

    Rendering controls

    I have one button. A user control is loaded per record, it holds pricing details for a part and there could be a few different pricing formulas for one part, therefore a few usercontrols for one part. The user changes the data in the textboxes of the user controls and clicks the one button to...
  15. tembalena

    Rendering controls

    Yes please, more help if you can... What I'm doing loop through records and create a usercontrol per loop. The usercontrol is a table containing textboxes and labels. The textbox values (usercontrol properties) will be changed by the user, after which they click a button. I need to update those...
  16. tembalena

    Rendering controls

    I've finally figured the previous question out, but if you could help me with the following: I've the following code that dynamically creates controls per record found (while sreader.read). Now that I've got my controls on the page, I'm struggling to access their properties. Any ideas? Dim...
  17. tembalena

    Rendering controls

    Hi, me again. I've got a web usercontrol and wish to use it a few times on a page. I realise I can't drag it onto my page and use: Protected WithEvents myControl as MyUserControl because I need it to be named differently for each instance of it, right? So how would I create/access this...
  18. tembalena

    Rendering controls

    I really appreciate the time you take to explain things to the simpleton like me. Thanks, it does make sense, clears it up, and willdefinitely help in what I'm trying to do. I'm sure I'll be back with more though, so until then, again, thank you.
  19. tembalena

    Rendering controls

    Thanks so much Mark, that's exactly what I was trying to do. I do find it tough to get my head around the object oriented way of thinking. If you would let me know how to access the control's value from the cell, as I'm going to have many of the same controls repeated in different tables and...
  20. tembalena

    Rendering controls

    I'm creating an html table using stringbuilder eg. Dim sTable as New StringBuilder sTable.Append(&quot;<table><tr><td>&quot;) sTable.Append(&quot;</td></tr></table>&quot;) I need to put an <asp:textbox></asp:textbox> control in this table's cell. How do I do this? The reason why I'm using...

Part and Inventory Search

Back
Top