Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:796663
More Search Options
RSS Available
Matching Posts
Working with Dataset
Hi there I am getting data from webservice to dataset, In each request i have to take only top 5 records and again i have to merge dataset with new request top 5 records better understanding refer the code below but its not working fine whats wrong in this or we can achieve this in any other way please let me know sr = new StringReader("WEBSERVICE METHOD").OuterXml); ds.ReadXml(sr); if (Session["TAFResult"] != null) { if (ds.Tables.Count > 0) { var req = ds.Tables["flight"
Posted to
Getting Started
(Forum)
by
Ramganeshv
on 12/2/2009
Re: Working with Dataset
Hi there When i try to Execute this line DataTable dtDatainService = (DataTable)(final); its showing the following error Unable to cast object of type '<TakeIterator>d__3a`1[System.Data.DataRow]' to type 'System.Data.DataTable'. Thanks
Posted to
Getting Started
(Forum)
by
Ramganeshv
on 12/2/2009
Re: How to sort Integer filed in gridview when we bind data from XML File
Hi There below coding helped me to sort DataSet ds= gettingdatafromwebservice(); if (ds.Tables.Count > 0) { DataTable dv = new DataTable(); dv = ds.Tables["Flight"]; EnumerableRowCollection<DataRow> query = from fresult in dv.AsEnumerable() orderby Decimal.Parse(fresult .Field<string>("priceAdult")) ascending select order; DataView view = query.AsDataView(); GridView1.DataSource = view; GridView1.DataBind(); } here the " priceAdult " field is coming as
Posted to
Data Presentation Controls
(Forum)
by
Ramganeshv
on 11/27/2009
Re: How to sort Integer filed in gridview when we bind data from XML File
Hi there Can any one post sample code and its consuming large amount of data Thanks
Posted to
Data Presentation Controls
(Forum)
by
Ramganeshv
on 11/25/2009
How to sort Integer filed in gridview when we bind data from XML File
Hi there I am getting data from Webservice in XML format. Then i am binding those datas to gridview in codebehind. My problem is I am receiving all the fileds in string format , i cant sort the field which holds the integer data, i cant sort it. The code samples will make you understand better MY XML RESULT LIKE THIS <?xml version="1.0" encoding="utf-8" ?> - <root> - <currencies> <currencyid>1</currencyid> <currencyCode>GBP</currencyCode>
Posted to
Data Presentation Controls
(Forum)
by
Ramganeshv
on 11/21/2009
Re: How to sort Integer filed in gridview when we bind data from XML File
Hi But i dont have that XML file in local, that one is sample. Really i am getting that XML data using Webservice. So i cant add anything in that. In real time i need to get Price (Money) from web service. I need to allow user to sort it by default it should be in ASC order. Thanks
Posted to
Data Presentation Controls
(Forum)
by
Ramganeshv
on 11/21/2009
Re: How to sort Integer filed in gridview when we bind data from XML File
Hi But i dont have that XML file in local, that one is sample. Really i am getting that XML data using Webservice. So i cant add anything in that. In real time i need to get Price (Money) from web service. I need to allow user to sort it by default it should be in ASC order. Thanks
Posted to
Data Presentation Controls
(Forum)
by
Ramganeshv
on 11/21/2009
Re: Why is the Text Field inaccessible?
Hi there 1. Check the name txtGameName is exact the same in Design page and code behind 2.Check the textboxt txtGameName Contains the Property runat="Server" 3.Check the design page top you have properly reffered the code behind page like <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="index" %>
Posted to
Getting Started
(Forum)
by
Ramganeshv
on 11/20/2009
Re: Why Do I Loose my Images and CSS
Hi Krish Hi krish try this <head> <link rel="stylesheet" href="<%=ResolveUrl("~/App_Themes/menu.css")%>" type="text/css" /> <link rel="stylesheet" href="<%=ResolveUrl("~/Foldername/menu1.css")%>" type="text/css" /> </head> Just refer your CSS like this in ur every page Head tag
Posted to
Getting Started
(Forum)
by
Ramganeshv
on 11/20/2009
How to change Date Format
Hi there I am getting Date Field like this through web service "23/12/2009 00:00:00" How to change this like " Wed, 23 Dec 09 " using C#. Thanks in Advance
Posted to
Getting Started
(Forum)
by
Ramganeshv
on 11/19/2009
Page 1 of 7 (66 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
TechNet Edge:
ISA to TMG Migration Guidance
Channel 9:
Life at Microsoft: Episode 3
TechNet Edge:
Microsoft Windows Server 2008 to AITP
ASP.NET:
How important is medium trust to you?
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online