This isn't a code question for once, but it definitely has me confused.

Basically, my lecturer has told me that we have a project due next semester that involves us to use Java and SQL intertwined with each other.

I had no idea the combining of languages was even possible!

So my mind's really blown.

I've been searching around looking for examples of such code but no luck. So I thought I'd ask you guys.

I think the most logical thing to do since I have no experience with combining would be too create tables in SQL due too its use in databases and call them through Java.

Can anyone explain to me how this is possible or just the jist of how languages combine.


Question: To access button from another class which is in another page
Answer: Try to debug to see if your button has been initialized the time you access it, and i think it is not. This is probably your are using this button before the form or the page has been loaded. Since instantiating the button will happen in the initialization portion of your code.

Try to initialize you class in

protected void Page_Load(object sender, EventArgs e)
{
   dim obj = new Myclass();
}


and inside the New function in 'MyClass' class make sure your are initializing all the stuff you want to use.