Posts
 
Reputation
Joined
Last Seen
Ranked #287
Strength to Increase Rep
+12
Strength to Decrease Rep
-3
88% Quality Score
Upvotes Received
45
Posts with Upvotes
43
Upvoting Members
25
Downvotes Received
5
Posts with Downvotes
5
Downvoting Members
5
34 Commented Posts
~162.01K People Reached
About Me

Software Engineer

Favorite Tags
mysql x 201
mssql x 170
java x 158
asp.net x 132
c# x 57
Member Avatar for dmanw100

its not open from another application is it? also wrap a try catch around and check and make sure it is accessing it properly

Member Avatar for JamesCherrill
0
967
Member Avatar for meili100

I have it, its a pretty descent small book. Here's also a couple links that might be of reference [url]http://www.comp.lancs.ac.uk/~ss/java2c/diffs.html[/url] [url]http://www.d.umn.edu/~gshute/java/c2java.html[/url]

Member Avatar for jwenting
0
494
Member Avatar for canonzone
Member Avatar for christian_8
3
2K
Member Avatar for dharam_05

Good explanation shanti. I would also say that null is much easiet to query for than a blank value.

Member Avatar for jacks009
0
13K
Member Avatar for papuccino1
Member Avatar for dickersonka

A common question that routinely comes up is how to share data between forms. I have outlined two common ways to pass data between forms, among many others. I have used a public property on the output form to accept a value and update the display. I also have a …

Member Avatar for jamespello
1
2K
Member Avatar for msnathan72

ok we see your assignment, what have you done so far, what are you having trouble with?

Member Avatar for rubberman
1
123
Member Avatar for cplusplusgeek

you want a single stored procedure to do all of that? i would advise to separate each out

Member Avatar for Reverend Jim
0
2K
Member Avatar for Kapalua

You don't necessarily need 'permission accounts'. Lets say for instance you have a user account id, group account id they are part of. You can create your files table something like this file_id user_id group_id file_name file_path then when you need to show the user/group their files [code] select * …

Member Avatar for jpcaparas
0
1K
Member Avatar for Elmo_loves_you

You are still adding the companyid parameter. Take that out and you should be good to go. [code] myCommand.Parameters.Add(new SqlParameter("@idcompany",i_companyID));//, SqlDbType.Int, 4, "ID_Company")); [/code]

Member Avatar for umer asif
0
995
Member Avatar for IT_Techno

It is wayyy to complicated to convert a doc to pdf, if you are just wanting to use your own code. I agree with LizR, use a pdf printer. You can use Ghostscript PDF Printer and call through code. I have also used pdf995. The pdf spec is fairly complicated …

Member Avatar for mfran
0
1K
Member Avatar for thegreatkk

In the past I have used SharpZipLib [url]http://www.icsharpcode.net/OpenSource/SharpZipLib/[/url]

Member Avatar for programminfree
0
2K
Member Avatar for Verygoodguy

Lots of moving pieces here. This most likely makes me think its a permission issue connecting to the database, but might not be. Can you make sure your connection string is connecting as a single user to the database with the same host, regardless of the logging in user? Any …

Member Avatar for Verygoodguy
0
159
Member Avatar for Cameronsmith63

You need the user control to save its data, not sure what you need so can't give you any tips there yet. I don't know how they work, but you might be able to make them member variables on the form and never dispose of them. My advice would be …

Member Avatar for Cameronsmith63
0
140
Member Avatar for denmarkstan

Create all that code as a class, then you will be able to share that code in between multiple pages.

Member Avatar for ckchaudhary
0
233
Member Avatar for pritesh2010

You really can't do this from the fileupload control. Based on certan ie permission settings, it won't always work in ie either. My advice is to use either your own control and load the textbox value on postback, or use a 3rd party control. You normally don't need, care, and …

Member Avatar for dickersonka
0
657
Member Avatar for ads1188

Where are you setting the connection to the command? My advice is to not set the connection open on the form shown. Only use the connection when you are going to run a sqlcommand / query. That way, when you are done with it you can close it.

Member Avatar for dwarvenassassin
0
177
Member Avatar for tabish saroha

Do you have the source you can show us where you are assigning the buttons? Make sure you are adding the action listener from both buttons. Also assuming those two objects are buttons. [CODE] connect.addActionListener(this); disconnect.addActionListener(this); [/CODE]

Member Avatar for NormR1
0
128
Member Avatar for arsheena.alam

As previously stated before it could be a lot of things. The schema doesn't look like it should take anytime to query regardless if indexes are in place or not. When you are in this 10 min waiting phase, run this command on the database, just in management studio is …

Member Avatar for dickersonka
0
148
Member Avatar for artemis_f
Member Avatar for stultuske
0
1K
Member Avatar for tuse
Member Avatar for Naik Dhiren

here is the sql code to get it [code] SELECT sysobjects.name AS "TABLE_NAME", syscolumns.name AS "COLUMN_NAME", systypes.name AS "DATA_TYPE", syscolumns.LENGTH AS "LENGTH" FROM sysobjects INNER JOIN syscolumns ON sysobjects.id = syscolumns.id INNER JOIN systypes ON syscolumns.xtype = systypes.xtype WHERE (sysobjects.xtype = 'U') and sysobjects.name = 'MyTableName' ORDER BY sysobjects.name, syscolumns.colid …

Member Avatar for mostnour
0
2K
Member Avatar for LAMDB
Member Avatar for csharplearner
Member Avatar for sfrider0

Along with all the previous, you MUST know where the file will be, whether that is remote or local. If it is remote you can use a unc path like \\192.168.1.100\shared\myfile.txt. A possibly better solution would be to use mapped network drives, and not necessarily hard code all these paths. …

Member Avatar for humar
0
245
Member Avatar for Mapper99

What are you wanting then? Are you wanting the data or gridview to be written? Also you are using htmltextwriter, which is exporting html.

Member Avatar for hello2222
0
141
Member Avatar for thijscream

A tick is based upon the time interval. For example you set the timer to poll every 1 second. After 1 second elapsed, tick After 2 seconds, tick Is this what you are asking?

Member Avatar for Alpha-Bit
0
76
Member Avatar for konczuras
Member Avatar for vectorsoftware
0
186
Member Avatar for muguus

Sounds like a homework question to me. Why don't you start off with what you have, and what you really have questions, not just our answers.

Member Avatar for babsoro Ibrahim
-1
96
Member Avatar for neutralfox

you are trying to run the jar file do you have this in there? [code] public static void main(String [] args) [/code] i'm assuming you don't, but for a jar file to be run, just like any other code, it needs to start with a main method

Member Avatar for Marin88
0
2K