Asp.net-Database Insert problem

Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: Apr 2004
Posts: 127
Reputation: johnroach1985 is an unknown quantity at this point 
Solved Threads: 0
johnroach1985's Avatar
johnroach1985 johnroach1985 is offline Offline
Junior Poster

Asp.net-Database Insert problem

 
0
  #1
May 15th, 2007
Hello. I am currently working on a simple blog-like site. That works with asp.net and access. However now I am just stuck and seem to not be able to get out of where I am stuck. The problem is from the admin panel if I am trying to create new user. It gives a "primary key or index cannot be null" error. However I didn't give anything null... I uploaded the example. Once it is finish I am thinking of posting it here. Thanks in advance!! (I am currently using .net 2005)
Attached Files
File Type: zip 2007-StorySite.zip (134.7 KB, 10 views)
"By the data to date, there is only one animal in the Galaxy dangerous to man—man himself. So he must supply his own indispensable competition. He has no enemy to help him."
From Time Enough for Love by Robert A. Heinlein
Reply With Quote Quick reply to this message  
Join Date: Apr 2004
Posts: 127
Reputation: johnroach1985 is an unknown quantity at this point 
Solved Threads: 0
johnroach1985's Avatar
johnroach1985 johnroach1985 is offline Offline
Junior Poster

Re: Asp.net-Database Insert problem

 
0
  #2
May 16th, 2007
Ok. I seem to have solved the problem. It seems I have forgotten to bind News header in adminn.aspx to the table.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC