I have a datagrid in ASP.NET using VB.NET code which, when loaded it takes a parameter from the URL called DexNumb. When this parameter is brought it, it highlights the entire row Red and makes it bold but if the datagrid is long and some elements can only be viewed by scrolling down, it will...
I am transferring a Database from SQL Server 2005 to a client laptop with SQL Server 2005 express. Session States are a large part of the program. If I am using a database called upsizedCandidate on the local server of the laptop called LT091, how can I enable the session state on the local machine?
Hi guys,
Thanks for the responses. My code is as follows:
Imports System
Imports System.Data
Imports System.Data.SqlClient
Imports System.Configuration
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports...
I changed the code a little bit, I placed everything inside the code behind the webform so everything is being called from the same place and I'm no longer getting an error but the XML is not being called. Here is the code behind:
Imports System
Imports System.Data
Imports System.Data.SqlClient...
Hi,
Thanks for the info, I'm still trying to learn ASP.NET. I thought I was getting the hang of it until now. I did what you said and I 'm getting the following error:
Compiler Error Message: ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute...
Hi Jason,
ok, this is what I have so far:
Dim docXMLFile as New XMLDocument
docXMLFile.Load("myfileName.xml")
ListDictionary data = new ListDictionary
Dim myXML as String
For Each (XMLNode node in docXMLFile.SelectNodes("//PrimarySidehead))...
Thanks for the RE:, lots of good info. My problem is that I need to place multiple xml documents into SQL Server and then have them returned in ASP.NET. I have all the details (connection strings, params, etc) figured out but I'm not sure what system.xml class to use. Also, do you know a good...
Here is a small example of my xml file:
<SectionHeadingbegin wp:type="para"
wp:id="1002379"
wp:style="display: block; color: #000000; font-style: normal; font-weight: bold; margin-bottom: 14pt; margin-left: 0pt; margin-right: 0pt...
I'm trying to divide up groups in a XML file by group and place them into SQL Server with each group being in a separate row of a SQL Server table. What I mean by group is that each dataset begins and ends with the same tag and including all the information inside that group. My main problem...
I have SGML files that I saved in notepad as .aspx. The files come in ok but the formatting is off somewhat. I have a personal dtd I created a while ago. Does anyone hvae any idea for a solution to my problem. Any suggestions are more than welcome. Just not sure where to start.
I've even cleared out my folder on the server in case an different css or xsl file was controlling my file but nothing worked. Could it be that there is a library in Visual Studio.Net that would control how it is displayed? I ask this because when I access the file on my machine or on the server...
The way I want it to display is to give the site map on the top left hand side, with colors. When I bring it up right now the site menu is at the bottom and there are not any colors or boxes around the site names like there should be. Does that help any?
When I'm in Visual Studio and right click on my code and click "view in browser" then it displays just the way I want it to but when I place it in a folder on the remote server and type the address in the explorer bar (eg: http://sqlserver:8099/Default.aspx) the page comes up but the format is...
Ok, now I have the button working somewhat but after I add a new field to the columns and click "save" then it updates the table so that every textbox has the newly entered data in it. How can I help this?
I have been trying to look for a tutorial for this subject but it seems there isn't one. When I use the "insert" statement (which is commented out in the following code) then it updates the changed text boxes but it adds the entire table back onto itself. When I use the "update" statement then...
It worked with my original solution! Only problem is that it inserts the entire table at the end of the real table along with the one undated cell :-) Any thoughts on how I can only update the "dirty" cells of just re-create the table that is currently on the screen? I'm not really sure if I'm...
Sorry, this is what I get when I actually enter data into the fields:
declare @P1 nvarchar(25)
set @P1=NULL
declare @P2 nvarchar(25)
set @P2=NULL
declare @P3 nvarchar(20)
set @P3=NULL
declare @P4 nvarchar(2)
set @P4=NULL
declare @P5 nvarchar(20)
set @P5=NULL
declare @P6 nvarchar(10)
set...
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.