Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

No VB.Net experience - have questions

Status
Not open for further replies.

alwayslrN

IS-IT--Management
Jun 20, 2006
159
US
Hello VB.net experts.

I know nothing about VB.net, but about 6 years ago I took a VB course and created a couple of small applications and I also took a web class which included creating asp pages. That was also about 6 years ago. For my current job I have given one of our developers specifications for an application and I realize now that most of my specifications was based on both of my knowledge of VB and asp. Note, the developer's expertise is in PowerBuilder and he is creating this VB.net web application using on the job training.

I have been testing the application and there are cosmetic things that really need to be changed, but because I am not familiar with VB.net I am not sure if he can even do what I would like done. Therefore, before I go another step further I was hoping someone would not mind answering some questions for me.

I recall, mostly by going back to old code, that when using asp you would actually use asp code to build out the web display of information. Meaning I had a sql statement that returned data and then I had a loop that displayed the data that was returned and embeded that code in the html "<td>", "<tr>" to dynamically build the table and display the information. Even alternating the colors for each row (something I'd like the developer to do). Can that be done with VB.net or is it like VB where objects are being dropped on a page and in this case the web display is interperted?

Also, what are the best practices for displaying error messages? In VB it was the display of dialog boxes and displaying the messages?

Thank You so much, in advance for your help.
 
Depends on how the developer is loading the data into the page. if they are using something like a GRIDVIEW, DATALIST, or DETAILSVIEW, then they can set the page to look however they/you want. if he is building it with while loops and select statements it would be harder, but not impossible.

Custom error messages are up to the developer as well, they may have a specific LABEL on a page that they set the error text to. They may also use the ALERT popup.

With .NET you get ASP & VB6 on crack. They can do a lot more, but they get cranky sometimes.

Lodlaiden

Without Tek-Tips I would go Codal
-implementing random bugs for the sake of something to do.
 
Thanks for you reply Lodlaiden. I just got word back from the developer that he is using the DATAGRID control. Why do I feel like he did not understand my question?

Should I be asking him what he is using to code VB.NET? I ran by a bookstore real quick and saw there was something that gives a program the ability to have a design view and a HTML view. Did I not understand what I was reading? The developer sent me an email saying he not familiar with GRIDVIEW or DETAILSVIEW.
 
The DataGrid control has a property named AlternatingBackColor that does exactly what you want. To use it all the developer needs to do is:

DataGrid1.AlternatingBackColor = Color.LightBlue 'use whatever color you want

I used to rock and roll every night and party every day. Then it was every other day. Now I'm lucky if I can find 30 minutes a week in which to get funky. - Homer Simpson

Arrrr, mateys! Ye needs ta be preparin' yerselves fer Talk Like a Pirate Day! Ye has a choice: talk like a pira
 
It's just that simple..
And in the future, ASP.NET questions should be posted here, regarless of the language you are using..

forum855

Jim
 
ok Jim, but I did not have an ASP.NET question. I was basing my VB.NET question based on my old ASP knowledge.
 
Actually, not be picky, but it's a .net question regarding web development. The ASP.net forum is the place to be :) The .Net language in question is irrelevant.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top