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 Mike Lewis 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. dstrange

    Open file from database listed in a Repeater

    Thanks jmeckley. I figured out a similar response but your reply sums up what I wanted to do.
  2. dstrange

    Open file from database listed in a Repeater

    Hello, I have a nested repeater that displays the title of saved documents from a database. How can I make the Linkbutton for each listed file title a hyperlink to open/save/cancel the file from the database? <asp:Repeater ID="repMenu1" runat="server"> <HeaderTemplate>...
  3. dstrange

    Gridview to populate off of calendar.selecteddate

    Spoke too soon. I updated my where clause. SelectCommand="SELECT * FROM [tblTest] WHERE(CONVERT(VARCHAR(10),reportDate,101) = @ReportDate) ORDER BY [ReportDate]"
  4. dstrange

    Gridview to populate off of calendar.selecteddate

    Hi, I'm trying to bind a calendar control's selected date to populate a gridview. I'm wondering if it has to do with date formatting? SelectCommand="SELECT * FROM [tblTest] WHERE ([ReportDate] = @ReportDate) ORDER BY [ReportDate]" <SelectParameters> <asp:ControlParameter...
  5. dstrange

    MaintainScrollPositionOnPostback

    I went the cheap way and just used a named anchor. Thanks for all the help guys. <a href="#namedanchor"></a>
  6. dstrange

    MaintainScrollPositionOnPostback

    This works great when a page hits a postback but is there a way for this option to work if I click a link on the page that reposts to the same url but with a querystring attached? Thanks in advance.
  7. dstrange

    MaintainScrollPositionOnPostback

    This works great when a page hits a postback but is there a way for this option to work if I click a link on the page that reposts to the same url but with a querystring attached? Thanks in advance.
  8. dstrange

    Remove all html tags within a string

    hmmm you're right. Oh well I'm just riding the clock here at work.... Have a great weekend!
  9. dstrange

    Remove all html tags within a string

    Just leaving a note of what worked for me in case anyone else has a similar situation: Dim strText As String strText = System.Text.RegularExpressions.Regex.Replace(strText, "<(/?[^\>]+)>", "") strText = strText.Replace("<", "")
  10. dstrange

    Remove all html tags within a string

    Does anyone have a vb function that will remove all html tages within a large string of data? I've tried some of the functions below but to no avail yet. Any help would be appreciated. Function RemoveHTML(ByVal strText As String) As String strText =...
  11. dstrange

    Sitemap with querystring

    Hi All, Currently I have a page titled test.aspx. Here's the sitemap info: <siteMapNode url="~/default.aspx" title="Home" > <siteMapNode url="~/test.aspx" title="test" > <siteMapNode url="~/test.aspx?archive=y" title="test archive" /> <siteMapNode...
  12. dstrange

    Get value of each selected row in DataGridView

    Nevermind. Here's the solution Dim dgvRow As DataGridViewRow For Each dgvRow In DataGridView2.SelectedRows msgbox (dgvRow.Cells(0).Value) Next
  13. dstrange

    Get value of each selected row in DataGridView

    Hi all, I have a datagridview with multiselect on. How can I check all the rows and just return the 1 cells value for each selected row from a button click event? Thanks in advance
  14. dstrange

    FilterExpression by year of date

    I'm trying but still having no luck.... Dim january_1st As New DateTime(rsNews.Item("yearDate"), 1, 1) Dim december_31st As New DateTime(rsNews.Item("yearDate"), 12, 31) Dim filterstr As String = String.Format("postdate >= #{0}# and postdate <= #{1}#", january_1st.ToString...
  15. dstrange

    FilterExpression by year of date

    Can I use the function year to extract the year on a date in the filterexpression? I get the error below when I try this filterexpression: datasource.FilterExpression = "year[datefield] = '2007'" "The expression contains undefined function call year(). "
  16. dstrange

    FilterExpression by year of date

    Hello All, In code I'm trying to use a filterexpression on a datetime field only by the year. ex. datasource.FilterExpression = "year[postDate] = '2007'" In sql I can use: select * from tblTable where year(datefield) = '2007' and it works. Any ideas? Thanks in advance.
  17. dstrange

    Binding DetailsView from Gridview selection other than selectedvalue.

    Is this possible? I'd like to have my DetailsView based off of the selection of the Gridview from the value in the 3rd column. I'm used to doing this based off of the gridview.selectedvalue but I am not sure how to do it based of off another gridview column. Thanks in advance.
  18. dstrange

    Populate formview off of another formview

    Hello, I'm a asp.net newbie so be patient. I have 2 formviews that load at the same time. formview1 comes from tableA and formview2 comes from table2. They both share a common field. What I would like is for formview2 to load based off a value that is loaded in formview1. I know it involves...
  19. dstrange

    Views have changed to Tables? How can this happen?

    Through MySQL query browser and MySql Administrator they are displaying as tables.
  20. dstrange

    Views have changed to Tables? How can this happen?

    Received some errors from a client regarding some reports from a VB app that reads data from MySQL views and generates crystal reports. After receiving a backup I noticed that a lot of the views are now listed as Tables in the schema. Has anyone ever experienced this? Is there anything to look...

Part and Inventory Search

Back
Top