I wouldn't try and work out why it doesn't work because you really shouldn't be working with the ID at all. You should leave that to the database to insert and create. Set it to identity and it should solve your problems
I remember having this problem but never found out how to solve it. I think there might be a problem with the conversion. What you could try is writing a very small app just to insert data into the database and see if it saves. If so then there is a problem with your other application.
hmmm I don't think you could make an older app (vs2003) work with a newer one. Why would the company do that? They want you to use 2005. Also you don't get the benefits of vs2005 if you're using 2003. I would suggest you upgrade because the 2005 IDE is just much nicer. Thats my 2cents
Guys,
I know it's not possible to perform multiple inheritance in .net put I have heard there is a way to fake it. Could anyone give me a simple example. Say for insatance we have these classes
person
student(inherits person)
employee(inherits person)
studentemployee(inherits student &...
Ok well you will want to do it in a meny option rather than have a button on the form. In the menu event you can try something like this
Form1.ActiveForm.BackGroundImage = YourImage
Ok I use a datareader to poulate ddl's
Dim cmdSelect As SqlCommand
Dim reader As SqlDataReader
Dim conn As SqlConnection = New SqlConnection("Data Source=.\SQLEXPRESS;AttachDbFilename=|" _
& "DataDirectory|\Procedures.mdf;Integrated Security=True;User Instance=True")
conn.Open()...
I don't think that is possible because the master page is the basis for the entire page. Why don't you want the master page to fire? You can have more than one masterpage and you can also embed one masterpage inside another.
When I did this a while ago I had to get the image into a byte array and then upload the byte array to the database. Can't find the code though sorry, but there is lots of code out there if you do a search on google
Ok guys I can do this now but only in C#. It seems that there are differences between VB and C# in .net 2
This is how I do it in C# for anyone that cares
privatevoid webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
this.webBrowser1.Document.Click +=...
Guys I have a webbrowser control on my form. It contains a webpage with some information on it. What I want to do is for example. Highlight a link then click a button and get information about that link. I can get information about the tags but I don't know how to find out what part of the page...
[RESOLVED] Making an IDE
Guys/girls does anybody know where to start if you were going to make an IDE. I want to try and make a HTML editor with the ability to drag parts from a menu, just like in Visual studio. Does anybody know where to start on this?
Thanks
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.