Click here to Skip to main content
15,850,685 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionhow to use menu control using database... Pin
hi_everybody10-Feb-10 20:42
hi_everybody10-Feb-10 20:42 
QuestionModalPopupExtender confirmation not working in <asp:CommandFiel in grid view Pin
Vishnu Narayan Mishra10-Feb-10 19:59
Vishnu Narayan Mishra10-Feb-10 19:59 
QuestionHow to refresh Parent particular griview? Pin
JC.KaNNaN10-Feb-10 19:53
JC.KaNNaN10-Feb-10 19:53 
AnswerRe: How to refresh Parent particular griview? Pin
Gaurav Dudeja India10-Feb-10 19:56
Gaurav Dudeja India10-Feb-10 19:56 
GeneralRe: How to refresh Parent particular griview? Pin
JC.KaNNaN10-Feb-10 20:50
JC.KaNNaN10-Feb-10 20:50 
QuestionHow to assign the total value of a column to the footer? Pin
TeiUKei10-Feb-10 19:34
TeiUKei10-Feb-10 19:34 
AnswerRe: How to assign the total value of a column to the footer? Pin
Gaurav Dudeja India10-Feb-10 19:54
Gaurav Dudeja India10-Feb-10 19:54 
NewsGoogle API - graph Pin
Member 395625710-Feb-10 19:17
Member 395625710-Feb-10 19:17 
Hi all,

Use the google graph API if you need any graph requirement in your application, its really good

See the example:

<html>
<head>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load("visualization", "1", {packages:["piechart"]});
google.setOnLoadCallback(drawPieChart);
// google.load("visualization", "1", {packages:["barchart"]});
// google.setOnLoadCallback(drawBarChart);


function drawBarChart() {
// Create and populate the data table.
var data = new google.visualization.DataTable();
data.addColumn('string', 'Year');
data.addColumn('number', 'Sales');
data.addColumn('number', 'Expenses');
data.addColumn('number', 'Expenses1');
data.addColumn('number', 'Expenses2');
data.addColumn('number', 'Expenses3');
data.addColumn('number', 'Expenses4');
data.addColumn('number', 'Expenses5');
data.addColumn('number', 'Expenses6');
data.addColumn('number', 'Expenses7');
data.addColumn('number', 'Expenses8');
data.addColumn('number', 'Expenses9');

data.addRows(1);

data.setValue(0, 0, '');
data.setValue(0, 1, 1000);
data.setValue(0, 2, 400);
data.setValue(0, 3, 700);
data.setValue(0, 4, 40);
data.setValue(0, 5, 90);
data.setValue(0, 6, 480);
data.setValue(0, 7, 120);
data.setValue(0, 8, 100);
data.setValue(0, 9, 400);
data.setValue(0, 10, 200);
data.setValue(0, 11, 100);

new google.visualization.BarChart(document.getElementById('chart_div')).
draw(data, {width: 600, height: 440, is3D: true});
}


function drawPieChart() {
var data = new google.visualization.DataTable();
data.addColumn('string', 'Expense Item');
data.addColumn('number', 'Expense');

data.addRows(8);

data.setValue(0, 0, 'Food');
data.setValue(0, 1, 11);
data.setValue(1, 0, 'Drinks');
data.setValue(1, 1, 2);
data.setValue(2, 0, 'Cinima');
data.setValue(2, 1, 2);
data.setValue(3, 0, 'party');
data.setValue(3, 1, 2);
data.setValue(4, 0, 'smoke');
data.setValue(4, 1, 7);
data.setValue(5, 0, 'smoke2');
data.setValue(5, 1, 7);
data.setValue(6, 0, 'smoke3');
data.setValue(6, 1, 7);

new google.visualization.PieChart(document.getElementById('chart_div')).
draw(data,{width: 600, height: 440, is3D: true});
}

</script>
</head>

<body>
<div id="chart_div"></div>
</body>
</html>
dhdh

GeneralRe: Google API - graph Pin
nainakarri10-Feb-10 19:58
nainakarri10-Feb-10 19:58 
GeneralRe: Google API - graph Pin
Member 395625710-Feb-10 20:36
Member 395625710-Feb-10 20:36 
GeneralRe: Google API - graph Pin
Anurag Gandhi10-Feb-10 21:42
professionalAnurag Gandhi10-Feb-10 21:42 
QuestionFind How many Enter Key Press Pin
sjs4u10-Feb-10 18:55
sjs4u10-Feb-10 18:55 
AnswerRe: Find How many Enter Key Press Pin
Anurag Gandhi10-Feb-10 19:19
professionalAnurag Gandhi10-Feb-10 19:19 
Questionon keypress enter to submit login details IE is working but in firefox not working Pin
Nath10-Feb-10 16:40
Nath10-Feb-10 16:40 
QuestionCalling webservice Pin
Ramkithepower10-Feb-10 16:33
Ramkithepower10-Feb-10 16:33 
AnswerRe: Calling webservice Pin
Pranay Rana10-Feb-10 19:18
professionalPranay Rana10-Feb-10 19:18 
AnswerRe: Calling webservice Pin
sashidhar10-Feb-10 19:24
sashidhar10-Feb-10 19:24 
GeneralRe: Calling webservice Pin
Ramkithepower11-Feb-10 7:03
Ramkithepower11-Feb-10 7:03 
GeneralRe: Calling webservice Pin
sashidhar11-Feb-10 18:43
sashidhar11-Feb-10 18:43 
QuestionWorking with Memory Streams Pin
Hema Bairavan10-Feb-10 8:19
Hema Bairavan10-Feb-10 8:19 
AnswerRe: Working with Memory Streams Pin
Steve Wellens10-Feb-10 8:49
Steve Wellens10-Feb-10 8:49 
GeneralRe: Working with Memory Streams Pin
Hema Bairavan10-Feb-10 9:11
Hema Bairavan10-Feb-10 9:11 
GeneralRe: Working with Memory Streams Pin
Steve Wellens10-Feb-10 9:16
Steve Wellens10-Feb-10 9:16 
GeneralRe: Working with Memory Streams Pin
Hema Bairavan10-Feb-10 9:21
Hema Bairavan10-Feb-10 9:21 
AnswerRe: Working with Memory Streams Pin
i gr810-Feb-10 19:18
i gr810-Feb-10 19:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.