Search results for query: *

  1. D

    Problem Updating Table

    I have a VB.Net application that handles personnel records. A datagrid of employees matching a certain criteria are presented, with a link included in that datagrid. Clicking on the link redirects to another page with detailed info on that employee, all in textboxes and dropdownlists. The...
  2. D

    Cast from type 'DBNull' to type 'String' is not valid

    That did the trick. In fact, I didn't even have to do a test anymore. Just used that syntax to do the assignment, and voila...! Thanks so much for your assistance! dotnetnubie
  3. D

    Cast from type 'DBNull' to type 'String' is not valid

    Thanks to all that have replied thus far. 1. The editor tells me that I must use the "is" operator and not the "=" operator when I do a comparision with String and DBNull. I can't even compile with the "=" operator in place 2. The exact error I receive on when the statement is...
  4. D

    Cast from type 'DBNull' to type 'String' is not valid

    Hello all. I am experiencing problems with DbNull values being returned from a data request. In fact, I can't seem to even test for the problem without errors. The process starts with a parent form displaying a datagrid of selections. Clicking a link on that page invokes the child form, sending...
  5. D

    Database Fields On Form

    I am building an application that managages personnel records. A list of personnel are listed in a datagrid, and a hyperlink for each record is listed as one of the datagrid values. I want the use to be able to click on the hyperlink and be directed to a detial page with complete information...
  6. D

    Datagrid Not Displaying

    I reviewed my code, and compared them with the example provided. After playing with it for awhile, was FINALLY able get it to work. The main problem was that I was omitting the datagrid.databind() statement. That did the trick! It would have taken me a long time to figure out that by myself...
  7. D

    Datagrid Not Displaying

    Apologies for the abundance of code - I just didn't want to leave out something important :) I will incorporate the recommeded changes this afternoon, and will post the results. Thank you very kindly again!!! dotnetnubie
  8. D

    Datagrid Not Displaying

    Thank you for the reply, Levy. The code for the form follows, and thank you again for your time and effort. dotnetnubie. Public Class WebForm1 Inherits System.Web.UI.Page Protected WithEvents Label1 As System.Web.UI.WebControls.Label Protected WithEvents DropDownList1 As...
  9. D

    Datagrid Not Displaying

    Hello. I am new to VB.Net, and am working on my first ASP.Net project. To get started, I've built a simple database in SQL 2000, and have established a connection in Visual Studio. Then, I created a new ASP.Net Web Application. I then added an SqlDataAdapter to the form, and setup the...
Back
Top