I have a solution where I have my code window and toolbox on one monitor and the output window, solution explorer and properties windows are on the other monitor. I open another solution and all the windows default to the main monitor.
Is it possible to use one layout across all solutions?
If there is one thing more dangerous than getting between a bear and her cubs it's getting between my wife and her chocolate.
if you want present the document for user, you can save before the present. Save method mention below.
privatevoid Save_button_click (object sender, EventArgs e)
if(File.Exists("path of file"))
MessageBox.Show("Plz chnage your file name");
File.Create("Path of the FIle where you want save with Extension, like that d:\\testing.txt");
File.WriteAllText("path of the File", "contents");
for any problem faced comment left here.
I am trying to do an SQL Select Query by using the dates supplied by two DateTimePickers to export data from a SQL Server to an Excel Spreadsheet.
When I run the app, I get "Line1: Incorrect syntax near 'Tuesday, November 12, 2013 AND Wednesday, November 13, 2013'. "
The query is being run on an SQL 2000 server, and the DateTime Format on the server is MM/dd/yyyy hh:mm:ss tt in the record.
Which gives the same error in 11/12/2013 AND 11/13/2013
Here is my current Select code...
Dim dataAdapter As New SqlClient.SqlDataAdapter()
Dim dataSet As New DataSet
Dim command As New SqlClient.SqlCommand
Dim datatableMain As New System.Data.DataTable()
Dim connection As New SqlClient.SqlConnection