|
hi every buddy,
well recently I've started working on a shopping cart project which has some serious session Management issues. So anyhow, we decided to get the session management working with SQL Server and that's the first time I'm doing it. So I read some articles and made a test app for using it this way. Now there's a question buzzing in my mind.
Does .NET delete the record made in the SQL Server database for this Session Mgmnt purpose? I suppose it should, but if it doesn't do we need to build our own mechanism to do that? Looks pretty far fetched to me but still I thought I should ask the experts out there for a good suggestion.
Thanks in advance.
|
|
|
|
|
Anybody knows a 3rd party TreeView that can be bound to Object
I would like to write something like this:
MyOwnCollection x = new MyOwnCollection();
treeViewControl.DataSource = x; I tried RadTreeView from Telerik. But it failed to read the Parent-Child relationship
anybody has any suggestion ?
foreach(Minute m in MyLife)
myExperience++;
|
|
|
|
|
treeviews need to populated with a recursive function normally, as far as my knowledge goes, I think you'd better try using that technique instead of wasting ur time getting a third party control for this. The normal tree view should suffice I think.
Populate TreeView from Database [^]
you might like this one too[^]
Hope that helps
|
|
|
|
|
I want to upload a file into server but i don't want to use <asp:fileupload xmlns:asp="#unknown"> control because i am not taking the file from client browser. i want to take file name from server side only.
but <asp:upload> control not taking the filename at server
side.
If any one can give the suggestion i will really appreciate.
i will give client side file, i need to upload into server.
|
|
|
|
|
First decide what you wanna do...
|
|
|
|
|
|
Do not repost the question in every forum
|
|
|
|
|
Well, thats strange...
I got score 1 for asking not to repost ...
modified on Wednesday, August 13, 2008 11:24 AM
|
|
|
|
|
It's a brave new world around here. You get 1 votes whenever you fail to post a complete working solution that can be mindlessly copied and pasted.
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Well, I suppose he did not like me to comment on his repost
but I was really surprised to see his impatience. There was not even a difference of two messages between his last post.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Sorry but dint quite get what want 2 do.
http://aspdotnetnstuff.blogspot.com
|
|
|
|
|
Sir what code u gave , this code only help you in adding one row but when u want to add more row how to deal with
I mean
i added a row in which text box was there thrugh u can enter data but after filling it i want to add more rows to it
but i m not able to do it so can you guide me how to add more rows to grid
as
code is
Protected Sub GridView1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.PreRender
'Dim GV As GridView = CType(sender, GridView)
'Dim Tbl As Table = CType(GV.Controls(0), Table)
'Tbl.Controls.AddAt(0, AddEmptyRow)
Dim GV As GridView = CType(sender, GridView)
Dim int As Integer = GV.Controls.Count
Dim Tbl As Table = CType(GV.Controls(1), Table)
Tbl.Controls.AddAt(1, AddEmptyRow)
End Sub
Function AddEmptyRow() As GridViewRow
Dim GVR As GridViewRow = New GridViewRow(0, 0, DataControlRowType.EmptyDataRow, DataControlRowState.Normal)
Dim myTableCell As TableCell = New TableCell
For i As Integer = 1 To 3
Dim myHyperLink As TextBox
myHyperLink = New TextBox()
myHyperLink.Width = New Unit(225)
myTableCell.BorderStyle = BorderStyle.Solid
myTableCell.BorderWidth = New Unit(1)
myTableCell.Width = New Unit(700)
myTableCell.BorderColor = Drawing.Color.Black
myTableCell.BackColor = Drawing.Color.MistyRose
myTableCell.Style.Add("text-align", "center")
myTableCell.Controls.Add(myHyperLink)
GVR.Cells.Add(myTableCell)
Next
Return GVR
End Function
Raghvendra
|
|
|
|
|
CS1012: Too many characters in character literal
OnClick="javascript:window.open('catagory1.aspx')"
while i use onClintClick its work properly.
i want to open a new window and close previous window and onclint problem is that firstly open a page when i click next time on page than its show last time record beacause session value is comes from server onclick.
how can i solve this problem
please help
thanks
I will do my best?
|
|
|
|
|
One way people can tell a job was outsourced to india is the spelling errors. Like catagory.
OnClientClick is obviously what you want here, OnClick means you want to call a server side method. So, why are you trying to use it ? Why are you using a server control at all, if it just calls some javascript ?
Christian Graus
No longer a Microsoft MVP, but still happy to answer your questions.
|
|
|
|
|
Christian Graus wrote: One way people can tell a job was outsourced to india is the spelling errors. Like catagory
This comment is totally unnecessary.
|
|
|
|
|
Christian Graus wrote: One way people can tell a job was outsourced to india is the spelling errors
Christian,
I am an Indian and I was told in my primary school that the first letter of a proper noun should be capitalised. For your information, India is a proper noun.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
modified on Wednesday, August 13, 2008 6:01 PM
|
|
|
|
|
tell me a good javascript ebook on net
saurabh bhardwaj
|
|
|
|
|
I am not sure if they do have PDF version too, but this is one of the best organized JavaScript tutorial.
|
|
|
|
|
What book did you recommend?
|
|
|
|
|
I want to display on my intranet web page the username of the person that is logged onto the computer. I tried System.Environment.userName but it sometimes gives me "ASPNET”. Can someone please help me?
|
|
|
|
|
What kind of Authentication are you using?
|
|
|
|
|
|
try this:
string LstrUserName = HttpContext.Current.User.Identity.Name.ToString();
|
|
|
|
|
It says HttpContext is not declared
|
|
|
|
|
Hi , i m working in asp.net2.0 . In menu item click i want to open a popup window . can any one help me out , m new in asp.net
saurabh bhardwaj
|
|
|
|