I have managed to code my website to display its HTML source or store it to a variable code on the fly. This version of the web page requires to be sent to an email recipient. Because the page has a couple of images it'd make the email bulky if I sent all the attachments neither will referencing...
Im having some trouble using the SQL Like command with multiple conditions
where as the first line of code works with one condition the second one doesnt even thought it doesnt return any errors
Dim da As OleDbDataAdapter = New OleDbDataAdapter("SELECT * FROM chdetails WHERE chname LIKE '%" &...
sConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & _
Server.MapPath("db2.mdb")
My connection string looks as above.
i have uploaded the site to the web server in a folder called Register. Register is in the root folder. However there is a folder called Search in which some aspx...
I am trying to make an asp.net webpage that does exactly the same thing as my application. This application searches a database for all names beginnig with the letter T and populated a gridview. on trying to use the same code in asp it wont work. could i please have some help in converting it...
Im am getting the error above Value of type 'String' cannot be converted to 'System.Data.SqlClient.SqlConnection' when I try to execute the code to populate a GridView on the website with the query shown below. Any ideas why ?
Imports System.Data
Imports System.Data.SqlClient
Partial Class...
Looking at my post you will see I am a newbie to Visual Studio 2005, I was just playing around with data access and a little project came to mind
I have on my website
GridView1, txtName and btnSearch on the web page
I have a Microsoft Access Database called runnersdb it has a table called...
I am looking for sample code for the SQL LIKE commanf in VB.Net or ASP.net. I have an access database with user information and I want a piece of code that searches the db for a name the populates a datagrid/listbox/gridview. The command to search is easy enough I just havent found the code to...
Hie guys im new to VB.NET (ADODB.Net), i used to program in VB6 and things have changed with Adapters and Readers etc. I need help with updating, searching and inserting records in an access database. i.e. from the connection string to closing the connection.
Situation; 2 labels on a form 3...
hie guys, im having trouble with updating an access database. Here is my code below. userAns and QuesNo are fields in the database and userAns and ques are variables that I have declared and will get values from textboxes etc. For some reason the details are not being updated into the database...
hie guys, im having trouble with updating an access database. Here is my code below. userAns and QuesNo are fields in the database and userAns and ques are variables that I have declared and will get values from textboxes etc. For some reason the details are not being updated into the database...
hie guys, I have a countdown for my webpage and the code is as below. However I wld like to change the event date every now and then but I wouldnt want to open and edit the file all the time. Is there any way to change the value of say Mar 6 2007 09:00:00 to Mar 6 2007 10:00:00 on the fly or...
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.