...OleDbConnection = New OleDbConnection(ConfigurationManager.ConnectionStrings("MyConnStr").ConnectionString)
Dim sql As String = "SELECT * FROM TableTest"
Using adapter As OleDbDataAdapter = New OleDbDataAdapter(sql, connection)
Dim ds As New DataSet()...
...OleDbConnection = New OleDbConnection(ConfigurationManager.ConnectionStrings("MyConnStr").ConnectionString)
Dim sql As String = "SELECT * FROM email_list"
Using adapter As OleDbDataAdapter = New OleDbDataAdapter(sql, connection)
Dim ds As New DataSet()...
...OleDbConnection = New OleDbConnection(ConfigurationManager.ConnectionStrings("MyConnStr").ConnectionString)
Dim sql As String = "select * from email_list"
Using adapter As OleDbDataAdapter = New OleDbDataAdapter(sql, connection)
Dim ds As New DataSet()...
Hi
I have a mail subscription script, and its working, like this.
<div class="block-content">
<div class="form-subscribe-header">Sign up for our newsletter</div>
<label for="newsletter">Sign Up for Our Newsletter:</label>
<div class="input-box">...
Hi JohnH
I have tryed to make a code on the codebehind for the default.aspx page, but i get an NullRef error
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Request.UrlReferrer.AbsolutePath = "/default.aspx" Then...
just some info.
If i have a link to "Butikken" then it works, it show www.mydomain.dk/Butikken (Real link www.mydomain.dk/default.aspx)
But first time loading the page as www.mydomain.dk then it show www.mydomain.dk/default.aspx and then my websitemap menu is not working, its not showing...
Hi
Im looking on some routes.MapPageRoutes but i cant get it to work.
I have these link
ROOT
default..aspx
brands.aspx
service.aspx
contact.aspx
aboutus.aspx
shopping.aspx
ALL these pages is running with a masterpage
eb.master (also in the root)
And then i have the global file that have the...
THX bc u are so hard that u DONT write a 100% solution, i ended up with this code, and that work THX.
Protected Sub navcontainer_MenuItemDataBound(sender As Object, e As System.Web.UI.WebControls.MenuEventArgs) Handles navcontainer.MenuItemDataBound
Dim map = CType(e.Item.DataItem...
Hi John
i have made this and its working, but its a long code, can i write the code so its not so long, but do the same thing !?
Protected Sub navcontainer_MenuItemDataBound(sender As Object, e As System.Web.UI.WebControls.MenuEventArgs) Handles navcontainer.MenuItemDataBound
Dim...
Ok but where do i do that (with the IF) and is it the title="page 3" from the sitemap im looking at from the sitemap
And is it
If Eval("Text") = "page 1" Then
style.Width = Unit.Pixel(234)
ElseIf Eval("Text") = "page 2" Then
style.Width = Unit.Pixel(100)
and so on, Or ...
Hi John
Hope its k to ask, if i have 5 images thats have the same height, how can i then changes the width !?
lets say c1 (imgLink, imgHover and imgActiv) have one width and c2 another and c3 another again and so on
but the images have the same width inside every single c number group.
How can...
...'find all files that start with our user input files = dir.GetFiles(Me.TextBox1.Text.Trim & "*") 'bind to screen Me.Repeater1.DataSource = files Me.Repeater1.DataBind() End Sub End Class
But if i use this code in the same root and for the same "upload"...
...Then
Dim dirInfo As New DirectoryInfo(Server.MapPath("~/Upload/"))
articleList.DataSource = dirInfo.GetFiles("*.*")
articleList.DataBind()
End If
End Sub
Sub articleList_ItemDataBound(sender As Object, e As DataGridItemEventArgs)
'...
Hi
I have a site with a lot of CSS code in the css file, i know thats there is alot thats not in use.
How can i easilly see what CSS code that in use and what isent !?
Is there a program that can scanne the site and then show what CSS code thats no ref to !?
if i normally use this as nav from the css
#nav a { display: block; width: auto; text-indent: -9999px; height: 21px; background: url('nav.png') no-repeat scroll 0pt 0pt transparent; } #nav a#home { width: 61px; } #nav a#home:hover { background-position: 0pt -21px; }
#nav a#home:active {...
Hi
JohnH
Its works perfect now, thx. about the
I know but in this post and my post before this the add code #, is not showed. there is missing some icons in the Quick Reply menu.
But THX alot, i will play a little with the code, and then make the code i need.
one last question, in this ex. i...
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.