![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Best practices Hi everybody. I´m starting with C# and .NET. So, I have some difficulties with some codes. I´m already a programmer and I´m migrating from Delphi to C#. My questions are: 1) Into a form I´ve made my connection string and my SqlConnection variable. Now, I want use this connection to insert data from the form into table and, of course, get some data from a table for a search. My doubt is that to much people adviced me to don´t use DataSets ´cause they´re slow and get to much system´s memory. So, how do I retrieve and insert this data without DataSets? I read a lof ot tutorials but each of show a differente manner and opinion. 2) Is there a manner to use dataBingding without DataSet? Thanks for help! Willian Lopes |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Best practices William, The Best practise is not to multipost in dotNet newsgroups. Use crossposting if you want. I have answered in an other newsgroup on this message. Cor "Willian Lopes" <profwillian@xxxxxx> schreef in bericht news:eKc6WmJtIHA.3804@xxxxxx Quote: > Hi everybody. > I´m starting with C# and .NET. So, I have some difficulties with some > codes. I´m already a programmer and I´m migrating from Delphi to C#. My > questions are: > > 1) Into a form I´ve made my connection string and my SqlConnection > variable. Now, I want use this connection to insert data from the form > into table and, of course, get some data from a table for a search. My > doubt is that to much people adviced me to don´t use DataSets ´cause > they´re slow and get to much system´s memory. So, how do I retrieve and > insert this data without DataSets? I read a lof ot tutorials but each of > show a differente manner and opinion. > > 2) Is there a manner to use dataBingding without DataSet? > > Thanks for help! > > Willian Lopes |
My System Specs![]() |
| | #3 (permalink) |
| | Re: Best practices On 12 maio, 22:35, "Willian Lopes" <profwill...@xxxxxx> wrote: Quote: > Hi everybody. > I´m starting with C# and .NET. So, I have some difficulties with some codes. > I´m already a programmer and I´m migrating from Delphi to C#. My questions > are: > > 1) Into a form I´ve made my connection string and my SqlConnection variable. > Now, I want use this connection to insert data from the form into table and, > of course, get some data from a table for a search. My doubt is that to much > people adviced me to don´t use DataSets ´cause they´re slow and get to much > system´s memory. So, how do I retrieve and insert this data without > DataSets? I read a lof ot tutorials but each of show a differente manner and > opinion. > > 2) Is there a manner to use dataBingding without DataSet? > > Thanks for help! > > Willian Lopes Answering the first: You can create a LIST<> of object that can be bindable into some data components. Answering the second: Yes, there is! The same mentioned above. []´s Breno. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| VPC Naming Conventions/Best Practices Question | Virtual PC | |||
| Hyper V best practices and questions | Virtual Server | |||
| Best practices for GUI of what called in MFC custom controls | .NET General | |||
| Best practices? | PowerShell | |||
| Variable scopes. Best practices? | PowerShell | |||