Hiiiiiii.....I m developing a Shopping Cart and for creation of cart i m using data table with session. i have wrote this code on my home page.
On PAGE Load EVENT
If Not IsPostBack Then
Dim objDT As System.Data.DataTable
Dim objDR As System.Data.DataRow
objDT = New System.Data.DataTable("Cart")
objDT.Columns("ID").AutoIncrement = True
objDT.Columns("ID").AutoIncrementSeed = 10000
Session("Cart") = objDT
Do you want to be able to store the content of the cart even if the user closes your site? Or do you just want the cart to still be available if the user navigates back to your home page from another page on your site?
If it is the second case you can simply do...
If Session("Cart") <> Null Then
Well, it will be something like that, my VB isn't very good.
Does anyone know how to make a bar chart using MSChart control from a column of a postgresql database that is imported from an ODBC connection that is using the Microsoft.ODBC.dll? I am finding a lot of information on creating charts with other data souces but not through Microsoft's ODBC API. I am trying to create a bar chart and have each value from a column represent one bar. I have everything set up, I am just having trouble binding the database data to the chart. Any link to tutorials or help files would be great too. Thanks. plz help me ...
Hi all, I am new in .NET, I wrote a simple web service using VS 2003 where it will return some data of my customers. I need to invoke this web service with large amount of data now(e.g.3000rows record). I was thinking of how can I process this in bulk with better perfomance rather than calling the service in real time? I have the input file which is in CSV format. I will be glad to hear any of the suggestions.
Far as I'm concerned, using the document.getElementById function requires the ClientId as parameter, and not the name. ctl00$ContentPlaceHolder1$btnSubmit looks more like a name, the Id would probably be ctl00_ContentPlaceHolder1_btnSubmit.
To avoid confusion (and really, not try to guess what a ClientId is going to be I would use:
Hi guys i am binding some records from my repeater control...,
<b>In one column i am binding the brief news...,
its coming to long...,
to resolve it i want to give remaing text in another page...,
and same time if user like to see entire news also he have to watch...,</b>
Which part of this is confusing you ? They are using some sort of paging control, like the paging built in to several ASP.NET controls, and they have the option to render the whole story. You would build an engine that does this, and break your articles in to pages.
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.