Solved

Create HTML table in ASP.NET using MS SQL Stored Proc

Posted on 2006-10-31
3
208 Views
Last Modified: 2006-11-18
Hi,

I need to create a html table based on a sql query in asp.net.  I want to call a stored procedure in MS SQL Server that will do this for me.  I would use a datagrid BUT i have to use a button in multiple cells [the last two columns].  I will then need to be able to click on the button and do an update query and disable the button.

Can someone please help me with this.



Thanks!
J2006
0
Comment
Question by:joan2006
  • 2
3 Comments
 
LVL 13

Expert Comment

by:jeebukarthikeyan
ID: 17842054
hi,

1.take the output form the stored procudure
2.store it in a dataset.
3.loop the dataset
4.create stringbuilder obj
5.create an html table with the stringbuilder
6.assing the string builder text to a label control
   lblhtml.Text=strobj.ToString()


b u d d h a
0
 

Author Comment

by:joan2006
ID: 17842136
buddha ... i am fairly new to asp.net... is there a site where i can go to view some code on how to do this?
0
 
LVL 13

Accepted Solution

by:
jeebukarthikeyan earned 500 total points
ID: 17842300
hi,

follow this link

http://aspnet.4guysfromrolla.com/articles/091102-1.aspx

it may help u
b u d d h a
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now