Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

sunil n cs

@sunil n cs
About
Posts
19
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Hosting Silverlight Application on IIS
    S sunil n cs

    Anyways thanks, i got solution to my prob.

    WPF tutorial csharp asp-net wcf windows-admin

  • Hosting Silverlight Application on IIS
    S sunil n cs

    Hi, Can any 1 guide me through how to host an silverlight appl on local IIS ver 5.1. I tried hosting it, the problem is that the web services dosnt work, i dont know if i have hosted the appl properly or not, i have followed same steps as per a ASP.Net appl hosting. Thanks in advance

    WPF tutorial csharp asp-net wcf windows-admin

  • LINQ
    S sunil n cs

    Thanks Pete O'Hanlon, i will try this out.:)

    WPF database help csharp linq tutorial

  • LINQ
    S sunil n cs

    Thanks a lot, if possible can u plz give me an example on how to achieve it.

    WPF database help csharp linq tutorial

  • LINQ
    S sunil n cs

    I dont want to take the whole class, i want to take smaller set i.e only the required amount data from the database, is it that der is no option to take only required amount of data(Column selection option) here.

    WPF database help csharp linq tutorial

  • LINQ
    S sunil n cs

    First of all i would like to thank u guys for the support u have been providing. Now as i mentioned in my last reply i am using deferred execution i.e :Return matchingLogin.ToList()...this will work fine for the query Dim matchingLogin = From Login In db.tbl_Users Where Login.UserName.StartsWith(strLogin) _ Select Login Return matchingLogin.ToList() But when i use column names in select like this one Dim matchingLogin = From Login In db.tbl_Users Where Login.UserName.StartsWith(strLogin) _ Select Login.UserName, Login.Password Return matchingLogin.ToList() it gives me a error in blue underline for matchingLogin.ToList() and when i move the mouse on top it, it says Value of type 'System.Collections.Generic.List(Of )' cannot be converted to 'System.Collections.Generic.List(Of E_Learning.Web.tbl_User)'. So to remove this error i have removed .Tolist() from Return

    WPF database help csharp linq tutorial

  • LINQ
    S sunil n cs

    I already tried casting before returning the object, it works fine until i dont mention any column names in select, if i do mention any column names as in this case den i get the following error when i try to cast. Value of type 'System.Collections.Generic.List(Of )' cannot be converted to 'System.Collections.Generic.List(Of E_Learning.Web.tbl_User)'.

    WPF database help csharp linq tutorial

  • LINQ
    S sunil n cs

    Ya you are right am writing this code in web.service, "strlogin" contains the keyword depending on which i have to retrieve data from database. What am trying to do here is retrieve username and password from table tbl_user. Am getting the following error Unable to cast object of type 'System.Data.Linq.DataQuery`1[VB$AnonymousType_0`2[System.String,System.String]]' to type 'System.Collections.Generic.List`1[E_Learning.Web.tbl_User]'. Is there any other way to retrieve data from database without using webservice, am very new 2 silverlight and dont know much about it, any support will be of great help.

    WPF database help csharp linq tutorial

  • LINQ
    S sunil n cs

    Hi, Am very new to silverlight, and am working on this module where i want to retrieve some data from database, the problem is when i mention column names it dosnt work properly and it gives an error at the return statement....the code is below... Public Function GetLoginName(ByVal strLogin As String) As List(Of tbl_User) Implements IService1.GetLoginName Dim db As New DataClasses1DataContext Dim matchingLogin = From Login In db.tbl_Users Where Login.UserName.StartsWith(strLogin) _ Select Login.UserName, Login.Password Return matchingLogin End Function Can any1 tell me how to achieve it .. Thanks in advance

    WPF database help csharp linq tutorial

  • Radio Button OnCheckedChanged() event is not called
    S sunil n cs

    Since you have defined the control inside grid u have to create the checked event, ex- <asp:GridView ID="grdSearch" runat="server" Width="100%">                                           <Columns>                                                 <asp:TemplateField HeaderText="FirstName">                                                       <ItemTemplate>                                                             <asp:LinkButton ID="lbtnFName" runat="server" Text='<%# eval("fname") %>' />                                                       </ItemTemplate>                                                 </asp:TemplateField>                                           </Columns>                                     </asp:GridView> Code behind- Protected Sub grdSearch_RowCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles grdSearch.RowCreated                      Dim LinkButton1 As LinkButton             Select Case e.Row.RowType                   Case DataControlRow

    ASP.NET question sysadmin

  • Creating Excel
    S sunil n cs

    Hi, Can any 1 tell me how to create Excel document in compact framework, i tried using Interop.excel dll but it gives exception....Thanks in advance

    Mobile com tutorial

  • Redirecting to web page in another assembly?
    S sunil n cs

    You can achieve it after you host both the application, and then you can hardcore the url of the testb.aspx in testa.aspx page.

    ASP.NET tutorial question

  • how to enable or disables master page's component from its child page.
    S sunil n cs

    Declare a session variable, when you want to enable or disable the components of master page set the value of the session variable in child page and in page load of master page check for that session variable value and accordingly u can enable r disable the component.

    ASP.NET tutorial question

  • How to debug an atl project?
    S sunil n cs

    Thanks for the support, as i posted in ma query am very new infact this is ma 3rd day in visual c++ , so i dont know much about any of this stuff.... Can u plz tell me in little more detail how to set executable path so than i can put break point and start debugging it. Right know am just executing the project and registering the DLL... Thanks for ur Support

    ATL / WTL / STL c++ debugging help tutorial question

  • How to debug an atl project?
    S sunil n cs

    Hi, I am very new to ATL and am working on ATL dll project and am finding it very difficult to debug the application, so if any 1 of u can help me out here by telling me how to debug these application. Thanking u in advance

    ATL / WTL / STL c++ debugging help tutorial question

  • How to create database in Appl_data folder
    S sunil n cs

    Thanks Abhijit, It will be of great help to me....

    ASP.NET database help tutorial

  • How to create database in Appl_data folder
    S sunil n cs

    1st of all i want to thank u for ur generous reply, Now coming to the point, i have gone through books and i know how very well how to create and connect to database i.e on a local system or on network. What i want to know is how to do the same for appl_data folder which exists inside a project we created.

    ASP.NET database help tutorial

  • How to create database in Appl_data folder
    S sunil n cs

    Hi, i want to create database in appl_data folder, can any1 help me by giving the steps to create this database and also tell me how to connect to it i.e is it same as for normal database through web.config. Thanks in advance

    ASP.NET database help tutorial

  • Tree View
    S sunil n cs

    I am filling tree view using dataset, The problem is when i click on expand or colapse control it is not working and in browser it troughs as java error has "contentplaceholder1 treeview1 data is undefined" and some stuff...Can any1 help me thanks in advance

    ASP.NET help java data-structures
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups