16,018,458 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Abhijit Barua (Top 8 by date)
Abhijit Barua
27-Jun-12 7:58am
View
i check all this link previously.
Abhijit Barua
27-Jun-12 7:58am
View
thank you...
gridview bind properly but i got problem at binding datalist.
Abhijit Barua
26-Jun-12 3:55am
View
thank you,
i have datalist with itemtemplate have label like below...
<asp:DataList ID="DataList1" runat="server">
<itemtemplate>
<table><tr><td><asp:Label ID="Label3" runat="server"></td></tr>
<tr><td> <asp:Label ID="Label4" runat="server"></td></tr>
</table>
i use webservice to send data to json....i got data at json...and i use jquery to bind datalist like below...
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$("#getData").click(function () {
$.ajax({
url: "WebService.asmx/GetStudents",
data: "{}",
dataType: "json",
type: "POST",
contentType: "application/json; charset=utf-8",
success: function (data) {
$(data.d).each(function (index, item) {
var lable = document.getElementById("<%=Label3.ClientID %>");
for (var i = 0; i < data.d.length; i++) {
//here what i have to write.........
};
});
},
error: function (a, b, c) {
}
});
});
});
</script>
but i not able to bind datalist. plz help me....
Abhijit Barua
25-Jun-12 3:55am
View
sir, how i have to write the css class for label(or what i have to write) plz help me.
Abhijit Barua
23-Jun-12 5:14am
View
Deleted
thank you sir,
i try like below. i have master page. i give code below plz help me.
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default8.aspx.cs" Inherits="Default8" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" Runat="Server">
<style type="text/css">
.labelStyle
{
color:red;
background-color:yellow;
border:Solid 2px Red;
}
.labelStyle1
{
color:red;
background-color:yellow;
border:Solid 2px Red;
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<%-- <script type="text/javascript" src="Scripts/jquery-1.4.1.min.js"></script>--%>
<script type="text/javascript">
$(document).ready(function () {
$("#getData").click(function () {
// var table = $("#tableID").show();
// table.find("tr+tr").remove();
$.ajax({
url: "WebService.asmx/GetStudents",
data: "{}",
dataType: "json",
type: "POST",
contentType: "application/json; charset=utf-8",
success: function (data) {
$(data.d).each(function (index, item) {
for (var i = 0; i < data.d.length; i++) {
$('.labelStyle').text(item.Id);
$('.labelStyle1').text(item.name);
};
});
},
error: function (a, b, c) {
}
});
});
});
</script>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
Get data
<asp:DataList ID="DataList1" runat="server">
<itemtemplate>
<table><tr><td><asp:Label ID="Label3" runat="server" CssClass="labelStyle"></td></tr>
<tr><td> <asp:Label ID="Label4" runat="server" CssClass="labelStyle1"></td></tr>
</table>
Abhijit Barua
21-Nov-11 7:09am
View
u can c this link
http://www.daniweb.com/software-development/csharp/threads/232662
http://www.dotnetboss.com/2010/04/27/how-to-get-mac-address-using-c/
Abhijit Barua
21-Nov-11 7:05am
View
Hi Rupanjana, U can check these link below..
http://www.astahost.com/info/tiiipi-hide-source-code-hide-source-code.html
You can hide, but better u use ajax where it suitable and do server side codding more.
Abhijit Barua
18-Nov-11 7:23am
View
@Mehdi & Smiters do u know how to convert all vedio format to .flv at the time of browse and save .flv file to folder and display at .flv player.If u know then reply otherwise don't comment like this.(I alredy done .wmv file upload to folder and display using media player plugin).
Show More