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
A

anbusenthil

@anbusenthil
About
Posts
44
Topics
37
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • AsyncFileUpload disappears
    A anbusenthil

    AsyncFileUpload disappears when near by asp dropdownlist postbacks, both the controls are inside update panel

    ASP.NET announcement

  • Need to add where rownum between 0 and 0 + 6 -1 in a query
    A anbusenthil

    select ROW_NUMBER() OVER (ORDER BY pid DESC) as RowNum, pid,grpname from (select distinct p.ParticipantId as pid,p.pname + ' (' + p.username + ' )' as grpname from TSParticipants as p inner join TSGroupParticipants as gr on p.ParticipantId=gr.ParticipantId where p.status=0) as grplist in the above query i have to add the the below where condition WHERE RowNum BETWEEN 0 AND 0 + 6 -1 where should i add this condition if add it its showing error: Msg 207, Level 16, State 1, Line 8 Invalid column name 'RowNum'. Msg 207, Level 16, State 1, Line 8 Invalid column name 'RowNum'. -------------------------------- select * from ( select *, row_number() over (unique_column_name order by asc) as rownum from emp ) as test where rownum between 0 and 0 + 6 -1 ----- this above query gives all the rows i need only unique rows

    Database database help

  • gridview with check box in it
    A anbusenthil

    i hav a gridview with check box in it if i click the checkbox the value should be saved tanx

    ASP.NET

  • how to add coding to the click event of the pager control in gridview
    A anbusenthil

    how to add coding to the click event of the pager control in gridview when i click the pager control i need an alert msg lik yes or no... if the user clicks yes only , the page should get to next page or it should stay in the same page tanx

    ASP.NET tutorial

  • Object reference not set to an instance of an object wen the cookie has no value
    A anbusenthil

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load con = New SqlConnection(ConfigurationManager.ConnectionStrings("ESCConnection").ConnectionString) If IsPostBack = False Then gridbind() End If 'for setting language preference If Request.Cookies("lang").Value Is Nothing Then------>(Object reference not set to an instance of an object wen the cookie has no value) Thread.CurrentThread.CurrentCulture = New CultureInfo("en-US") 'get the culture info to set the language rm = New ResourceManager("Resources.Strings", System.Reflection.Assembly.Load("App_GlobalResources")) ci = Thread.CurrentThread.CurrentCulture LoadStrings(ci) End If

    ASP.NET

  • not getting value in request.cookies("lang")
    A anbusenthil

    not getting value in request.cookies("lang") Protected Sub LnkEng1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LnkEng1.Click             Dim appCookie As New HttpCookie("lang")             Thread.CurrentThread.CurrentCulture = New CultureInfo("es-ES")             LoadStrings(Thread.CurrentThread.CurrentCulture)          here i am getting value "es-ES"   <-----------Response.Cookies("lang").Value = thread.CurrentThread.CurrentCulture.ToString             appCookie.Expires = DateTime.MaxValue             Response.Cookies.Add(appCookie) but in immediate window   i am not getting the value for request.cookies("lang") pls help tanx

    ASP.NET help

  • not getting the cookie value in next page
    A anbusenthil

    not getting the cookie value in next page in my first page i am assigning a cookie a value Protected Sub LnkEng1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LnkEng1.Click             Dim appCookie As New HttpCookie("lang")             Thread.CurrentThread.CurrentCulture = New CultureInfo("es-ES")             LoadStrings(Thread.CurrentThread.CurrentCulture)             Response.Cookies("lang").Value = Thread.CurrentThread.CurrentCulture.ToString             Response.Cookies.Add(appCookie)       End Sub ------------------------------------------------------ but in next pg i am not getting the value of the cookie If Request.Cookies("lang").Value Is Nothing Then                   Thread.CurrentThread.CurrentCulture = New CultureInfo("en-US")                   'get the culture info to set the language                   rm = New ResourceManager("Resources.Strings", System.Reflection.Assembly.Load("App_GlobalResources"))                   ci = Thread.CurrentThread.CurrentCulture                   LoadStrings(ci)                      ElseIf Request.Cookies("lang").Value = "es-ES" Then                   Thread.CurrentThread.CurrentCulture = New CultureInfo("es-ES")                   'Request.Cookies("lang").Value = ci.ToString                   'Thread.CurrentThread.CurrentCulture = Session("lang")                   rm = New ResourceManager("Resources.Strings", System.Reflection.Assembly.Load("App_GlobalResources"))                   ci = Thread.CurrentThread.CurrentCulture                   'ci = Thread.CurrentThread.CurrentCul

    ASP.NET

  • how to store culture info into a cookie
    A anbusenthil

    how to store culture info into a cookie for eg Thread.CurrentThread.CurrentCulture = New CultureInfo("en-US")             LoadStrings(Thread.CurrentThread.CurrentCulture) i want to store the above said culture info in cookie tanx

    ASP.NET tutorial

  • how to add all the control to Page.Form.Controls
    A anbusenthil

    how to add all the control to Page.Form.Controls and create object for it

    ASP.NET tutorial

  • how to make object for the class file and
    A anbusenthil

    how to make object for the class file and after use that object and call the function in the aspx pg which is inherited

    ASP.NET tutorial

  • how to inherit two class file
    A anbusenthil

    how to inherit two class file in one aspx pg(vb.net)

    ASP.NET csharp tutorial

  • want to load controls in aspx pg from the class file which is inherited
    A anbusenthil

    i have a function loadstring in a class file like Public Sub LoadStrings(ByVal ci As CultureInfo)             Dim HylEdit As New HyperLink             Dim BtnClear As New Button             Dim BtnSave As New Button             Dim HylView As New HyperLink i hav inherited tis class to a aspx page where i hav those controls like HylEdit, BtnClear, BtnSave, HylView i want to load those controls wit values tat i hav assigned to it

    ASP.NET

  • not getting value in session("lang")
    A anbusenthil

    session("lang") is nothing i hav assigned value in a button click lik session("lang") = thread.currentthread.culture

    ASP.NET

  • not getting value in session("lang")
    A anbusenthil

    tis is my code in class file called langsetting here i am not getting value in session("lang") Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim ci As CultureInfo Thread.CurrentThread.CurrentCulture = Session("lang") rm = New ResourceManager("Resources.Strings", System.Reflection.Assembly.Load("App_GlobalResources")) ci = Thread.CurrentThread.CurrentCulture LoadStrings(ci) End Sub

    ASP.NET

  • type 'System.StackOverflowException' error while writing class file which i am inheriting
    A anbusenthil

    still its not working

    ASP.NET design help

  • type 'System.StackOverflowException' error while writing class file which i am inheriting
    A anbusenthil

    Public Class languagesetting       Inherits System.Web.UI.Page       Private rm As ResourceManager       Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load             MyBase.OnLoad(e)------------>An unhandled exception of type 'System.StackOverflowException' occurred in System.Web.dll             Dim ci As CultureInfo             ci = Session("lang")             rm = New ResourceManager("Resources.Strings", System.Reflection.Assembly.Load("App_GlobalResources"))             Thread.CurrentThread.CurrentCulture = ci             LoadStrings(ci)       End Sub

    ASP.NET design help

  • variable'HylEdit' is used before its assigned a value in class file in app_code
    A anbusenthil

    Dim TDAwdDes As HtmlContainerControl---> these r html contrtols which is showing an error new cannot be used in class tat is declared must inherit             Dim TDAwdpic As HtmlContainerControl TDAwd.InnerText = rm.GetString("Awd", ci)             TDAwdDes.InnerText = rm.GetString("Awddes", ci)

    ASP.NET

  • To inherit a class file
    A anbusenthil

    how to inherit a class file in our aspx page to acess the functionality

    ASP.NET tutorial

  • variable'HylEdit' is used before its assigned a value in class file in app_code
    A anbusenthil

    Private Sub LoadStrings(ByVal ci As CultureInfo)             Dim HylEdit As HyperLink             Dim BtnClear As Button             Dim BtnSave As Button             Dim HylView As HyperLink             Dim TDAwd As HtmlContainerControl             Dim TDAwdDes As HtmlContainerControl             Dim TDAwdpic As HtmlContainerControl             Dim TDFreq As HtmlContainerControl             Dim TDAwdcri As HtmlContainerControl             Dim TDAwdSt As HtmlContainerControl             Dim TDAwdk As HtmlContainerControl          errror here variable'HylEdit' is used before its assigned a value( its an class file inside the app_code) <--- HylEdit.Text = rm.GetString("Add", ci)             BtnClear.Text = rm.GetString("Clear", ci)             BtnSave.Text = rm.GetString("Save", ci)             HylView.Text = rm.GetString("View", ci)             TDAwd.InnerText = rm.GetString("Awd", ci)             TDAwdDes.InnerText = rm.GetString("Awddes", ci)             TDAwdpic.InnerText = rm.GetString("Awdpi", ci)             TDFreq.InnerText = rm.GetString("Freq", ci)             TDAwdcri.InnerText = rm.GetString("Awdcri", ci)             TDAwdSt.InnerText = rm.GetString("AwdSt", ci)             TDAwdk.InnerText = rm.GetString("Awdk", ci)       End Sub

    ASP.NET

  • to check control is present which is not in the page
    A anbusenthil

    how to check the control is their or not which is not in the page is it possible to check the control is present or not using codebehind

    ASP.NET tutorial
  • Login

  • Don't have an account? Register

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