Search

You searched for the word(s): userid:826661

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...
  • 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 -&gt; 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
  • 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
  • Re: Insert Date?

    hi rick.. try this, in code behind. AccessDataSource1.InsertParameters["Date"].Default value=DateTime.Now.ToString(); AccessDataSource1.Insert();
  • 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
  • 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 »