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>...
Spoke too soon.
I updated my where clause.
SelectCommand="SELECT * FROM [tblTest] WHERE(CONVERT(VARCHAR(10),reportDate,101)
= @ReportDate) ORDER BY [ReportDate]"
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...
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.
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.
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("<", "")
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 =...
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...
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
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...
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(). "
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.
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.
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...
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...
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.