1,576 Posted Topics

Member Avatar for grafic.web

The wikipedia article shoud be enough to explain it but, to really brief, n-tier relates to the breaking up of the project or application into seperate layers for easy design, developement and extension. A three tier web app could be considered to be the user interface, the code (business logic) …

Member Avatar for nakor77
0
142
Member Avatar for sania khan

If you want to check a radio button based on some value you would use RadioButtonList1.Items[index].Selected = true The Text method would not whether it was checked or not. It alters the text assigned to the item.

Member Avatar for sania khan
0
2K
Member Avatar for Mr.Sunny

You've only given a very brief description of what you need to do but it sounds like the 'timers' you want would just be more labels and when you click the first label code does what it needs to do and the timer label is updated.

Member Avatar for Reverend Jim
0
129
Member Avatar for GordonUK

If you have added them with the doubled extension and there really are hundreds of them, write a script to get all images in the folder and rename each one in turn (taking the file name part, ignoring the extension, and checking if it contains .jpg. If it does do …

Member Avatar for hericles
0
144
Member Avatar for Dani

I've found the related article, while it maybe sometimes relevant (but not always), is hardly ever very timely. Often they are articles from months or sometimes years ago. This maybe relevant to the poster, to find other articles related to their question, but as I am in the process of …

Member Avatar for ndeniche
1
217
Member Avatar for Emad Saber

Can't you pass in the points as one data set rather than call it 16 times? You'd need to change your plotting function of course. How fast are new plot points generated (can you slow down the function call to match the incoming data)? If it becomes unresponsive when use …

Member Avatar for Emad Saber
0
134
Member Avatar for aarushik

The most obvious answer is that the user name is the student ID. If you don't want to do that and instead have a different login name then you will need another column in your student table that stores their user name. Then you use the user name in the …

Member Avatar for hericles
0
167
Member Avatar for muhammad ismail

Simply drag two dateTimePickers onto your form, one for the from date and the other for the to date. You can then access the DataTimePicker.Text method to retrieve the value of either one. E.g. some simple code to get the days between two dates Dim date1 As New Date Dim …

Member Avatar for abbyjo
-1
242
Member Avatar for mnewsome

It sounds like your class definition is incorrect. You would have forgotten a { or } somewhere and so your class or methods don't properly close. A sample class would look like this: namespace SampleNamespace { class SampleClass { public void SampleMethod() { System.Console.WriteLine( "SampleMethod inside SampleNamespace"); } } } …

Member Avatar for Momerath
0
167
Member Avatar for ninjatalon

How does the information relate to the other fields and the gridView? You will need to construct a database with at least one table (maybe more depending on your answer to my first question) to hold the info. You haven't mentioned whether you have done that yet. After that the …

Member Avatar for hericles
0
195
Member Avatar for sk8ergirl

It looks like your containing div (with the pink background has a set height to it. The text you added pushed the content beyond that height limit. You can change the height of the div to something like height:auto (so it is always just as big as it needs to …

Member Avatar for sk8ergirl
0
82
Member Avatar for khizer03

Obviously the connection string you are using will have to change and hopefully the dev team knew enough to store it in one place only (web.config). You can find the connection string syntax for MySQL at connectionstrings.com. Also, in certain places you may need to alter the actual SQL commands …

Member Avatar for ckchaudhary
0
248
Member Avatar for Cap'nKirk

I'm with Momerath here. Just out of curiosity what use could 16.7 million rows be to anyone? If you need to proceed what you need to do can be done with nested for statements, three of them, each one holding one of the sets of 0 to 255. Then just …

Member Avatar for Cap'nKirk
0
125
Member Avatar for me_coolvibes

You are missing some syntax somewhere in the class, most likely a method that has no End Sub.

Member Avatar for me_coolvibes
0
191
Member Avatar for mani508

You can simply redirect to the MyAccount page and then it uses the session value to load the appropriate data. If you are going to another page in your own site passing a session variable as a parameter in the URL is really not needed.

Member Avatar for mani508
0
93
Member Avatar for shers

The best way (if it is a compiled, dynamic site, rather than static HTML) is host it somewhere and give them the URL. You can't expect to send them the files and have them install IIS and a database just to view it.

Member Avatar for shers
0
83
Member Avatar for Mechizedek

Are intending to use Crystal Reports for it or do you want a simply, ad hoc solution (coding yourself)?

Member Avatar for kentuckyjoe
0
179
Member Avatar for Ella Jones

Debug your code and step through it. That will help you find the exact section that is causing problems. And this was really hard to read. You should get in the habit of using either pascal case (PascalCase - capitalise every first letter) or camel case (camelCase - capitalise every …

Member Avatar for hericles
0
1K
Member Avatar for Goomba79

You aren't using the dataSource method to match your dataset to the chart for a start. Have a look at the chart doc on MSDN, that will help you a lot.

Member Avatar for Goomba79
0
140
Member Avatar for praveendasika

And be particular about which part you are having trouble with. Is it the data extraction or the document printing that you need help with? The better you define your problem (and tell us what you have already done) the more likely we are to help.

Member Avatar for bhagawatshinde
0
209
Member Avatar for georgesk

Are you referring to the connection string for your database or something else? You're question isn't very clear.

Member Avatar for poojavb
-1
119
Member Avatar for luckydude

I just read these two books on C#4.0 and found them to be very good. They might be a little advanced for a complete novice but they go into depth on a range of topics: Programming C# 4.0 Ian Griffiths, Matthew Adams, published by O'reilly Fluent C# Rebecca M. Riordan, …

Member Avatar for geric823
0
940
Member Avatar for Reliable

You could put your address image inside a div and your table inside another, set the widths of both to what ever width they should be on the page and then add the CCS rule display: inline-block; to both. That will remove the need for the float and place them …

Member Avatar for dany12
0
149
Member Avatar for mani508

LinkButton.Text = "Like"; You will want the code to check the current text of the button so it knows what to change to I guess. An if statement will do that easily enough: if(LinkButton1.Text == "Like") { LinkButton1.Text = "Unlike"; // plus whatever other codes runs when something is liked …

Member Avatar for mani508
0
167
Member Avatar for chunkbar

You are calling your cmd.execute twice, once to execute it and again to ensure it worked and clear out the textboxes. That is where the duplication is coming from. Remove the first instance and the second will run and provide you with your check that it succeded at the same …

Member Avatar for hericles
0
410
Member Avatar for broskie

You can call Process.Start() to start an executable. E.g. Process.Start('notepad.exe') will fire up notepad. Your text is only appearing the top textbox because that is all you are telling it to do. If you open a file and want the text to appear in more than one textbox, first store …

Member Avatar for hericles
0
215
Member Avatar for VasquezPL

For HTML emails the images always need to be used with an absolute path. src="image1.jpg" means nothing when the code is away from your development environment. You will need to host the images on a server and point to them with a full address. This link will help you: http://kb.mailchimp.com/article/top-html-email-coding-mistakes

Member Avatar for VasquezPL
0
237
Member Avatar for technoknol

We would need an actual explanation of the problem first. Does it fail completely or just not look right? And IE6, really? W3C school stats show IE6 is down to around 1% usage now and it was a terrible browser with plenty of bugs to begin with. Later browsers adhere …

Member Avatar for technoknol
0
237
Member Avatar for Ikram Shams

Are you wanting to convert a hex color into an image of the same color, a block of that color only? You can use the system.drawing to create an image, brush it with that color (basically filling it with one color and then save it as a file. The images …

Member Avatar for hericles
0
366
Member Avatar for Jiten@energos

Check your mySql log files to see what is happening. You should have a mysqld directory with the relevant logs in it.

Member Avatar for hericles
0
169
Member Avatar for loserspearl

The checked method returns a boolean, true if checked false if otherwise. So you can use `if (!checkBoxAddSub.Checked && !checkBoxMultDiv.Checked)`

Member Avatar for loserspearl
0
90
Member Avatar for saybabs

Check out how to load a file using LOAD LOCAL INFILE command for MySql or for MSSQL the bulk insert method e.g. BULK INSERT OrdersBulk FROM 'c:\file.csv' WITH ( FIELDTERMINATOR = ',', ROWTERMINATOR = '\n' ) Which database are you using and, more importantly, what error are you getting?

Member Avatar for deceptikon
0
210
Member Avatar for kesh1000

The solution is to store the fact that the process ran (or is running) somewhere (database, text file, in memory) and then runReport() checks that value after it determines the time is right but before it starts actual processing.

Member Avatar for gusano79
0
120
Member Avatar for Goomba79

It looks like you are missing an operator (AND or OR) in your statement. sql = "Select * From Skills Where StampNo = " & Stamno & " Cell = " & cell & " And Op-Number = '" & op & "' " This translates to SELECT * FROM …

Member Avatar for Goomba79
0
128
Member Avatar for gahhon

The isNumeric function is probably the easiest solution. It returns a boolean value indicating whether the input can be parsed to a number.

Member Avatar for gahhon
1
158
Member Avatar for london-G

Try this version. It looks like you have got your WHERE condition syntax incorrect INSERT INTO jobs (priority, date, deadline, material, status) VALUES (?, ?,?,?,? ) WHERE customerID = (SELECT customerID from Customer where CustomerID =?)

Member Avatar for smantscheff
0
181
Member Avatar for sentongogray

The HTML code for placing an image on the page is <img src="location_of_image/image_name.jpg" alt="alternate text" /> I would suggest getting used to the W3Cschools website if you are very new to HTML/CSS. It is a great learning tool

Member Avatar for hericles
0
116
Member Avatar for mani508

I hate to steer you to the competition but check out this article on Stack Overflow: http://stackoverflow.com/questions/2206988/paging-with-an-asp-net-repeater You can code up the logic yourself (i've got the code somewhere but I can't find it) but otherwise the above link should help.

Member Avatar for hericles
0
80
Member Avatar for nikki05

what error are you getting when you run this code? Or have you not figured out how to get the file name to delete? If not, you would have to query the database before doing the deletion so you have the name of the file to delete then run the …

Member Avatar for Mitja Bonca
0
318
Member Avatar for hatebin

Are you having trouble with the SQL query to check if the name is already used? just do a SELECT COUNT() on the user name or email. There should be zero results if the name is unique and 1 if it is already registered. You can then proceed to save …

Member Avatar for poojavb
0
200
Member Avatar for mani508

You can iterate through a repeater using the foreach loop and the findControl() method to search for the control you want to change, disable, etc. You will probably need to run through the repeater to find the row you want to alter (based on whatever makes that row the target) …

Member Avatar for hericles
0
107
Member Avatar for JCBLOL

Most browsers can be opened with a URL as a parameter using the Process.start() method e.g. Process.start('firefox.exe', 'someURL'). As you will be opening them as their own processes when you do this you won't be able to control where they open (I don't think).

Member Avatar for hericles
0
99
Member Avatar for Maha Sh.

Hi, Don't disable the back button. Instead you should have code in each of your pages (in the page_load) that checks if the session is current and if not redirects to the log in page (or whatever is relevant). There once a user logs out and the session is cleared, …

Member Avatar for hericles
0
164
Member Avatar for Ajayraj

Is the name of you unit moduleconnectionstring correct in your config file? It looks like, for the some reason, the connection isn't being returned. Easiest thing to do is debug the function that calls the string and see what the output is. Also, as you're dealing with unfiltered user input, …

Member Avatar for prathamesh3090
0
306
Member Avatar for seblake
Member Avatar for belenos46

is checking for the date modified or created of the file an option? At least using those dates the format is set and you're not relying on user input to determine if you want to operate on that file.

Member Avatar for belenos46
0
193
Member Avatar for ShadyTyrant

Specify what is involved for each project in writing in consultation with the client and get it signed off by the client. Base your price on that and don't deviate. Additions to the project then come at an increased cost. Scope creep will kill you otherwise. Set a realistic deadline …

Member Avatar for EvolutionFallen
0
111
Member Avatar for hwoarang69

Are you trying to store an image in the database and long blob isn't big enough?? Thats a big image. Can't you store it elsewhere and refer to its location from the database? Or, if you must store it, turn it into bytes and cut it up as much as …

Member Avatar for hericles
0
131
Member Avatar for Om Alooi

I would change the database table to have the employee ID the date time stamp and a status showing whether they entered or exited (1 or 0 basically). Then you just insert into the table the employee ID, the time stamp and the status (based on whether the sign in …

Member Avatar for Om Alooi
0
163
Member Avatar for suneye

You will need to check that you are accessing the correct database, you are logging in as the right user or that the user you are logging in as has the correct permissions to interact with the database or table. You could also be missing the prefix name when it …

Member Avatar for Mitja Bonca
0
137

The End.