Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

I think the key point here (as far as potential employers are concerned upon your return) is that you don't plan to just let your skills vegetate while you're abroad.

You've indicated that you plan to suppliment your travel costs by freelancing while you travel which means that you'd still be in touch with the industry to a degree. You've also indicated that part of the purpose of the trip is to broaden your skills and your cultural horizons (possibly a new language skill) which realistically only benefits a prospective employer on your return.

As long as you manage to keep in tune with the current tech while you're gone and don't allow your skillset to become obsolete I can see no negative to taking the time to recharge your mental/spiritual batteries as it were :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Realistically... if you had the resolution of the screen and the actual monitor dimensions (inside dimensions vertical and horizontal) then you could do a straight ratio conversion.

For example, my resolution is 1680x1050 but I don't have an actual measuring tape handy to tell you the height and width of the "viewable space" of my screen. It's claimed to be a 22" 16:9 ratio screen though so some mathematics would be able to get you there.

The thing is, if you ask just for the "monitor size" that doesn't take into account the variables of whether it's standard size, wide screen, ultra-wide screen... You'd need to at the very least know the 'size', ratio and resolution setting to be accurate in this.

Dunno if that helps or just confuses the issue further :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

For instance, in my for conditions, I cant say, (int i = 0; i != songs.count; i++) like I would be able to in c++.

For that one I would say this instead:

for (int i = 0; i < songs.Count; i++)

Since Count is based on numbers starting at 1 and the array is based on numbers starting from 0 this will effectively stop the FOR loop prior to going out of bounds.

EDIT: Just thought of this but it may be songs.Length instead of songs.Count... hmm... brain not working today, not sure.

Otherwise, your method appears sound.

Hope this helps :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

I'd recommend that you check out the following search for many links related to the process you're looking for :twisted:

What you're looking for is the Append file access mode which opens an existing file for writing but places new content at the end of the file instead of overwriting from the beginning. For this you can use the standard filestream method of accessing the file and utilize the append access mode or you can use the File.AppendText method depending on your needs.

Hope this helps :)

Geekitygeek commented: google == friend :D +3
Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Question: Is your iframe within another container such as a DIV?

If so, it is very possible that the DIV itself is restricting the iframe's height as opposed to an issue with the iframe itself.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

As an additional note, if you never set any un/pw credentials when you set up your SQL server then odds are it's utilizing windows authentication (based on computer/user name).

When setting up a database for a web deployed project using windows authentication generally won't work out too well for you. It needs to be set up with user/pass authentication for the connection string provided to you above.

If your SQL server is, in fact, set up locally on your machine you can often access that server with COMPUTERNAME\SQLEXPRESS (using your computer's name found in the network settings of most windows OS's) if it's an express server and if it's actively running.

If, on the other hand, you set up a local DB file within your VWD and don't (somehow) have MS SQL Server or MS SQL Server Express actually set up on your system (unlikely as VWD installs express by default) then you would need to install one of those to utilize SQL database files.

As a final note, have you looked at the connectionstrings.com link that was provided at least twice above? It might help you sort the issue as well.

Hope this helps :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Well, for starters, when you say it's not working properly... what exactly is it doing compared to what it should be doing? Are you receiving any error messages? Are you simply receiving incorrect results?

A bit more information would be helpful to determine the nature of the problem, particularly as the above code is a mix between page code and code-behind with 0 formatting applied to it (there are code formatting tags available on this site that allow code to retain some semblance of readability).

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Step 1: Open a web browser (I recommend Firefox)
Step 2: In the address bar, type http://www.google.com and hit enter
Step 3: Find the answers you're looking for

Personally I recommend the following link as it appears (at first glance) to be closest to the single sentance question you posted.

On the other hand, if you have a specific process in mind, why not share that with us and we can see what we can suggest to help you out :twisted:

Hope this helps.

EDIT: By the way a search through previous DaniWeb posts (for an advanced search click the search button without any text) centered around this forum would probably also find related questions/answers :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Now to find out if there is a
gridview.DONT_SELECT_ANYTHING_ELSE

Sorry, bit off topic but this made me chuckle :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

One thing you might want to look into is the IsPostBack property of Page.

You can use the Page.IsPostBack property to control various elements of your page to only run on postback or only run if it's not a postback and so forth.

Hope that helps :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

new_SE Could you please be a bit more specific about what it is you're trying to do here? Your post is far from clear and therefor difficult to answer.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

The only drawback I can see with jbisono's suggestion is that it may not be 100% accurate. As an example, my B-Day is in December 1978... if we use the formula:

int years = DateTime.Today.Year - Convert.ToDateTime(txtDOB.Text).Year;

Then what we get is 2010 - 1978 = 32. However, at least for the next few months, I'm still 31. It is possible, however, to extend jbisono's example to include the full range of date (year, month, day) and perform a more accurate subtraction that would take the partial year into account and provide a correct age. Just requires a bit more calculation and creativity :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Try to calculate that at the database level, and return the total with your result. your statement should looks like

SELECT NAME, SCORE1, SCORE2, SCORE3, SCORE1 + SCORE2 + SCORE3 AS TOTAL
FROM YOURTABLE

Definitely agree with bisono here that your best bet is to sum the totals at the SQL server end and return the value directly. Not only does this cut down on overhead in your local code but it also provides the 'total' results as part of the returned dataset so they are directly 'related' to the other values you are retrieving and easily retrieved on a line by line basis. This is preferable to performing the calculation after the fact on the code-behind or front-end levels as it 'ties' the results to the source more directly (read: less chance for information mismatch).

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Skyboy, did you ensure that the host you are using is providing their hosting services on a Windows server as opposed to a *nix server?

ASP.Net will only run on a windows server running IIS with the appropriate ASP.Net handlers installed.

Hope this helps. :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Well congratulations everybody on just handing out code to someone. My particular favorite was this one:

Button1(.................)
{
Process p=new Process();
p.startInfo.FileName="calc";
p.start();
}

That being said... when someone comes to the forum and says "please help me with the code behind file..as i am really confused...otherwise give me some tips to start doing the code" do you think that they benefit more from having completed code snippets dropped in their lap or from being told how to go about coding the application they're working on?

DangerDev and ddanbe good on you two for pointing the user in the right direction :twisted: At least some folks are still following the 'developmental learning' model around here as opposed to the 'here's a free hand out, go turn it in to your teacher' model.

Now as to the original question, similar to ddanbe I'm going to provide a reference to another thread. Perhaps the information in that thread will help you sort out your calculator code issue.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

The "buffer" claim, to me, is unconvincing.

You might note that I said "in part" and not that the entirety of the price is based on this factor. My point is based on the 'bargain basement' pricing increases in places such as Wal-Mart and similar "lowest price" type stores. Over the years their prices have consistently been forced to rise due to factors such as shoplifting moreso than any other cost raising factor.

If we factor this same figure into the inflation at the 'bottom end' pricing of software or other intellectual property (music, movies, etc) then we can show that piracy does, in fact, affect the cost to the end user as I was stating. That's not to say that the top-end pricing isn't excessive (leading to the popular pro-piracy mantra) but to say that ALL vendors charge more than they're due and that there are no victims to piracy are both blatant mis-statements and outright falsehoods used to justify illegal actions and nothing more.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Well I guess if this thread had to be resurrected I might as well participate...

I've noticed that a lot of the arguments for piracy seem to center around 'unfair pricing of the product being pirated' and the fact that the pirates would 'never have purchased the item at it's inflated price and so no actual loss is incurred.'

What I'm curious to know, however, is how many of these so called 'morally justified' pirates take into consideration that the reason the price of the items (software, music, etc) has risen to these levels (at least in part) is due to reduced legitimate sales due to piracy. Most companies these days incorperate a 'buffer' to their pricing to account for the anticipated rate of theft and unauthorized redistribution of their property and this is reflected in higher cost per unit to the end-users who actually purchase the software legitimately.

Continuing along these lines... 'morally justified' pirates indicate that they aren't hurting anybody through their theft (and whether it's a copy or the original thing it's still theft to take something that does not belong to you without permission or compensation). My question is simple enough... If everybody else is forced to pay increased cost per unit to compensate for the practice of piracy then are the pirates not, in fact, harming all of the future legitimate buyers whose prices have been affected by their actions?

The bottom line is that pirates hide behind a thin veil …

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Just a note, not trying to be 'picky' here but...

Most professional web developers/designers these days are trying to move away from tables and toward divs (I've even seen positions advertised where they specifically ask for people who can code table-less webpages).

With that in mind, would it not make more sense to try to encourage newer developers/designers towards a div driven site as opposed to stepping backwards and eliminating a div in favour of a table?

That being said, whatever works best I guess :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

I, for one, am very curious about the ever increasing number of people who are completely stumped when it comes to coming up with topics for their university projects.

Granted, I understand that it can be a bit much to expect originality and 'forward thinking' from today's college/university crowd but... to be spending thousands upon thousands of dollars on a post-secondary education and not be able to decide on a topic of study for a single project...

In this particular case I have to say that I wholeheartedly understand the inability to pick a thesis topic however... after all... apparently the course/language/working environment (database topic?) is unknown so this could definitely make picking a specific topic of study difficult :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Just as a side note, canterorist...

Always a good idea to mark a thread as solved once you've gotten what you need from it (mark as solved os to the left of the reply text area) so that further users don't think that more work is still required in the thread :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Unless you're doing a massive amount of batch inserts (1000s at a shot), breaking them down into individual blocks of code with their own testing, trapping and reporting is not going to be a hit on your performance.

And realistically, ease of use > performance even then.

But yes, as Zinderin said easiest way is to separate them and capture affected rows from each to get the confirmation of the firing of the statement. Alternately... if you MUST batch them together like that... you can always set up some return variables (one per statement) that return a single row of response data confirming the data submission/retrieval but then you need to modify your application code to accomodate a different expected output from your query.

Hope that helps. :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Well, all I know is I'm starting to feel like Narue's avatar these days... and my head can't take much more :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

I'm just curious if there is any easy way for the folks behind the scenes of DaniWeb to possibly implement some sort of big flashing sign that takes up an entire screen and plays a siren while activating the (on compatible hardware) sense feedback (vibrate) on the user's mouse.

This sign would be used when someone chooses the Code Snippet option at the time of creating a new post. Preferably the sign would have large, difficult to misinterpret, instructions as to what constitutes a code snippet versus a standard discussion thread.

I only ask because... well... in the past few days I've seen more and more 'how do I fix my code' type questions being posted as code snippets instead of discussion topics.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

For starters, please don't take this as a personal attack against you... you're just the latest of many people I see doing this of late.

Code Snippet is generally for use in providing 'working code' as example to the community of how to do something. Questions should be kept to the Discussion format instead.

As for your problem itself... the error generated indicates that you are referencing an object that has a null value. This would be either a variable that was not properly declared or a class object that was not properly instantiated.

Looking through your code I'm not specifically seeing the undeclared variable or class on my first pass-over but somewhere in there something is not properly defined or created and that's where the error originates.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

so you will certainly not be able to find any "one size fits all" algorithm to do something like this.

Oh I know I won't find a 'one size fits all' but I'm still collecting 'ideas' at this stage is all :)

As for not getting 'solved', I'm only 'solving' the thread as a matter of housekeeping (probably by tomorrow) so people who did toss in their helpful advice at least get credit for it :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Before I mark this solved as a matter of housekeeping, does anyone else have any suggestions to add?

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Besides, it's relatively meaningless anyway since some people with relatively 'high' post counts have filled most of those with questions where others with lower post counts might prove to be more useful with answers. All the post count means is that they type a lot :twisted:

Well... except in my case where it means that I'm 'exceptionally helpful and fabulous'... But I've got a custom user title because I'm a subscriber to the site so my title doesn't reflect post count anyway :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Have you perhaps tried running a check against File.GetCreationTime for the files in the list to determine the created date for the file(s) against the date range you're targeting?

Hope this helps :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

C++ doesn't have "garbage collection" like many other languages. That responsibility is left to the programmer.

However, this is only partially true these days as more recent versions of C++ utilizing the .Net standards do have some automatic "Garbage Collection" available.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Ok, so after some testing it would appear that ImageMagick would not be a good kernel to use, particularly on full-colour images.

At least, not in the way I had hoped to use it... the initial step of reducing an image to skeleton form doesn't work in non-greyscale images correctly and takes FOREVER to accomplish on colour images.

Guess I'll have to look into the other suggested methods in more detail.

In the end I'm trying to find a way to break down an image into a recognizeable 'pattern' form that would be unique to each image so if anyone else has any suggestions I'd be happy to look into those as well. The pattern needs to be representative visually of some aspect of the image though as patterns derived from the 'whole' would eliminate the ability to compare with differently cropped images with same content.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Hi,
what should i use to make the data inserted is in all capital letter?
here is insert statement:

string query = "INSERT into Categories  values (' " + textbox5_value + " ', ' " + textbox6_value + " ', ' " + textbox7_value + " ' )";

strToUpper() is used to make it convert to all capital letter but i don't know where should i put it? can i use this?

You can do it in the following way assuming that your values are already in string form:

string query = "INSERT into Categories  values (' " + textbox5_value.ToUpper() + " ', ' " + textbox6_value.ToUpper() + " ', ' " + textbox7_value.ToUpper() + " ' )";

However, if the input is not in string form then you will need to convert to string prior to appending the .ToUpper().

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

I think its ok if they answer it..maybe somebody would need it.. :)

Right, except all they did was ask if the person followed advice that was given back in 2007 :P

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Have u tried what hugvu said when you go to the logon screen press CTRL+ALT+DEL enough times till u see a dialog box then type Administrator and leave the password blank and press enter

I assume you didn't notice that the thread you posted in was from December 2007? :twisted: Pretty sure by now they've found a solution to their locked PC hehe.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

sure men...but i cant see your email address. I'm new in I.T. also,just almost 2 years,but knows maybe i can help you

You can't see the email address because it was removed as a violation of the posting rules of this forum :)

Generally it's encouraged to keep help requests to the appropriate forums instead of soliciting external contact (both for the privacy of the users and because others may benefit from the answers to questions if they're in the forum as opposed to handled privately external to the site).

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Simply put, because you don't always want to wait until the end of the program to free resources that are no longer needed by the application.

For example, if you were to hold on to the memory allocated every single time the program calls a class object, or every time the program performs a calculation, or every time the program performs any operation, then eventually your memory usage for a larger, more complex program, would be off the scale.

What might start off as a few bytes here or a couple of kilobytes there would eventually work into megabytes of unreleased memory resources and slow down the operation of your application. Assuming that the application then continues to run for an indefinite amount of time (For example, I don't always close every browser window in my FireFox application and leave 1 or more windows open for days at a time) then those megabytes of unreleased memory become gigabytes of unreleased memory.

As you can see, if you assume that leaving the memory cleanup to the closing of the application will be sufficient you can cause some rather serious memory usage issues with your application.

Hope that helps :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

First, are you using one form/page to login and a separate form/page for your welcome? If so, you would need to look at various methods of passing a variable from the login page to the secondary page.

One such method is to pass the variable as a part of a ClientQueryString, however this is hardly a 'secure' method of passing unencrypted user information from page to page as it puts the information right there in the URL for everyone to see.

You can also use cookies or sessions to move the information place to place as needed but there are other issues that can arise from either of these methods, particularly if improperly coded.

If, on the other hand, your login page is one and the same with your main page (which can be accomplished using ASP:Panels and simply hiding the login panel and showing the Welcome panel upon successful login) you can pass the variable directly within the same page as a local variable without the bother of moving it around between pages. This has the combined benefit of keeping the variable information masked from the user end and not requiring messy transferrance of information outside of the local scope.

Not sure if either option will do what you need but hope this helps :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Perhaps I'm misreading this but...

It sounds to me like you're passing the UN/PW to the DB to check if they're valid for a login and want to then get the UN back from the DB for the purpose of a welcome page.

This may sound silly but... why not simply use the UN that was entered in the first place instead of revisiting the DB for the information?

Alternately, if the DB contains additional information (such as full name in addition to UN/PW) then it should be a simple matter of using a select statement calling the full name column based on a match to the username column. Something along the lines of:

"SELECT fullName from LoginTable WHERE userName='" + providedUN + "'"

and of course providedUN is the username provided in the login process.

Hope this helps :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Febreeze First Aid Ya I know, these guys are strange...

((would've added to my original post but I'm 1 minute past the edit cut-off))

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

That VTK page looks like it might have some useful resources... I'll have to look into it in more detail, thanks again :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Have you ever found yourself watching TV and seen a spoof or comedy routine involving an invention that you would just LOVE to see in use in real life?

This one makes me laugh every time This Hour has 22 Minutes reruns the episode it was in.

Anyone else have any?

EDIT: I would've used the YouTube link for that video but apparently the folks at CBC (Halifax Media blah blah blah) didn't like someone posting it there and so, Canadians (and possibly people in the U.S.) wouldn't be able to view it. I found another link instead that works for everyone.

Another great one from This Hour has 22 Minutes is this Sham-Meh commercial :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

General rule of thumb in C# (not sure about VB) is that @ basically indicates a literal value of the variable to follow.

@varName differs from varName (assuming both are string variables) in that the @ version will ensure that every character of the string is read and none of the standard 'operator' or 'escape' characters are read by the compiler as their code counterparts.

Not 100% that this applies in the same way with the <% %> format but I'm pretty sure it does.

As for the <% %> formatting it's generally a front-end invoke of a variable within the webpage scripting, for more detail... well honestly I don't have any links lol sorry if this doesn't answer your question but it should at least be an answer to part of it :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Thanks mike,

I'll definitely look into OpenCV as well. I was actually (again all theory here haven't started solid planning at all) thinking to work with Magick++ to deconstruct the images into base components I could use for comparison and work from there but perhaps an easier method exists in OpenCV :)

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

To preface this post I'm going to say that what I'm looking to do is purely in the theorhetical stages at this moment so I don't have any code to share yet.

At it's basest essence what I'm attempting to do is compare Image A with Image B to determine if they are the same image.

The catch comes in the fact that Image B may be at a different scale or orientation from Image A (could be higher resolution or landscape vs portrait).

I've already determined that I am going to be breaking down the initial image(s) into base patterns (skeletons -> line ends) and comparing the patterns from there (the skeletons/line ends are going to be derived from pixel groupings and variants to try to give 'base' shape characteristics from the original). What I'm stuck on at that point is what the best method would be to determine 'similarity' between the 2 images.

In a perfect world the 2 images would be similar enough that straight comparison would be possible (for example in the image I'm attaching, square 1 would compare directly to another same sized same orientation square). In the not-so-perfect world there would be scale or orientation differences (square 1 to square 2,3 or 4). In either of these worlds a straight comparison between points with scale/orientation adjustments as needed would yield a true/false on the images matching.

However, we don't live in a perfect world and there's other factors to …

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

General concept here being that a post placed in the forums is not deleted unless it contravenes the rules of the site. The reason being that the posts are left in-tact in order to benefit others who may encounter similar/same issues as yourself in future visits to the site.

Having read through your thread in question, you have to admit that the removal of the code from the posts in the thread would constitute the same effect as essentially deleting the thread in the first place.

While I can sympathize with your plight in regards to being concerned about being penalized for 'plagarism' unfairly, I am also certain that there would exist appeals procedures within the institution you are attending where you would be able to state your case and prove that the code content was, in fact, yours to begin with and that you simply received conceptual assistance from the DaniWeb Community.

On the other hand, as indicated a few times above, it's highly unlikely that you could be penalized for having used DaniWeb in the first place.

As a final note, this thread should really not have been created as:

  1. The definitive answer had already been provided by private means by a moderator of the site
  2. The rules and policies of the site are available for reading prior to posting and support the definitive answer that was provided by the moderator
  3. Posting another thread and pointing to the original thread only adds yet …
Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

I'm sorry, you're looking for a list of known IE issues?

Do you realize how much database storage space that would take? :S

All joking aside though, I don't know of any place that has compiled this information as it tends to be somewhat fluid in nature (one day they fix 10 bugs and 20 more pop up in their places). One major pitfall that appears to be standard for the past while is IE's lack of compatibility with newer CSS methods (CSS3, not yet "standardized") that are supported in most other common browsers (FireFox, Safari, etc.).

Best of luck finding a host with enough storage space to accomodate the "list" though :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

thanks for your patient, I am new with programming.

I am struggling with implementing the data call in B.

B is a child of form A

Ok, we're getting somewhere...

What I think would help here is the following:

  1. Post your code related to the creation of Form B (as child from A)
  2. Post your code related to the determination of the data in Form B that you are attempting to pass
  3. Post your (attempted) code for Form A that you are using to obtain the data you've determined in Form B

Try to keep the code segments that you post here short and related only to these 3 steps and make sure you use the CODE tags to wrap your code so that it maintains it's formatting.

With the above code segments from your project someone in this forum might be able to more specifically identify the exact area that is struggling in this process and point it out for you.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster
  1. In form B, how are you implementing the data call?
  2. How are you referencing form A?
  3. Is the information from form A available globally so that form B is able to see it? or is form B a child of form A?

Not to be picky here but you aren't providing any of the code that specifically shows in what ways you are attempting to derive your value from form A and in what ways it's being implemented into form B. You're also not showing the relationship between the forms or how the forms are instanciated (hmm... is that even a word? :twisted:) which might help others determine if there's a logic error somewhere in your coding or additional steps that might resolve your issue.

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

none of those help

Really? That's interesting.

So, just to confirm... Your question was:
>>I have two forms and I want one form to display in its Gridview, a data obtain from the combobox of the other form.

What I get from this is you have information in Form A that you want to use in Form B to populate further information with.

I provided you multiple links to references that deal explicitly with transferring information from one form to another but you say this doesn't help you.

Could you perhaps do a favour for those of us who aren't psychic and describe in more detail what you're trying to accomplish and in what way the links didn't help so people might have an idea of where to start then? :twisted:

Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster

Curious...

Was there a reason why you had to create another thread instead of simply adding to the one you created before for the same topic?

Just seems like you decided that, since you didn't get the answer you wanted 5 days ago, you were going to re-post the question again rather than adding your new info to the existing thread where it belonged.

Geekitygeek commented: agreed..duplicate threads = unclean..UNCLEEEAAN! :p +2
Lusiphur 185 Practically a Posting Shark Team Colleague Featured Poster
string sel = "DELETE FROM acomodation WHERE A_ID"= @A_ID;

Are you perhaps mixing this up with the parameter method in which the parameter would be directly referenced within the string and externally declared using cmd.Parameters.Add(@A_ID, paramType); ?

In that event would it not be written as:

string sel = "DELETE FROM acomodation WHERE A_ID='@A_ID'";
cmd.Parameters.Add(@A_ID, paramType);
cmd.Parameters["@A_ID"].Value = A_ID;

Just wanting to clarify was all :)