blah blah blah is here! blah blah » Close

0
votes
1 answers

Object reference not set to an instance of an object.

I'm facing an error with the reader. I don't know what's wrong. Please help. Thanks. sqlco.Open(); reader = command.ExecuteReader(); if (reader.HasRows == true) { while (reader.R ...

0
votes
1 answers

Copying of data

How do I do copying of data from one table to another table based on the values selected from a dropdownlist in Visual Studio 2005? Thanks.

0
votes
1 answers

Need help in Codes on copying data.

I need to copy data from my database using sql server. So when a user selects the options from the dropdownlist, it can retrieve from the table A in the database and copy to database table B. How do I write the codes in visual studio (C#) a ...

0
votes
1 answers

Need help in Binding Dropdownlist

I want to bind 2 dropdownlist, ddlC and ddlS upon selected to ddlM. However, ddlC codes can work, while the ddlS codes can't work. I face problems and do not know how to do.. Please help. Thanks. protected void ddlC_SelectedIndex ...

0
votes
1 answers

Need help in If.. Else.. Statement.

Hi, I would like to set the value of a dropdownlist to the current year when the page load. How do I do it? E.g. Current year is 2009. Thanks.

0
votes
1 answers

Implementing javascript on a button when click, C#

Hi, I would like to implement javascript on a button when a user clicks on it. It will show for e.g., "Do you really want to enter?" when the user clicks on the button. How do I do it? I'm using visual studio 2005. Thanks.

0
votes
1 answers

Need help in sql statement to display data

Hi, I want to display some values from DropDownList A based on selected values in DropDownList B. However, there's no common column names in the 2 tables I'm going to take datas from. How can I go about it? The following are my codes, whi ...

0
votes
1 answers

Need help in Copy C#

Hi, currently I'm being tasked to do on a page to copy data. For e.g. I want to copy last year's data and insert into this year. The data remain the same but the year changes. I am not sure how should I go on doing it. Thank You.

Feedback