16,004,761 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 .NET 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 JT1992 (Top 97 by date)
JT1992
8-Mar-17 11:50am
View
yeah i realized that the moment i created a global variable class that its worthless to do that. thanks dave for the eye opener. i just realized how "memento" like the server really is.
JT1992
8-Mar-17 9:08am
View
sorry about that. i am trying to create a variable which is global and using the things in the what have i tried field. thank you!
JT1992
7-Mar-17 10:24am
View
oh thank you. i understand why this was happening. i thought just making the td 150 would make everything be that way. Thank you sir!
JT1992
7-Mar-17 10:12am
View
hey thanks took a while to figure out but i created a dataset and paging to show 1k records max at a time. its faster and more efficient.
JT1992
3-Mar-17 15:52pm
View
"Okay so you need to make up your mind as to what your actual question is. The once you figure that out, research that." if i needed to research that i would have done that without posting a question. i needed a suggestion and the person below who has been helping me below in the answer panel has done it without any rudeness. i am new to .net so haven't worked with any of these things before in my life. and pretty sure you don't learn a new technology with someone saying keep researching. i did that hit a deadspot thats why i came here for a suggestion.
JT1992
3-Mar-17 12:12pm
View
but how would i be able to create the column names. i know you can create it in the create table statement. but how would i know what each column name will be.
JT1992
3-Mar-17 11:56am
View
okay i am trying to read an excel spreadsheet, then create an access table with the same data. so basically read excel and write to access database table. each excel will have different column names and i would never know the exact name. however, i have to create a table each time i read a new excel spreadsheet. and hey thank you so much for the help. really appreciate.
JT1992
3-Mar-17 11:39am
View
thats the issue i cant create a table dynamically. each spreadsheet will have different column names. or maybe i am thinking too much
JT1992
3-Mar-17 11:37am
View
thanks for the help. i understand you probably know the answer to my question but cut out the rudeness everyone learns from blogs and posts. and my question above does state that i need help creating a table with excel column names. but once again thanks for the help
JT1992
3-Mar-17 11:32am
View
i really dont know how to create different tables with different column names dynamically depending on spreadsheet. please help i am really lost.
JT1992
3-Mar-17 11:32am
View
yes but nothing is helping me find a way to use the excel sheet columns as my column names to create a table or how to do that.
JT1992
3-Mar-17 11:28am
View
i dont know how to open access and do the querying.
JT1992
3-Mar-17 11:27am
View
yes i know how to open an excel spreadsheet but how can i connect to access and basically copy that excel spreadsheet create a table using the column names dynamically and then insert all the rows within each column. all row cells will be in a text format. i really need help sir anything will do.
JT1992
3-Mar-17 9:55am
View
but this requires a pricing? is there no other code way to be able to do this?
JT1992
3-Mar-17 9:27am
View
i am really confused what did you do in order to achieve the bigger excel spreadsheets. i need to display them all. desperately seeking help.
JT1992
3-Mar-17 9:26am
View
but i have to display all 100000 rows and columns how is it possible to do this through my code above with paging. i am really confused
JT1992
2-Mar-17 15:42pm
View
how am i supposed to page with the code above is there a way i would be able to do so>
JT1992
9-Nov-16 10:26am
View
can you check my comment please thanks
JT1992
9-Nov-16 10:26am
View
can you check my comment please thanks
JT1992
9-Nov-16 10:26am
View
aything???
JT1992
7-Nov-16 14:27pm
View
What would i do if the user selects item Test1 and then unselects item Test1. how can i add it back into the list for the other drop downs if the user unselects item Test1 in dropdownlist1?
JT1992
7-Nov-16 9:25am
View
What would i do if the user selects item Test1 and then unselects item Test1. how can i add it back into the list for the other drop downs if the user unselects item Test1 in dropdownlist1?
JT1992
4-Nov-16 15:41pm
View
where can i add this in as an event? i have no buttons to do this. and it needs to happen dynamically.
JT1992
12-Oct-16 14:43pm
View
so there is absolutely no way to add another gridview to another tab using my code above?
JT1992
11-Oct-16 13:51pm
View
Deleted
what i want to do is if the condition of the row is "blah" then add the row to gridview1 otherwise add to gridview2
JT1992
11-Oct-16 13:44pm
View
its adding everything instead of specific rows in specific gridview
JT1992
11-Oct-16 13:31pm
View
Deleted
any idea on what i need to do i am seriously lost!
JT1992
11-Oct-16 12:55pm
View
yes ofcourse. but still i am getting all rows in both gridviews. i dont want that. not sure what i am doing wrong.
JT1992
15-Aug-16 13:35pm
View
you rock thank you will accept this solution as soon as i am able to get this done.
JT1992
15-Aug-16 12:30pm
View
so basically i want to have an image of an attachment, that will be a file upload kind of feature which will save the file uploaded into a database.
JT1992
15-Aug-16 12:30pm
View
Deleted
so basically i want to have an image of an attachment, that will be a file upload kind of feature which will save the file uploaded into a database.
JT1992
15-Aug-16 12:27pm
View
but is there a feature or tool that i need to use from the toolbox in order to do so?
JT1992
15-Aug-16 12:11pm
View
i am not sure how to do this.
JT1992
15-Aug-16 11:38am
View
is there a code example that i can use for this?
JT1992
15-Aug-16 11:37am
View
yes and even a file upload feature if thats possible.
JT1992
20-Jul-16 15:47pm
View
god dang it it worked. haha. i was confused but mission accomplished. marking this as the answer. thanks man.
JT1992
7-Jul-16 13:31pm
View
hey yes i was able to add the drop downs and i updated the code below. however, my issue is this only gives me one item from each drop down everytime i click on the button. however, lets say i select borough, addressno and street, i want to know which id each one has. that was my confusion.
JT1992
7-Jul-16 12:00pm
View
i was able to add a couple things to the gridview however, i still am not able to see the drop down on the page. Look at the fourth solution i will delete it. this is the code i have. if you see that there is no dropdown.
JT1992
7-Jul-16 11:30am
View
hey yes i did but i am not sure how i can bind the data grid view.
JT1992
7-Jul-16 10:14am
View
the thing is i dont know how to get the id of the dropdown object selected, as well as how to tell if one of the items from the dropdown was selected. like i am lost not sure why
JT1992
23-Jun-16 16:01pm
View
the aspx in this code is not working. not sure why.
JT1992
23-Jun-16 11:17am
View
okay where would i put the handler. i am adding the dropdowns dynamically on page load however i want to know which drop down items are selected with the texts test, test 2, and test 3 by knowing which id has been selected. how can i add this handler to the button, and then msgbox the id selected.
JT1992
23-Jun-16 10:57am
View
i am not sure how to get the id. because i am dynamically adding the drop down depending on the rows. so lets say if i select value test from one drop down and value test 2 from another how would i know which id i selected?
JT1992
23-Jun-16 10:07am
View
if you want i can post the entire code of that page to make it easier for you
JT1992
23-Jun-16 10:07am
View
ahh i am not really sure how i would be able to do that. is it possible to do it with the code i have above?
JT1992
22-Jun-16 15:45pm
View
http://i.stack.imgur.com/YxZAV.png
like this
JT1992
22-Jun-16 15:43pm
View
because i believe you think that the drop down lists are inside the gridview in which they are not they are separate div objects. but i want to know when i select like lets say a value called test from the drop down. i want to know which drop down list object i selected.
JT1992
22-Jun-16 15:43pm
View
hey is there a way i can show you an image of what my page will look like?
JT1992
22-Jun-16 10:18am
View
really appreciate the help once again.
JT1992
22-Jun-16 9:12am
View
awesome thanks a lot.
JT1992
22-Jun-16 9:07am
View
thats the issue its outside. not sure how to test this code :/
JT1992
21-Jun-16 15:59pm
View
what if i wanted this event to trigger on a click of a button? and then pop out a message box?
JT1992
21-Jun-16 14:55pm
View
so is there a way to test this using a messagebox? just to get the value row index?
JT1992
21-Jun-16 14:44pm
View
but then how will i know which row the selected index was? like lets say if i select the 5th out of 20 drop down list item. how would i see the fifth one was selected?
JT1992
21-Jun-16 14:39pm
View
thanks vincent. i am confused in where i would be able to add this handler.
JT1992
21-Jun-16 12:28pm
View
wait i am lost i dont get it so what should i use for code for the event handler?
the one listed above gives me to use a RaiseEvent Statement
JT1992
21-Jun-16 11:59am
View
ahh let me try this and i will give you a quick reply. this seems to be what i was looking for.
JT1992
10-May-16 18:54pm
View
Accepted your solution as this looks right. I'll test it tomorrow. Please vote for this question for future guests who need help with this.
JT1992
10-May-16 18:29pm
View
Can you post the code that you tried in c#
JT1992
10-May-16 17:15pm
View
still facing the same issue doing that as well. :/
JT1992
10-May-16 17:05pm
View
Thank you Matt. How would i enclose brackets in "apple" or "apple 1" because i have to have a space for this property value.
JT1992
9-May-16 15:06pm
View
thanks worked. please upvote the question for future guests
JT1992
6-May-16 15:42pm
View
upvote it
thanks
JT1992
6-May-16 15:28pm
View
please upvote the question and see my comment below. you rock!
JT1992
6-May-16 15:28pm
View
upvote this question this needs to go viral with your reply lol
JT1992
6-May-16 15:27pm
View
lmao. you rock! that is exactly what i was doing nesting the loop in another loop.
JT1992
6-May-16 15:05pm
View
how do i loop this once i am not sure?
JT1992
5-May-16 15:10pm
View
do i need to add anything in an array? I tried it didn't work
JT1992
5-May-16 10:02am
View
added my asp source for the gridview.
JT1992
5-May-16 9:47am
View
i just want to show all four columns. however, i am only either getting x,y coordinate being read or latitude, longitude to appear on the grid view.
is there a problem in my code?
JT1992
5-May-16 9:43am
View
there is no issue. i want to have my grid view edit. i need the code. help! if you can
JT1992
4-May-16 10:49am
View
how would i be able to do that? is there a code sample i can use? or maybe you can help me code this issue?
JT1992
3-May-16 14:41pm
View
There are no exceptions i just want to make this gridview editable and updateable and deleteable column wise. when i press edit it should edit a column from a row. when i press delete it should delete that whole column. Basically like that
JT1992
3-May-16 14:25pm
View
Anything?
JT1992
3-May-16 11:05am
View
it should update the page and the spreadsheet. and if we cant update the spreadsheet then the page alone is fine.
JT1992
2-May-16 14:11pm
View
lol. good one!
JT1992
2-May-16 14:10pm
View
Perfect!. Thanks a lot
JT1992
2-May-16 13:20pm
View
yes thats correct! i want a line break between each and that error to dissappear
JT1992
2-May-16 12:29pm
View
the whole thing above the line. my issue is that i dont want to receive that warning.
JT1992
27-Apr-16 10:05am
View
Refer to Solution 3 it should work.
JT1992
26-Apr-16 16:48pm
View
Isn't a grid view rendered as a table how would that make any difference?
JT1992
26-Apr-16 15:58pm
View
Can you provide a code example from my code please?
JT1992
26-Apr-16 15:08pm
View
no problem. that was a very good example of using a loop. Thank you .
JT1992
26-Apr-16 14:59pm
View
Thank you. would really appreciate if i was given more than 1 star for this post since it was new to me. Thanks.
JT1992
25-Apr-16 9:40am
View
I dont want the items under the employee column. I want to display the count(*) of all columns in the employee table to be the number of combo boxes i display in the page.
JT1992
22-Apr-16 16:32pm
View
Dim cbox As New ComboBox()
cbox.Items.Add("test")
'Controls.Add(cbox)
is what creates the combobox dynamically.
However i want the count of comboboxes added to be the count of this DataGridView1.Rows(0).Cells.Count
so lets say if DataGridView1.Rows(0).Cells.Count = 15
i want to populate 15 drop down objects above the data grid view
JT1992
22-Apr-16 16:32pm
View
I understand as i am new i will look more into this but this is required on my side if you can help that would be a really good thing.
JT1992
22-Apr-16 16:23pm
View
Deleted
Dim cbox As New ComboBox()
cbox.Items.Add("test")
'Controls.Add(cbox)
is what creates the combobox dynamically.
However i want the count of comboboxes added to be the count of this DataGridView1.Rows(0).Cells.Count
so lets say if DataGridView1.Rows(0).Cells.Count = 15
i want to populate 15 drop down objects above the data grid view
JT1992
22-Apr-16 16:20pm
View
No i am not sure of how to do loops i am still learning in college and wanted to know how to do loops in this situation. Please Help. Thanks
JT1992
22-Apr-16 13:13pm
View
not exactly sure how to do that. could you give a code basis i can use?Like an example would help a lot.
JT1992
22-Apr-16 13:02pm
View
Nice thanks i was able to create a drop down but how would i be able to have it match the number of columns. like is there a code example you can give me for that? lets say if the grid view has 20 columns then i want 20 drop downs in VB please
JT1992
22-Apr-16 11:33am
View
i want 20 drop downs if there are 20 columns in the grid view.
JT1992
22-Apr-16 11:33am
View
windows Forms application*
JT1992
22-Apr-16 10:59am
View
The number of columns is determined by the data binding. and yes the grid is already on there when being loaded. for now i am using a wpf page in which i want to be able to get this code first and them move it to a ASP.net windows forms page.
in the comboboxes i just want some items like test, test 1 or test 2 something like that.
JT1992
22-Apr-16 10:51am
View
Sorry i am new to programming and wanted some help. i posted the question above in which the number of comboboxes on the page will be added via the number of columns count.
JT1992
22-Apr-16 10:50am
View
Deleted
Sorry i am new to programming and wanted some help. i posted the question above in which the number of comboboxes on the page will be added via the number of columns count.
JT1992
22-Apr-16 10:41am
View
i tried creating a variable cbox as new combobox() and gave it a width and height however i am unable to get anything
Show More