C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




displaying retrieved records(pls urggeeeeennt)


Posted Date: 31 Jul 2006      Total Responses: 0

Posted By: mogi kumar       Member Level: Gold     Points: 2


<hr>
<%



Dim dr As OleDbDataReader
Dim con As OleDbConnection
Dim cncmd As OleDbCommand
con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\admin\My Documents\mohan\userdetails.mdb")
Dim str
str = "select * from jobdetail where recloc='" & txtloc.Value & "' and recexp=" & exp.SelectedValue & " and recskil='" & txtkey.Value & "' "
'and and recskil='" & txtkey.Value & " "
' str = "select * from jobdetail where recloc='coimbatore' "
cncmd = New OleDbCommand(str, con)
cncmd.Connection.Open()
dr = cncmd.ExecuteReader()

While dr.Read()
%>
<br>
<table width="75%" align="center">
<tr>
<td>
<asp:CheckBox ID="c1" Runat="server"></asp:CheckBox></td>
<td><font color="blue" size="+1"><% =dr("recpost")%>
(<% = dr("recexp") %>Years)</font>
<br>
<b>
<% = dr("reccname")%>
</b>
<br>
<b>Location:</b><% = dr("recloc")%>
<br>
<%=dr("recjob")%>
</td>
<td align="center">
<font color="blue"><b>
<%

dim a,b
a=dr("recdate")
b = Format(a, "MMM/dd")

response.write(b)
%>
</b></font>
</td>
</tr>
</table>
<%

end while
cncmd.connection.close()

%>
<div align="center"><input type="submit" id="btnapp" runat="server" value="APPLY"></div>
</form>
</body>
</HTML>

this is my code to display the data in table format.here i added in checkbox.
now i want get data which checkbox was clickded.

how ?.

any other control display the record?.




Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Post Reply
You must Sign In to post a response.
Next : How to view Printer Dialog in ASP.NET
Previous : displaying retrieved records(pls urggeeeeennt)
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

silicone halloween mask

Contact Us    Privacy Policy    Terms Of Use