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:775871
More Search Options
RSS Available
Matching Posts
ImportRow returns empty rows but showing some count
Hi All, I want to copy certain rows from one datatable to another. plz just have a look at the code below. DataTable dtDest = new DataTable (); for ( int i = 0; i < dtSource.Rows.Count; i++) { if (dtSource.Rows[i][0].ToString() == "xy" ) { dtDest.ImportRow(dtSource.Rows[i]); } } Here dtSource has 10 rows and i can see the values in those 10 rows. am getting the correct count, dtDest .Rows.Count is 3. but with empty rows!!! why the dtDest doesnt display any values? but showing the right
Posted to
C#
(Forum)
by
ratheesh vijay
on 8/25/2009
Re: How to add the inner class object to the List<InnerClass> mentioned in the outer class?
Hi, thanks for the reply.. wht u hv wriiten is correct.. i had to initialse the list.. and after adding, ObjEEIDataTotal.Vehicles.Add(objVeh);// this gives me the desired output.. EEIListAll.Add(ObjEEIDataTotal); return EEIListAll.ToList(); thanks Ratheesh
Posted to
C#
(Forum)
by
ratheesh vijay
on 7/18/2009
How to add the inner class object to the List<InnerClass> mentioned in the outer class?
Hi, am using Silverlight 2 for the first time and here I need to add to a List<> in the outer class named EEIDataTotal with the data from the inner class Vehicle . is there any way to add the inner class object to the List<Vehicle> VehicleList mentioned in the outer class? Thanks in advance.. here is the code: public class EEIDataTotal { public string BookingDesc { get ; set ; } public List < Vehicle > VehicleList { get ; set ; } public string BookingData { get ; set ; } public
Posted to
C#
(Forum)
by
ratheesh vijay
on 7/17/2009
how to insert a new item to the top of the listbox after databinding in Silverlight?
Hi, am using silverlight 2 along with LINQ to populate a listbox. how to insert a new item to the top of the listbox after databinding? i tried the above methods.. please see the code below.. its written inside the FunctionNameCompleted event handler listbox1.DisplayMemberPath = "My_NAME"; listbox1.ItemsSource = e.Result; listbox1.Items.Insert(0, "--select--"); when listbox1.items.insert(0, "select") is used; It throws an exception "Operation not supported on read
Posted to
Data Presentation Controls
(Forum)
by
ratheesh vijay
on 7/15/2009
Filed under: list box databinding
Re: how to insert a new item to the top of the listbox after databinding in Silverlight?
Hi, thanx for the reply.. but u know this didnt work for me.. as this kind of insert is not possible in Silverlight i think.. let me clarify it once again for silverlight gurus.. when listbox1.items.insert(0, "select") is used after binding; It throws an exception "Operation not supported on read-only collection". And i can not insert it before binding the source also.. It throws an exception "Items collection must be empty before using ItemsSource." anybody who knows
Posted to
Data Presentation Controls
(Forum)
by
ratheesh vijay
on 7/15/2009
Re: adding a row to a listbox
Hi, am using silverlight 2 along with LINQ to populate a listbox. how to insert a new item to the top of the list after databinding? i tried the above methods.. please see the code below.. its written inside the FunctionName Completed event handler listbox1.DisplayMemberPath = "My_NAME"; listbox1.ItemsSource = e.Result; listbox1.Items.Insert(0, "--select--"); when listbox1.items.insert(0, "select") is used; It throws an exception "Operation not supported on read
Posted to
Data Presentation Controls
(Forum)
by
ratheesh vijay
on 7/13/2009
how to create a video control similar to that in youtube?
Hi, how to create a video controller similar to that in youtube? is it possible to make either a custom control or a user control? This should show the available videos and the user can click and play the desired video. Can this be done in asp.net or can we embed the code in html? Any help anyone could suggest would highly be appreaciated. Thanks in advance..
Posted to
Custom Server Controls
(Forum)
by
ratheesh vijay
on 6/29/2009
Re: how to create a video control similar to that in youtube?
Hi bro, thanx for the reply. even I checked the same page u mentioned. i checked http://www.aspnetflashvideo.com/ and http://www.aspnet-video.com/ both links are there in the same page itself. But its not free i think. D am using MS DotNet framework 2.0. Dude, can we go for the youtube Data APIs or some custom video players and emebeding the code inside the html form? Thanx..
Posted to
Custom Server Controls
(Forum)
by
ratheesh vijay
on 6/29/2009
Re: when clicking a command button in a gridview after sorting, the new sorted value is not getting..
Hi.. i have used hidden fields to pass values from the sorting event to the postback event. it works!! Thank you
Posted to
Data Presentation Controls
(Forum)
by
ratheesh vijay
on 6/25/2008
Filed under: sorting, grdiview, dataview
Re: when clicking a command button in a gridview after sorting, the new sorted value is not getting..
yes man, what u have pointed out is absolutely correct. my re-binding is not taking into account the current sort order. is there a way to pass values to the postback event from the sorting event? is it possible with viewstate? protected void gvProducersSummary_Sorting(object sender, GridViewSortEventArgs e) { sortExp = e.SortExpression; do_sort(sortExp); dtGridValue = busLogic.dtModProducerSummary(intAddressbook, strTopMgr, strModuleId, strFromDate, strToDate, intcorpId); DataView dv = new DataView
Posted to
Data Presentation Controls
(Forum)
by
ratheesh vijay
on 6/24/2008
Filed under: sorting, grdiview, dataview
Page 1 of 4 (32 items) 1
2
3
4
Next >
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online