object has a memory allocated to it during its creation using the syntax
classname var=new classname();
But for instance creation it returns only a pointer refering to an object,syntax is
...
Type: Posts; User: Kiran123
object has a memory allocated to it during its creation using the syntax
classname var=new classname();
But for instance creation it returns only a pointer refering to an object,syntax is
...
Creating a Master/Detail Form Using Two Windows Forms DataGridView Controls
I hope this will help you!
by usemenomonic=true
In this first instalment of a four-part series of articles on programmatically transferring data to and from the Windows Clipboard, I'll explain the basic steps of using the Clipboard using the...
Do while .. first does some code and then checks for a condition.
do-while is a exit controlled loop.
and
While first validates the condition before processing any code in the loop.
while is an...
The program compiles properly but at runtime it will give "Main method not public." message.
On occasion, it may be necessary to end a program (or section of a program) earlier than its normal termination. Below are examples of methods of interrupting or terminating programs or loops.
1....
Hello!
I was coding for the chess program in C++ & i got an error because i was calling both of my classes in each other ie. Class Chess.h was calling the class Board.h & vice-versa.
Now the...
Yes off course you can do the same!
Add it to the startup folder: C:\WINDOWS\Start Menu\Programs\StartUp
1.) Asp.Net is a web programming paradaign (you can code Asp.Net in C#, VB or any other .Net language).
2.) Any .Net language has built in support for SQL Server, Oracle and anything you can get an...
I am just curious to know which File transfer program (FTP) You guys prefer to use for your websites?
I think for me Cuteftp is good!
What you guys have to say about this?
I have this code please have a look
I hope this helps!
Private Sub frmMain_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
LoadDb()
End Sub
If you want controls on your form to resize along with the form you'll need to add some code to accomplish this in the Form_Resize event. In your case you could determine the size of the textboxes in...
In the form's 'Closing' event handler, set 'e.Cancel = True' to stop
closing the form.
You could look at this video on using the Ajax slideshow control: for ASP.NET
http://www.asp.net/Learn/ajax-videos/video-163.aspx
Every C program has a primary (main) function that must be named main. If your code adheres to the Unicode programming model, you can use the wide-character version of main, wmain. The main function...
I don't think you are not getting any error with this thing!
You must be getting an error IF you call this new function at the compile time & if you are not calling then it wont give you any error...
Hi,
I would like to know what is Service Oriented Architecture (SOA) in programming environment?
Thanks for the help!
Hello!
Even I am learning java & a simple google search got me some results I hope you would like to know.
1. http://www.winstonprakash.com/articles/netbeans/jsf_custom_component_part1.html
2....
Hi,
I am searching for a book on Oracle ADF(Application Development Framework).
If anyone is working on this please guide me for the same.
It will be very nice I can find some good books on Oracle...
Hi,
I bought Visual Studio 2008 pro since it uses the 2.0 version of the framework which VS 2005 uses. VS 2008 IDE is supported by Vista out of the box & the software is 3 years old.
There is...
Well thanks!
I dot want to open such files in client browser. My file is MS EXCEL file & I want the user to only view it not edit , save or anything. Only for viewing purpose without asking user. I...
I am designing a VB.NET based website
I have a hyperlink, upon clicking on it a "File Download" prompt opens which asks me whether I want to "Save" the file, "Open" But I want it to directly open...
For me
System.Windows.Forms.FolderBrowserDialog
Works fine!
http://support.microsoft.com/?kbid=306285
Well I am not sure how to do this can you provide me any sample code for the same?
Thanking you in advance!
Hi,
I have this following problem in Visual studio 2005, VB dot net application.
On the form I have a listbox & textbox, I want that when i select a item from listbox then it shows in the textbox....
Hi,
I am workin with visual studio 2005, framework require help with windows forms.
I want to fetch data from database where i want to put a sql query which needs to be flexible in terms of where...
Well This is not the think i am looking at but its a nice option for that But not for me.
Thanks anyways.
Hi,
I want to know that how can i hook up the WndProc method of a native window with my C# code?
Do you have any Ideas?
If the value is always going to be the current date & time, set a default on
the column of getdate()
Hi,
I want to know how can I do the following In C#(Sharp)
In VB 6 For DataGrid property we have Split\Margue Style = dbgHighlightRow.
ie. Row was highlighted and cell was not active.
I am...
You are right my friend!
In vb.net you can use focus. It behaves just like Setfocus() on vb6.
me.controlname.focus
Please try to give the rights to ASP user.
http://www.bigresource.com/ASP-user-database-access-rights-yOaOH8pv.html
Hope this solves the problem.
I think this is an important article for you to read & understand the concept of ASP.NET 2.0 GridView ObjectDataSource versus Custom Binding
I hope this helps!
But since am a beginner i would...
Well i think this may be due to following things can be any one or more from these things.
1. Your firewall (Network blocking connection)
2. Your connection string may be wrong (Port No.& name)
3....
Please visit this:
http://www.codeproject.com/KB/aspnet/Detecting_Session_Timeout.aspx
and...
Try using the try & catch for ==>> Move i = command.ExecuteScalar()
Problem has to be with conn.open()
also set a break point on catch line.
DataAdapter.Update command is not updating the database.
My code failed to update the Access database with the data.
'Open connection to update data
Dim myConn As New...
Hi,
I think these links will help you in more detail regarding your problem with Oracle database & ASP.Net connectivity.
http://www.packtpub.com/ODP-dot-net-oracle-data-provider/book
and...
Well i think you are getting confused with the concept of ADO.NET
Since you are opening the connection but not closing it.
You are trying to open the connection which is already open.
Try...
Hello SunilKumar!
Can you explain a bit what you are trying to do?
This will give us clear idea about what you want to do.
You can call the method that handles the Click event at any point.
...
For post data to PHP in C# I use this method:
Hi,
In Web Method I want to share the database among the functions using SQL connection & ODBC connection along with the using structure. Now some functions need to update the database already...
Hi,
Well here is my problem with VB.net application.
The SaveFileDialog remembers what directory a user last saved to, and
the next time it is displayed, it remembers this. FolderBrowserDialog has...