15,902,635 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by graciax8 (Top 67 by date)
graciax8
20-Sep-12 2:34am
View
nice sharing of thoughts. :) maybe we'll be more adapt to this new look as we go along. and also with the feedbacks of the users in these sites. it'll be the same old "home" as we all know it. :)
graciax8
18-Sep-12 21:23pm
View
DataTable myTable = DataSet.Tables[0];
MultiDropDown1.DataSource = myTable;
MultiDropDown1.DataTextField = "DateOfBirth";
MultiDropdown1.DataValueField = "Column_ID"; //id of that column
MultiDropDown1.DataBind();
Please mark as answered, if this help you.
graciax8
16-Sep-12 23:08pm
View
try this one
foreach (DataRow dr in dt.Rows)
{
MultiDropdown1.Items.Add(dr["DateOfBirth"].ToString());
}
graciax8
16-Aug-12 1:42am
View
can you post your directory. what folder is the css file located and also the images.
graciax8
14-Aug-12 23:44pm
View
:) im from phils.
pls mark my post as answer
Happy Independence! :)
graciax8
2-Aug-12 4:38am
View
if our solutions helped kindly marked it as answered so others will konw. thanks! :)
graciax8
2-Aug-12 1:38am
View
have you solved it?
graciax8
1-Aug-12 5:28am
View
what? im sorry i didn't get what you said.
---ahh. now i get it. that's fine sir. It's no big deal. :-)
graciax8
1-Aug-12 5:12am
View
oops my mistake. i just hope this is what he is looking for. lol.
for (int i = 0; i <= Gridview.Rows.Count - 1; i++) {
GridViewRow row = Gridview.Rows(i);
//For Each checked row In Gridview
bool isChecked = ((CheckBox)row.FindControl("CheckBox1")).Checked;
if (isChecked) {
InsertRow();
//code to insert row
}
}
graciax8
1-Aug-12 5:10am
View
declare a new connectionstring for your second query.
SqlConnection conn2 = new SqlConnection();
SqlCommand comm2 = new SqlCommand("SELECT TC, Name, Surname, BirthDate, Phone from Pers_Info WHERE TC='"+TCNumber+"'");
comm2.Connection = conn2;
your code is kinda messy i suggest you clean it. hope this finally solves your problem. Goodluck!
graciax8
1-Aug-12 4:53am
View
read this
http://www.vbforums.com/showthread.php?552425-2008-MDI-form-gradient
graciax8
1-Aug-12 4:41am
View
post codes you have now.
graciax8
1-Aug-12 4:40am
View
are you sure your query string is getting a value. can you check the output of Request.QueryString["TC"].ToString(); first? thanks.
graciax8
27-Jul-12 6:06am
View
xD no prob just me ratings. :) click the stars next to my questions. give the rating dude. lol. thanks!
graciax8
27-Jul-12 6:03am
View
it is right.
graciax8
27-Jul-12 5:55am
View
i saw our other question, 'll answer it there.
if my answer helped you. please mark it so we will help you next time. :)
graciax8
27-Jul-12 5:15am
View
what have you got so far?
post your codes.
graciax8
27-Jul-12 5:12am
View
mark as answer if it helped you. :)
graciax8
27-Jul-12 2:01am
View
vb6 or c#? correct or tags.
graciax8
26-Jul-12 22:39pm
View
Change your this
Dim cbMgr As New CheckBoxList
cbMgr.DataSource = dtMgr
cbMgr.DataValueField = "EMPID_T"
cbMgr.DataTextField = "NAME_T"
cbMgr.DataBind()
to this
Dim cbMgr As New CheckBoxList
For Each dr As DataRow In dtMgr.Rows
cbMgr.Items.Add(New ListItem("NAME_T", "EMPID_T"))
Next
graciax8
26-Jul-12 22:28pm
View
is this a web form or an app? complete your information.
graciax8
26-Jul-12 22:27pm
View
Deleted
is this a web form or an app? complete your information.
graciax8
26-Jul-12 22:25pm
View
SqlConnection myConnection = new SqlConnection(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);
string Sql = "SELECT * FROM Reg WHERE UserName = @UserName";
SqlCommand myCommand = new SqlCommand(Sql, myConnection);
myCommand.CommandType = CommandType.Text;
myCommand.Parameters.AddWithValue("@UserName",Label1.Text);
DataSet ds = new DataSet();
SqlDataAdapter ad = new SqlDataAdapter();
ad.SelectCommand = myCommand;
myConnection.Open();
ad.Fill(ds, "a");
DataTable dt = DataSet.Tables[0];
foreach (DataRow dr in dt.Rows)
{
TextBoxdob.Text = dr["DateOfBirth"].ToString();
}
MultiDropDown1.DataSource = dt;
MultiDropdown1.DataTextField = "Column_Name"; //column you want to display
MultiDropdown1.DataValueField = "Column_ID"; //id of that column
myConnection.Close();
graciax8
26-Jul-12 4:57am
View
what is your problem?
graciax8
26-Jul-12 4:41am
View
see this.
http://dbaspot.com/sqlserver-programming/393269-how-add-identity-existing-column.html#post1447749
^
graciax8
26-Jul-12 4:27am
View
what is your goal? count the industry? you can do that but need more details.
graciax8
26-Jul-12 4:23am
View
your problem is in the binding.
your code:
Dim cbSh As New CheckBoxList
cbSh.DataSource = dtShophead
cbSh.DataValueField = "EMPID_T"
cbSh.DataTextField = "NAME_T"
cbSh.DataBind()
for checkboxlist, it should be like:
ListItemCollection itemsCollection = CheckBoxList1.Items;
itemsCollection.Add(new ListItem("item 1", "1"));
itemsCollection.Add(new ListItem("item 2", "2"));
or
ListItemCollection itemsCollection = CheckBoxList1.Items;
itemsCollection.Add(new ListItem("item 1", "1"));
itemsCollection.Add(new ListItem("item 2", "2"));
graciax8
26-Jul-12 4:12am
View
use for what delete/update/redirect? what code vb.net/c#?
complete your question so we can help you.
graciax8
25-Jul-12 21:16pm
View
same time? post your codes.
graciax8
25-Jul-12 5:23am
View
get the id of the insertion of Queue_Type, Reference_ID.
get the result and insert into QID,QNo,QID_No fields. For me you can easily do that using stored proc. Goodluck!
graciax8
25-Jul-12 5:16am
View
post your code.
graciax8
25-Jul-12 5:16am
View
then select only the columns in the datasource that you want to show in the details view. what have you done so far? show your code.
graciax8
25-Jul-12 5:12am
View
With all the parameters and declarations you wrote here. I suggest you need to create a stored procedure not a trigger.
graciax8
25-Jul-12 2:36am
View
what is your question?
graciax8
25-Jul-12 2:32am
View
you want to select the customers that can still be assigned to a specific project? is that it?
graciax8
25-Jul-12 2:06am
View
show us the table's columns.
graciax8
24-Jul-12 2:51am
View
urgent to you. not to us.
graciax8
23-Jul-12 0:04am
View
i use a function in vb.net a encrypter and decrypter in one. just sharing.
graciax8
22-Jul-12 21:25pm
View
well then place this code on the 1st dropdown,
strPwd = ConfigurationManager.AppSettings("Value1")
and depending on the selected value of the user, fill the 2nd dropdown.
graciax8
20-Jul-12 3:30am
View
where will the user select Gre or Phi?
graciax8
19-Jul-12 22:59pm
View
winforms
graciax8
19-Jul-12 22:58pm
View
i cant find a working code..
graciax8
19-Jul-12 22:50pm
View
how did you see that is doesn't concat the second statement?
graciax8
18-Jul-12 4:38am
View
you mean inside a label? when you hover the label control?
graciax8
16-Jul-12 4:34am
View
why did you assign the column as varchar if you'll calculate it later?
graciax8
15-Jul-12 22:05pm
View
post your connection string.
graciax8
13-Jul-12 1:39am
View
what progress have you done so far? have you able to make a child popup window and pass a value to the parent window? have you got any codes already?
graciax8
13-Jul-12 1:30am
View
On the page where only logged in members are allowed to access. :)
graciax8
13-Jul-12 1:27am
View
on page load event so you can track that he is on the site.
And if it is more than 30 days since he changed the password, you'll redirect him to the change password page.
Hope this helps. Good luck!
graciax8
12-Jul-12 5:45am
View
why did you downvoted my answer?
you have this OnClick="lnkAddNewQues_Click" but in your code you are missing handles lnkAddNewQues.Click
double click your link button in the design page to make sure it is pointing you to the right event in the code-behind.
Goodluck!
graciax8
12-Jul-12 5:13am
View
i just want to clarify the name of the table is DateofBirth?
graciax8
12-Jul-12 3:25am
View
post your code so we can see.
graciax8
4-Mar-12 20:22pm
View
what is the error?
graciax8
29-Feb-12 21:13pm
View
You will get that using the commentID.
SELECT * FROM SII_Replies WHERE Rep.SII_Comment_Id = ''
graciax8
29-Feb-12 21:10pm
View
Deleted
If you have other questions just comment and if this is helpful, mark as answer.
Best Regards,
@iamsupergrasya
graciax8
29-Feb-12 21:10pm
View
Ok. If you have other questions just comment and if this is helpful, mark as answer.
Best Regards,
@iamsupergrasya
graciax8
29-Feb-12 21:08pm
View
Hi Necron!
Im sorry I wasn't able to answer you fast. Im on leave. Anyways, try this query and tell if it is right.
SELECT SUM(a.att_duration as 'Total Class Hours'), min(sa.studentName) as 'studentName', SUM(CASE WHEN sa.sa_type = 'P' THEN att_duration end) AS 'Total Hours Attended'
FROM attendance AS a
LEFT OUTER JOIN student_attendance AS sa ON sa.attendanceID = a.attID
LEFT OUTER JOIN periods AS p ON p.perioID = a.attID
LEFT OUTER JOIN students AS s on s.studentID = sa.studentID
WHERE NOT sa.sa_type = 'N/A' AND a.att_courseID = '' AND a.att_periodID = ''
GROUP BY sa.studentID
If you have questions just comemnt and if this is helpful, mark as answer.
Best Regards,
@iamsupergrasya
graciax8
24-Feb-12 4:33am
View
check the datatype of the column. is it in the right datatype? thanks.
graciax8
24-Feb-12 4:21am
View
you wanted a view attendance query where after you selected the date, the result would be like:
Required Hours Student Name Attended Hours
30 hours Nancy Ping 15
is that like that?
graciax8
3-Feb-12 1:16am
View
what database? please complete your question so we can help you faster. :)
graciax8
31-Jan-12 22:59pm
View
thanks anuja. :)
graciax8
31-Jan-12 22:57pm
View
i suggest do it as a button and not as check box. if done as a button. all you need is to do tricks like unhiding the question you would like the applicant to answer. maybe in a placeholder like a panel.
you can do it dude. :)
graciax8
26-Jan-12 3:58am
View
try this one.
radData is the radiobuttonlist
Dim dt As DataTable
Dim con As New OdbcConnection(ConnStr)
Dim da As New OdbcDataAdapter("select * from phonebook limit 5", con)
con.Open()
Dim ds As New DataSet()
da.Fill(ds)
dt = ds.Tables(0)
radData.DataSource = ds
radData.DataTextField = "name"
radData.DataValueField = "idphonebook"
radData.DataBind()
graciax8
26-Jan-12 3:44am
View
just add the column on the SELECT statement
SELECT column>, column2, column3 FROM ...
graciax8
26-Jan-12 3:02am
View
you're welcome ;)
graciax8
26-Jan-12 2:33am
View
you just used a comma to join the tables.
it's the same.
graciax8
26-Jan-12 2:21am
View
try this one.
SELECT d.depID, count(e.ID)
FROM tblDep AS d
LEFT OUTER JOIN tblEmp AS e
GROUP BY e.depID
HAVING count(e.ID) > 5
Show More