Always write your own data access code yourself.. It's aids reusability and maintenance of ur codes later.. I'm not a fan of those datasource controls,though it aids rapid application development but can b a bitch during maintenance
On 4/29/11, Davej <[email protected]> wrote: > It creeps me out that I have lines such as; > > SelectCommand="SELECT * FROM [Employees] WHERE ([Username] = > @Username)"> > > on my *.aspx page. I'd really prefer to reveal as little as possible > about my database or code and indeed this line does not actually > appear on the rendered page, but how do you keep track of what is > rendered and revealed and what is kept hidden? I would prefer to keep > anything like this on the *.aspx.vb page which I know will never be > rendered or revealed in any form. > > I'm a raw beginner at ASP.NET so I don't really know what I'm doing > yet, but this sort of thing is distracting me from moving forward. > I've heard plenty of hacking horror stories. Advice appreciated. > Thanks. > > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > Web Services,.NET Remoting" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
