|
for example i want to change authentication mode from form to windows
is this possible??
Government Dyal Singh College Lahore.
|
|
|
|
|
It's XML, a C# app could read it as such and modify it. If it can be accessed from within your website code, I guess you'd have to try and see.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Just be careful, as when you change your ASP.net web.config file, your app domain will restart...
|
|
|
|
|
I am having a repeator control.So ,
1.How to bind data from DataSource to a Repeator control?
2.Display the dataFields in the repeator control?
Plz HElp.....
|
|
|
|
|
It seems you know NOTHING about ASP.NET. Buy a book, read MSDN, do something to give yourself a basic idea before asking questions. If you don't know the answer to this, I have to wonder about your ability to comprehend it, if told. It's really incredibly trivial.
myrepeater.DataSource = mySource;
myrepeater.DataBind();
A repeater does nothing for you, you need to define a template to display the data.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Any way Thanx for the information.
Actually i know the binding of datasourse.But i created an XML file and created a DataSet of it and tried to access data but did'nt got the result correct.
|
|
|
|
|
Did you contemplate asking an intelligent question ? Like 'this is my ASPX, this is my code, this is my XML and this is what I want to see and can't work out' ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
You can bind repeater through sqldatasource or through code
for display the data:
you should use manual table inside repeater for formating, because there is no AutoFormating.And it is good practice for using repeater because it is lightweight.
use this: in asp.net 2.0
<asp:repeater id="rept" runat="server" xmlns:asp="#unknown">
<itemtemplate>
]]>
|
|
|
|
|
|
Please correct me if i am in the wrong post
i am pulling data from a db to populate a crystal report document.
when i run the query in 'toad 4 sql editor'' or sql management studio' i get about 6800 records
but when the report is generated i get only 4 records.
I even test the rows of the datatable being passed to the reports and it says 6800 records
but the report actually shows 4 records in the first and only page.
no subsequent pages exist
here is a samnple code
'creates a new instance of the report
Dim DrvReport As New CRDrivers
'test the number of rows generated
MsgBox(dt.Rows.Count)
'set the dataseource 4 the report
DrvReport.SetDataSource(dt)
'set report source 4 da crystal report viewer
CRViewer.ReportSource = DrvReport
CRViewer.RefreshReport()
DrvReport.Dispose()
i have been using crystal but never experienced this before.Sorry for my long text
Plz help..thank you all
|
|
|
|
|
what i understood from your post is
1) you might have restricted records accidentally in rpt file....
2) or in crystal report viewer... if the dataset/datatable showing correct # of records..
Government Dyal Singh College Lahore.
|
|
|
|
|
thank you sir.....am trying to check around it right away but plz...are there any tips as to where to actually look around?
Thanks once more
well da dataset displays da correct number of rows and records
|
|
|
|
|
Public Shared Function GetListofCheckinByIDandcurrentMonth(ByVal thecusid As Integer, ByVal thedate As String, ByVal thedateend As String) As List(Of checkin)
Dim thechecklist As List(Of checkin) = New List(Of checkin)
Using myConnection As New SqlConnection(ConfigurationManager.ConnectionStrings("LocalSqlServer").ConnectionString)
Dim cmd As SqlCommand = New SqlCommand("Select Check_id, Cus_id, check_in, check_out, check_note from tbl_customer_check_in where Cus_id =@cusid and check_in between @datestart and @dateend ", myConnection)
cmd.Parameters.AddWithValue("@cusid", thecusid)
cmd.Parameters.AddWithValue("@datestart", thedate)
cmd.Parameters.AddWithValue("@dateend", thedateend)
Dim thechecked As New checkin 'Temp Product to add to our ProductList
myConnection.Open()
Dim reader As IDataReader = cmd.ExecuteReader(CommandBehavior.CloseConnection)
Return GetCheckinCollectionFromReader(reader)
End Using
Return thechecklist
End Function
Protected Shared Function GetCheckinFromReader(ByVal Reader As IDataReader) As checkin
Return New checkin(CInt(Reader("check_id")), _
CInt(Reader("cus_id")), _
CDate(Reader("check_in")), _
CDate(Reader("check_out")), _
Reader("check_note").ToString)
End Function
Protected Shared Function GetCheckinCollectionFromReader(ByVal Reader As IDataReader) As List(Of checkin)
Dim Check As New List(Of checkin)
While (Reader.Read)
Check.Add(GetCheckinFromReader(Reader))
End While
Return Check
End Function
|
|
|
|
|
None of this code matters. If you're getting a null, it's null in your DB, I assume. Are you claiming it's not ?
What if you step through the code, is the value from the reader null, or just your ugly. VB6 style cast is returning null ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
maybe you check with something like
IF CDate(Reader("check_in")) = DBNUll.Value Then
else
'do something with the value
end if
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|
|
Can we read serial port using javascript.
ARINDAM
|
|
|
|
|
Hell, no, are you insane ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
|
Is it possible to bind two data source into single grid view? I m doing the shopping cart. in my shopping cart gridview, i already call Cart and Food table together in 1 sqldatasource.. Now i need to call another table that are Cart and SetFood table.. so.. can i have 2 data source? or can i have 2 select command in one datasource?? How to bind this 2 data to single gridview? Your idea and suggestions are really appreciated... thx
|
|
|
|
|
No. You need to return one table that combines the two data sources.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi Everyone,
I am developing an application in which I need to implement SMS polling and voting feature.
Suggest me some reliable SMS gateway providers whose Web Services I can consume in my application. I need to store the results back in to the database, so I need to receive the SMS also and store the result with Sender's detail.
Also suggest me that as a developer which things I need to take care of while developing such application...
Any suggestion would be helpful..
Regards,
-SIFAR.
|
|
|
|
|
Sifar - 0 wrote: Also suggest me that as a developer which things I need to take care of while developing such application...
This is a bit vague. How do you mean ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
It was a bit unclear...
Which protocol APIs would be preferred for bulk SMS application
Awaiting for suggestion..
Regards,
-SIFAR.
|
|
|
|
|
Plz google out stufffs First b4 u post here.Thanks
http://www.scampers.org/steve/sms/libraries.htm
|
|
|
|
|
< Hi All,
I'm working on a ajax enabled project.It was running fine in live server.But recently after eanbling ssl to the live server it is giving a config error like,
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Error Line:
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
WRN: Assembly binding logging is turned OFF.
Can anyone please help me regarding this?
Thanx in advance...
|
|
|
|