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:826661
More Search Options
RSS Available
Matching Posts
how to use group by clause in LINQ to SQL?
i am using LINQ in my code. i am a beginner in LINQ. i have to use group by clause in my linq query. ID bookname versionNumber ---------------------------------------------- 1 ASP.NET cookbook 2 1 ASP.NET cookbook 3 this is my table and want to get record of bookdetails, which is the latest version. so i want to use the SELECT MAX(versionNumber) and want to use group by bookname . i dont know how to form the query with group by in LINQ. please help me if anybody have idea about it...
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
karthi_ga
on 6/29/2009
Re: problem in UserControl Event
hi venkat... thanx for the reply. i resolved it ... The problem is not on the usercontrol event. the Problem is i used <UpdatePannel> in my UserControl. thats the problem. once i removed that its working fine.
Posted to
Web Forms
(Forum)
by
karthi_ga
on 6/6/2009
Re: problem in UserControl Event
hai venkat. Thanx for ur reply... while executing my code with breakpoint it invokes the event "CategoryChanged" from MyUserControl. the code inside that block gets executed. private void MyUserControl1_CategoryChanged( object sender, System.EventArgs e) { lblMessage.Text = "Welcome" ; // This line gets executed, when i use breakpoint // i used Debug Menu -> Windows -> Watch to see whats the value for lblMessage.Text after the breakpoint executes this. // it says "Welcome"
Posted to
Web Forms
(Forum)
by
karthi_ga
on 6/6/2009
problem in UserControl Event
i am using an usercontrol called "MyUserControl " which having an event "CategoryChanged", code behind the MyUserControl as follows..... public int SelectedCategoryID { get { ViewState[ "selectedCategoryID" ] = ddlCategory.SelectedValue; return Int32.Parse(ViewState[ "selectedCategoryID" ].ToString()); } } public event System.EventHandler CategoryChanged; protected virtual void OnSelectedIndexChanged( object sender) { if ( this .CategoryChanged != null ) this
Posted to
Web Forms
(Forum)
by
karthi_ga
on 6/5/2009
Filed under: user control event bubbling, User Control events
Re: Insert Date?
hi rick.... Date() function in the sql query will give the current date value.... [quote user="Mikesdotnetting"] If you are inserting the current date, you should use the built-in Access function DATE() in your SQL: InsertCommand ="INSERT INTO [Tributes] ([Date], [Name], , [Organization], [Tribute]) VALUES (DATE(), ?, ?, ?, ?)" MS Access Date And Time With ASP.NET : http://www.mikesdotnetting.com/Article.aspx?ArticleID=92 [/quote] You are right Mr.Mike INSERT INTO TEST (MyDate
Posted to
Access Databases and AccessDataSource Control
(Forum)
by
karthi_ga
on 5/22/2009
Re: combine database
hi anand, here database1 and database2 are the AccessDataSource Objects whose having different connectionstrings for two different mdb files. but i think u are using your ms access database name directly. its not like as you used. create two AccessDataSource objects (1) for first mdb file newEMR.mdb (2) for second mdb file EMRMeds.mdb for eg, AccessDataSource database1 = new AccessDataSource("C:\MyFolder\newEMR.mdb"); AccessDataSource database2 = new AccessDataSource("C:\MyFolder\EMRMeds
Posted to
Access Databases and AccessDataSource Control
(Forum)
by
karthi_ga
on 5/22/2009
Re: Insert Date?
hi rick.. try this, in code behind. AccessDataSource1.InsertParameters["Date"].Default value=DateTime.Now.ToString(); AccessDataSource1.Insert();
Posted to
Access Databases and AccessDataSource Control
(Forum)
by
karthi_ga
on 5/22/2009
Re: How dynamically upload data into txt file
refer this site, it will help you... http://www.aspnettutorials.com/tutorials/file/grid-txiaspnet2-csharp.aspx please mark as answer , if it helps you.
Posted to
Getting Started
(Forum)
by
karthi_ga
on 5/22/2009
Re: combine database
try this below query to join two tables from different Database, SELECT database1.sharedUsers.*, database2.userTable.* FROM database1.sharedUsers LEFT JOIN database2.userTable ON database2.userTable.userID = database1.sharedUsers.userID
Posted to
Access Databases and AccessDataSource Control
(Forum)
by
karthi_ga
on 5/22/2009
Re: error occurred during the processing of a configuration file required to service
thanks very much imran.... i understood my mistake. i am using MVC Beta version that is why i could not find that class... as you said now i am going to install new MVC 1.0... thanks alot imran.......
Posted to
ASP.NET MVC
(Forum)
by
karthi_ga
on 5/20/2009
Page 1 of 11 (101 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Channel 9:
Twitter App for Zune Launches
WindowsClient:
Incarnate
WindowsClient:
Track Fedex packages with Bing
Channel 9:
Marty O'Donnell - The man behind the Halo Music
Channel 10:
Twitter App for Zune Launches
WindowsClient:
Rotate your text in the WPF DataGrid Column Headers
WindowsClient:
New gameplay video with D&D on Surface
WindowsClient:
ViewModel Pattern and Speech as UI. Help me Obi Wan, where’s the View?
Channel 9:
Karsten Januszewski and Tim Aidlin: Introducing Incarnate
Channel 9:
Reactive Extensions API in depth: Retry
Channel 10:
iBing uBing: Bing iPhone App Arrives
WindowsClient:
Migrating an Outlook Client to .NET Framework 4 in Visual Studio 2010
Channel 10:
A Look Behind Mouse 2.0
WindowsClient:
Using Speech Synthesis in .NET 4 and Windows 7
Channel 10:
Office 2010 "5 Rules" Presentation
Channel 10:
30% off Expression Web 3 until Dec 28th
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online