|
i m facing problems with ado.net
|
|
|
|
|
shahid hussain pakistan wrote: i m facing problems with ado.net
ado.net is facing problems with you
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Well, it works fine for the rest of us, so read the documentation and try again.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Which kind of problem r u facing?
|
|
|
|
|
And when you have got someone to help you with that you will face problems with something else. Try pressing F1.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
How to insert data from database into a table which is placed in word document .
I have solution for dynamically creating table and inserting into that table.but now i need to insert data into table which is already created.
Help me regaring this
Thanks
|
|
|
|
|
i am developing one website in that
i was take masterpage then as follows below
1)first cut the content placeholder and insert one table with two rows & two columns.
2)inserted contentplaceholder into 2nd row 2nd column.
3)take one menu control and one dropdownlist and one label in remaining section in the table.
4) inserted all childpages into website.
5)At the time of execution first i selected one of the item from dropdownlist then i clicked one of the item in menu control.
after first time dropdownlist selected item should be changed then
what can i do for that dropdownlist should not be change until i was select
i wrote entire logic in menu_clickevent
how to apply AJAX control to Dropdownlist give me sample code for that dropdownlist.
|
|
|
|
|
How Create Code Bar In ASP. net With C# .
I Create Code In Asp.net With VB.net But I need ASP With C#
I Send Code ASp.net With Vb.net BarCode
This Code Working Properly But I need In ASP.net With C#
-------------------------------------------------------------------------
---------------------------------------------------------------------------------------
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Input As String = Request.QueryString("input")
Input = txtinput.Text
Dim ValidInput As String = " !" & Chr(34) & "#$%&()**+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~" & Chr(0) & Chr(1) & Chr(2) & Chr(3) & Chr(4) & Chr(5) & Chr(6) & Chr(7) & Chr(8) & Chr(9) & Chr(10) & Chr(255)
Dim ValidCodes As String = "17401644163811761164110012241220112416081604157214361244123014841260125416501628161417641652190218681836183018921844184217521734159013041112109414161128112216721576157014641422113414961478114219101678158217681762177418801862181418961890181819141602193013281292120011581068106214241412123212181076107415541616197815561146134012121182150812681266195619401938175817821974140013101118151215061960195415021518188619661724168016926379"
Dim Digit As Integer = 103
Dim i As Integer
For i = 1 To Input.Length
Digit += (i * InStr(1, ValidInput, Mid(Input, i, 1)))
Next
Digit = Digit Mod 103
Input = Chr(8) & Input & Mid(ValidInput, Digit, 1) & Chr(255)
Dim bmp As Bitmap = New Bitmap((Input.Length * 11) + 13, 50)
Dim g As Graphics = Graphics.FromImage(bmp)
g.FillRectangle(New SolidBrush(Color.White), 0, 0, (Input.Length * 11) + 13, 50)
Dim p As New Pen(Color.Black, 1)
Dim BarValue, BarX As Integer
Dim BarSlice As Short
For i = 1 To Input.Length
Try
If InStr(1, ValidInput, Mid(Input, i, 1)) > 0 Then
BarValue = Val(Mid(ValidCodes, ((InStr(1, ValidInput, Mid(Input, i, 1)) - 1) * 4) + 1, 4))
Digit = 11
If i = Input.Length Then Digit = 13
For BarSlice = Digit To 0 Step -1
If BarValue >= 2 ^ BarSlice Then
g.DrawLine(p, BarX, 0, BarX, 50)
BarValue = BarValue - (2 ^ BarSlice)
End If
BarX += 1
Next
Else
Response.Write("Invalid input")
Response.End()
End If
Catch
End Try
Next
'bmp.Save(Response.OutputStream, ImageFormat.Gif)
bmp.Save("D:\WebSite6\Image\pic.gif", ImageFormat.Gif)
Image1.Visible = True
g.Dispose()
bmp.Dispose()
End Sub
---------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
modified on Monday, November 24, 2008 4:47 AM
|
|
|
|
|
|
I Do This already.
But This Not Working Properly.
|
|
|
|
|
This is horrible, horrible VB.NET code. However, in an ASP.NET project, you can have some pages that use VB and some that use C# . Just make this a VB page.
I'd also generate the images in an aspx, so that you don't ever have to save them to the HDD, just stream them to the page.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi
i have one calender control in my registration page.when i select any date my page is automatically posted . how can i stop autopost property of calender
thanks
vikram
Vikram
|
|
|
|
|
use AJAX Updatepanel or AJAX Calendar Control
cheers,
Abhijit
|
|
|
|
|
Try to work with Ajax controls. You can avoid the post back.
Balasubramanian K.
|
|
|
|
|
BalasubramanianK wrote: Try to work with Ajax controls. You can avoid the post back.
NO. You are confused with what is postback and page refresh. AJAX controls does post back AFAIK.
|
|
|
|
|
What I think is, post back is happened. but page is not refreshed....Is n't it?
Balasubramanian K.
|
|
|
|
|
Yes, only that will be postback to server and page will not going to be refreshed. This is also knows as partial postback.
cheers,
Abhijit
|
|
|
|
|
The built in calendar sucks, use a third party control. It doesn't need to be AJAX.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
try downloading Javascript calendars. it works fine.. .you can implement ICallBackEventHandler Interface to generate a server side event from javascript.
Abhishek Sur
|
|
|
|
|
hi
i m developing a website in which i have to write some data in Excel Application, which i designed as per client reqiurement and stored in a folder "Desgins"
now after giving all the inputs , the calculations starts and the total inputs and o/p are written to the excel application saved as username and this i wll sen to his mail .
this is requirement
my problem is , while i m writting data to excel file , the file is visisble to user but this should not be happened.
after giving all the inputs , in background i will write all the details to excel file.THIS TASK SHOULD NOT BE VISIBLE TO USER
i written this code
ExcelApp.visible=False
but it is visible to user
plz help me
thanks in advance
vijay kumar d
|
|
|
|
|
Hi,
In my application i am trying to modify a XML file at the run time.
In my local machine it's working fine,
But while accessing in server I am getting a error like Access denied.
(Access to the path 'D:\WebSite5\aa\attch.xml is denied).
Plz suggest me how to slove this.
thanks in advance...
|
|
|
|
|
Are U sure XML file is on this same location ???
If yes do u have access permissions for that particular folder ???
|
|
|
|
|
I have not given any permission.I am depending on default permission set. would u plz let me now how to insert permission for that particular file.
thanks
|
|
|
|
|
Cause, Client Doesnt have the suffecient Permission to Right on your server.
In IIS , Create A Application Pool [ Say TestApp ] , Change the Identity of Application Pool to Local System.
Now asigne your Virtul directory to that Application Pool, So that your client can have the privilage.
You can face the same problem when you will trying to event logs from client.
So, think it will resolve your problem,
Let me know if any issue
cheers,
Abhijit
|
|
|
|
|