Forum: ASP.NET 2 Days Ago |
| Replies: 2 Views: 143 |
Forum: ASP.NET 2 Days Ago |
| Replies: 2 Views: 143 Dear all,
before using AJAX.Net, when I wanted to find control in form,
I used this code
Dim SQL As String = "SELECT CurrencyID, CurrencyID FROM MasterCurrency ORDER BY CurrencyID"
Dim ctl As... |
Forum: ASP.NET 5 Days Ago |
| Replies: 3 Views: 207 Protected Sub CmdPrint_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CmdPrint.Click
Dim S As String = "<SCRIPT>window.print();window.close();</SCRIPT>"
If Not... |
Forum: ASP.NET 13 Days Ago |
| Replies: 2 Views: 239 why dont you try to manipulate the sql query
Select FirstName + ' ' + MiddleName + ' ' + LastName As [Name] From Student |
Forum: ASP.NET 24 Days Ago |
| Replies: 5 Views: 326 Like this ?
Dim NoList As String()
Dim I As Byte
NoList = Split(TextBox1.Text.Trim, ",")
For I = 0 To NoList .Length - 1
Response.Write(" This is index " & CStr(i))
... |
Forum: ASP.NET 30 Days Ago |
| Replies: 1 Views: 277 Using Stored Procedure
or
use my way, replace ' to ` :$
TextBox1.Text = Replace(TextBox1.Text,"'","`") |
Forum: ASP.NET Oct 12th, 2009 |
| Replies: 2 Views: 305 Try to check your fields table structure....Need to enlarge the columns width |
Forum: ASP.NET Oct 12th, 2009 |
| Replies: 2 Views: 351 For #1:
I think, you don't need anything to autosize it, because it's automatically autosize. Make Width property null or blank.
for #2:
In my way, I use ClassCSS property.
I created CSS file... |
Forum: ASP.NET Sep 30th, 2009 |
| Replies: 3 Views: 225 I think, fields on the form represent fields on table.....
If you insist to capture all fields from form, use temporary table or send sessions to crystal report by using formula, but use session... |
Forum: ASP.NET Sep 29th, 2009 |
| Replies: 3 Views: 225 try to use Crystal Report or Reporting Services |
Forum: ASP.NET Sep 28th, 2009 |
| Replies: 1 Views: 236 please see the bold-red text. Hope I can help you :) |
Forum: ASP.NET Sep 28th, 2009 |
| Replies: 1 Views: 360 Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
Panel1.Width = 400
Panel1.Height = 400
End Sub |
Forum: ASP.NET Sep 28th, 2009 |
| Replies: 4 Views: 966 You need to use AJAX.Net for that I think. |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 1 Views: 316 Have you succeded to retreive tblCountry in DropDownList control? |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 4 Views: 966 If you have save the ID in session, you can directly use it
Dim SQL As String = "SELECT * FROM Trx WHERE ID = '" & Session("ID") & "'
but, just my suggestion, try to avoid using sessions. For... |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 3 Views: 410 It's happened to me also, then I changed the frameset file to .aspx |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 1 Views: 380 I hope I can help you :)
In ASPX form
<head runat="server">
<title>...</title>
<link rel="stylesheet" href="../../MyStyle.css" type="text/css" />
<meta name="DownloadOptions"... |
Forum: ASP.NET Sep 24th, 2009 |
| Replies: 3 Views: 224 maybe, you forget the red-bold one text.
thanks |
Forum: ASP.NET Aug 27th, 2009 |
| Replies: 4 Views: 218 how if like this :
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If session("UserID").ToString.Trim = "" Then
... |
Forum: ASP.NET Jul 30th, 2009 |
| Replies: 1 Views: 399 Dear all,
I have a problem for my session state.
Previously, I used session state InProc, but because CPU usage was very high cause IIS sometimes restarts, so I changed it to SQLServer.
but... |
Forum: MS SQL Jul 23rd, 2009 |
| Replies: 1 Views: 398 Dear all,
Sorry, if this Thread is wrong room :$ .
I want to return a field value from a table, so I created a function like this :
CREATE FUNCTION dbo.CheckStatusTrx(@TransNo Varchar(20))... |
Forum: ASP.NET Jul 22nd, 2009 |
| Replies: 4 Views: 331 You may use JavaScript function.
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>
<script language="JavaScript">
function openWindow()
{
var w... |
Forum: ASP.NET Jul 22nd, 2009 |
| Replies: 5 Views: 745 Hi, please adjust with your purpose.
I hope I can help you.
:)
Protected Sub CmdTD_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles CmdTD.Click
... |
Forum: ASP.NET Jul 16th, 2009 |
| Replies: 1 Views: 393 Dear all friends,
I have Crystal Report file, just call RptCustomerMaster.rpt that displays Customer ID, Customer Name, Telp No, Email Address, Account Officer,
In my report, I want users to be... |
Forum: ASP.NET Jul 6th, 2009 |
| Replies: 2 Views: 248 :) just use the default setting from ASP.NET web.config. Because there is no "connection string" if you use default web config. |
Forum: ASP.NET Jul 2nd, 2009 |
| Replies: 0 Views: 476 Dear all,
I have a problem with AJAX.Net.
Now, all my program forms use Anthem.Net. But, Anthem.Net gets problem in IE7 (dropdownlist shrunks and Anthem.Net doesn't provide date picker).
So, I... |
Forum: ASP.NET Jul 1st, 2009 |
| Replies: 2 Views: 675 Hi YellowDog,
I want to try to help you...hope this helpful
from parent page :
Protected Sub CmdLocateCustomer_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles... |
Forum: ASP.NET Jul 1st, 2009 |
| Replies: 5 Views: 533 Ehmm.....still could not solve my problem...
I don't get at where my mistake is :'( :( :-/ |
Forum: ASP.NET Jun 29th, 2009 |
| Replies: 5 Views: 533 I have changed it, but the error is still same.... |
Forum: ASP.NET Jun 29th, 2009 |
| Replies: 5 Views: 533 I got this source code from internet.
This source purpose is to call ASP.Net function or method from JavaScript.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default5.aspx.vb"... |
Forum: JavaScript / DHTML / AJAX Jun 28th, 2009 |
| Replies: 2 Views: 878 Done, I have solved that problem
I use this code :
StrJScript = "<SCRIPT>parent.document.getElementById('iFrmCustomer').style.display = 'none';</SCRIPT>"
If Not... |
Forum: JavaScript / DHTML / AJAX Jun 25th, 2009 |
| Replies: 2 Views: 878 Dear all,
I can use this code to write a value in parent window control.
StrJScript = "<SCRIPT>parent.document.forms[0].TxtCustomerId.value = '" & ClearSpace(Row.Cells(1).Text.Trim) &... |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 3 Views: 2,801 thanks...it works....
I made mistake in
ScriptManager.RegisterClientScriptBlock(Page, Me.GetType(), "s", "<SCRIPT>var w = 0, h = 0;if (document.all || document.layers) { w =... |
Forum: ASP.NET Jun 23rd, 2009 |
| Replies: 3 Views: 2,801 Dear all,
I used to use pure ASP.Net code like this :
Protected Sub CmdLocateCustomer_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim S As String
If... |
Forum: ASP.NET Jun 10th, 2009 |
| Replies: 4 Views: 770 Check this link :
http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=6559&lngWId=10 |
Forum: ASP.NET May 14th, 2009 |
| Replies: 3 Views: 1,413 in my way
string str="";
int no = Convert.ToInt32(Val(str)); |
Forum: ASP.NET May 12th, 2009 |
| Replies: 4 Views: 1,542 I use ButtonField not CommandField.
So, if I click 'Edit', it doesn't mean I want to edit my GridView cell. I want to edit my data in TextBoxes and DropDownList.
But I don't know whether... |
Forum: ASP.NET May 12th, 2009 |
| Replies: 2 Views: 3,237 Hi Chester,
try this :
Sub ActionSave()
Dim Chk As New CheckBox
Dim D As GridViewRow
Dim EmployeeID As String = "" |
Forum: ASP.NET May 12th, 2009 |
| Replies: 4 Views: 1,542 Dear all,
I use asp:button field in my gridview
<asp:GridView ID="GV" runat="server" DataSourceID="SDSInHouseRate" Width="100%" AutoGenerateColumns="False" OnRowCommand="GV_RowCommand"... |
Forum: MS SQL May 11th, 2009 |
| Replies: 5 Views: 1,066 Oh my God, It works....Thanks a lot
:) |