 |
| ASP.NET 3.5 Professionals If you are an experienced ASP.NET programmer, this is the forum for your 3.5 questions. Please also see the Visual Web Developer 2008 forum. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the ASP.NET 3.5 Professionals section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

July 13th, 2011, 09:56 AM
|
|
Registered User
|
|
Join Date: Jul 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
filling sql table from gridview programatically
I don't want to waste my time as per advice given by some people.....
Last edited by sherinpaulose; July 15th, 2011 at 02:02 PM..
|
|

July 13th, 2011, 12:20 PM
|
|
Friend of Wrox
|
|
Join Date: Jul 2003
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
|
|
I really don't understand what you are asking.
Can you please explain what you are doing and what the end result needs to be?
Willing to help.
|
|

July 13th, 2011, 02:12 PM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Could be me, but I still don't have a clue what you're saying, or asking, or want to accomplish. Something to do with the weather and SQL Server; that's all I got from it....
Imar
|
|

July 13th, 2011, 02:29 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
|
|
It's not you Imar.. I don't have a clue on what he needs or what he want to achieve...
Quote:
| outlook |
< overcast >
| yes |
< rainy >
| wind |
< strong >
| no |
< weak >
| yes |
< sunny >
| humidity |
< high >
| no |
< normal >
| yes |
this result means;
here outlook is an attribute with 3 values -overcast,rainy and sunny.
|
How we supossed to understand this?? Outlook is just there, but there is no relation with all the other values..
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|
|

July 14th, 2011, 08:57 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
|
now i think you can understand,please help me...
|
No, I don't. And I give up, as you're not explaining things clearly, but merely keep repeating yourself without posting your current code, the stuff you're trying to accomplish, a detailed problem description, the exact question you have, and so on and so forth. I doubt posters on the this forum are willing to read up on the ID3 classification algorithm (interesting as it may be), just to get a better understanding of your question.
Sorry it didn't work out.
Imar
|
|

July 14th, 2011, 09:39 AM
|
 |
Wrox Author
|
|
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
|
|
Quote:
|
i want that gridview result that table format
|
Aha!
Imar
|
|

July 14th, 2011, 10:48 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
|
|
Ok, I think I get it.. you are trying to show your tree in a grid view??
I think, you will have to manually do that.. the grid view, show grids, not trees :)
If that's not the problem, well.. I still didn't get it then :)
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|
|

July 14th, 2011, 02:03 PM
|
|
Friend of Wrox
|
|
Join Date: Jul 2003
Posts: 599
Thanks: 6
Thanked 3 Times in 3 Posts
|
|
OK... You have an algorithm. You have some code that actually seems to be working and gives you a result set.
Now... What's the problem? Is the data showing up in your Gridview? Is your code working? Are you getting any errors?
Is it that you only want to know how to format a gridview? You still have never stated, at least to what I'm reading.
Are you trying to enter data into a gridview?
Why do you need to put data into a sql data table? You mean save the data to a sql database?
Just don't see anything here to help you with.
|
|

July 14th, 2011, 02:17 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
|
|
AHHH you should have started telling us that..
If you can fill a grid, you can fill any type of grid ;). That includes a database..
You are using an array list.. just transverse the arraylist filling the necesary data in your row from each property on the class and that it...
You need help on which aspect of it?? if you did all this, storing it on a database should be no problem...
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|
|

July 15th, 2011, 10:02 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
|
|
First of all, stop posting the same info again and again.
Second, if you build a list that you can use to fill the gridvies, that same list can be used to fill a database!
You will have to manually look for each record and store it.
__________________
HTH
Gonzalo
================================================== =========
Read this if you want to know how to get a correct reply for your question.
(Took that from Doug signature and he Took that from Peter profile)
================================================== =========
My programs achieved a new certification :
WORKS ON MY MACHINE
================================================== =========
I know that CVS was evil, and now i got the proof.
================================================== =========
|
|
 |