Posts
 
Reputation
Joined
Last Seen
Ranked #288
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
~164.62K People Reached
About Me

Software Engineer

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

606 Posted Topics

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
968
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
503
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
124
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
1,000
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
3K
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
162
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
143
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
236
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
661
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
180
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
132
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
150
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
249
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
142
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
79
Member Avatar for konczuras
Member Avatar for vectorsoftware
0
187
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
98
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
Member Avatar for sasivashok
Member Avatar for azrysyarry

What are your needs for a website? ASP.NET and Sharepoint are completely different ballgames. If you are just needing a website, or programmability built in to a website I would suggest asp.net. If you need a CMS system, many users, ability to change content from users, many companies or sites …

Member Avatar for zubairn
0
700
Member Avatar for m_amruta

use a readline down to row 29, then however your columns are delimited, read 6 through 9 what piece are you having trouble with, please post the code

Member Avatar for peter_budo
0
191
Member Avatar for noktasizvirgul

I'm sure you have already looked at obfuscation. That is about the best solution. If you are writing managed code, as in C#, it can be decompiled. Here is a program that makes it harder than just plain obfuscation, but still doable, think its outdated now, but there might be …

Member Avatar for ghimangi
0
140
Member Avatar for hightech2

[code] public boolean isEmply(){ if(top == -1){ return true; } else { return false; } } public boolean isFull(){ if((stackSize - 1) == top){ return true; } else { return false; } } [/code] also change your push to use top++

Member Avatar for coderGh
0
1K
Member Avatar for clusher

The problem is your "public" user most likely does not have permissions to call the insert stored procedures. A lot of times, you may have a separate user for searching or selecting data, than inserting data.

Member Avatar for webhostuk
0
2K
Member Avatar for oscprofessional

You might want to try it with user controls rather than forms. Create the user controls and add them to the panel. If you really want forms, then take a look at MDI.

Member Avatar for itjayakumar
0
81
Member Avatar for asmikwen

you can import the data, in management studio right click on your destination database and click import, then set up a mysql connection to your other database depending upon how mysql specific the queries are, they could most likely be used as well, just swapping out the connection strings

Member Avatar for bgkalbente
0
77
Member Avatar for dwlamb_001

i think you are concerning yourself with the id's when you actually don't need them here, you know the order already page 1 select * from table limit 1 offset 0 page 2 select * from table limit 1 offset 1 if you are doing ordering, just add the order …

Member Avatar for dickersonka
0
116
Member Avatar for kapil.tandon
Member Avatar for sekharM
0
146
Member Avatar for vuyiswamb

you need to have an open connection, just as it says, right before you call execute reader call this [CODE] if (conn1.State != ConnectionState.Open) { conn1.Open(); } [/CODE] also it would be a good idea to create a separate class or method for calling all sql functions, that way you …

Member Avatar for vuyiswamb
0
2K
Member Avatar for sathya8819
Member Avatar for sathya8819
0
234
Member Avatar for fishsqzr

Agreed, it is a little trickier in C# than some languages. Would placing this datagrid in a user control and adding it to the forms work for you?

Member Avatar for dhar_sudipta
0
177
Member Avatar for AnGuRuSO

I'll give you a place to start The problem you are running into is with indexing urls that are "urlrewrite" This isn't specific to horse racing, its widely used, but theres a place to start

Member Avatar for nalini.harsha
0
852
Member Avatar for bk_yogeshvaidya

this isn't necessarily pertinent to vb, but normally what you would do is create a locked column in the database, whenever they start reserving set it to locked and not allow any other users to access when the column is set

Member Avatar for ramulal
0
138
Member Avatar for peekamalts

A good way to think about top level objects, is what ways you 'access' this object. You interact with the top level objects, for the top level objects to interact with low-level objects. An example is you can use the door on it, but regardless of the door, you have …

Member Avatar for jasvir
-1
334
Member Avatar for vivek.vatts007

I have ran into this before, when trying to communicate between drivers and applications. If you are running on Vista with sp1 this is a no no, and it will give you this error. I would recommend changing your code to either use registry or file to communicate between the …

Member Avatar for tamw
0
763
Member Avatar for anitha joe

to get the files use [code] string dir = @"C:\images\"; string[] files; int numFiles; files = Directory.GetFiles(dir); numFiles = files.Length; string nextFileName = (numFiles + 1).ToString() + ".jpg"; [/code]

Member Avatar for manojvit
0
1K
Member Avatar for xman12
Member Avatar for garvita rai
0
93
Member Avatar for nickj

[quote]If I add a distinct clause to the statement, only 9 records are returned from the budget table. [/quote] are you sure you are needing to do 34 updates, 9 records only need 9 updates if the update isn't working properly, can you give us a little more of the …

Member Avatar for nickj
0
164

The End.