Hi All,
Can someone point out where I am wrong? I tried all sorts of debug, replaced with array to populate in my drop down and all works fine, except my below code.
DataTable dt = new DataTable();
dt = dataMyClient.GetAccountOwnerList(usrname);
DropDownList.DataSource = dt...
Hello Everyone,
Based on my previous post, I need some suggestion. I wasnt sure if I have to continue with the old post or create a new one.
I have a gridview which has the following TemplateField.
<asp:GridView id="grd" runat="server" OnRowDataBound="grd_RowDataBound">
<asp:TemplateField...
Hello Everyone,
I have a gridview, with both BoundField and TemplateField, both displaying values from a DataTable.
When I try the following code on OnRowDataBound property it works fine
foreach (TableCell cell in e.Row.Cells)
{
if (e.Row.Cells.GetCellIndex(cell) == 1 &&...
Hello Everyone,
I have the following tables:
Table A Table B
-------- -----------------------------
A_ID A_NAME B_ID APP_ID APP_NAME
1 10001 Name1
2 10001 Name1...
Hello,
Can someone please help me put this in place.
I have an external api that I am connecting to, to update some data (which is in XML format).
I have the following set of code to update the data
XmlElement ticket = doc["Ticket"]; // doc is xmldoc
foreach (XmlNode node in...
Hello Everyone,
I have two tables almost the same structure
eg: Table1 and Table2 both has the following fields along with couple other field.
Table1/ Table2
--------------
JNo Ono Source ClientId StartDate ......
1 1001 S1 2 01/01/2008 ......
2 1002 S3 2...
Hello All,
This is my first project and now I am stuck at sorting data grid.
The Data grid displays values from a stored procedure and the AllowSorting property of the datagrid is set to true. Its working fine for all the header text, except for one (Company Name).
Company name is a link <a...
I have a small web application developed in VB.Net.
But it gets signed out very often.
I have set timeout="720" in <sessionState> of web.config
But still it times out.
Any suggestion / help really appreciated.
Thanks.
Hi,
I am new in implementing Templates.
My .h file.
class AnimalControl
{
public:
DogCatcher* getDogCatcherRef();
void disturbance();
void incarcerate(Animal* temp_ptr);
AnimalControl(); // constructor
~AnimalControl(); // destructor
private:
int startpos; //start point of...
Hi,
Can someone please assist/help me solve this problem, I tried my best all the help with the internet search. I will be really very thankful for any answers.
I have a class A{}; and class B {};
inside Class B, I need to have an array of pointers object for Class A (dimensions size 10)...
Hi ,
I have two questions:
1) I have a link (<a href...>) on my page for eg:
when i type this on my browser (below url for example)
www.xyz.com/log/product_info.php?p_id=50
I am displaying a link say "Hardness" (which is a link).
On click of that link (hardness) I use window.open (to open a...
Hi,
Let me just brief the pbm.
Lets take customer table with fields Customer ID, name, homePh, cellPh, workPh
I want to display only those customer name who have only one phone number or no phone number (it can be in any combinations, like the customer might have only cellPh or only homeph...
Hi
Where am I wrong, When the user clsoe the form, I want to make sure that the Comment field is not empty. If its empty, then force them to enter and shouldnot close the form. else if its entered, then close the form. Why is DoCmd.CancelEvent not working?
Private Sub Form_Close()...
Hi,
SELECT Right(DatePart('yyyy',Date()),2), DatePart('m',Date()), *
FROM JobOrder
WHERE (((JobOrder.JobOrderDate)>(Date()-DatePart('d',Date()))) AND ((JobOrder.QuoteID) Is Not Null) AND ((JobOrder.OrderID) Is Not Null));
The above query is returning the following recordset.
Expr1 Expr2...
Hi,
I have a Continuous Forms with few fields (Item is combo box and Amount is text box which needs to be entered) in it..
Item Amount
Payment 300.00
Sample 100.00
Extras 150.00
So on...
Deletion and edition shouldnot be allowed on Payments Item.
Forexample, I should be allowed to...
Hi there,
I searched the forums here for help, but didnt come accross what i am looking for.
I have added a custom validation in my form which calls InterSubCheck on OnServerValidate event.
Below is the customvalidator defination of my aspx page.
<asp:customvalidator id="Customvalidator6"...
Hi,
Let me quickly explain the problem.
I am using outlook to send mail (with attachment) on clicking the button. So in Tools Reference I have checked "Miscrosoft Outlook 11.0 Object Library".
And when I run the application in my system its working fine.
This application is been placed in a...
Hi,
I have a word file with 3 pages (only text).
In my Access forms, on click of a button I need to open the entire content of the word file as report.
What are the ways to do this. I am then sending this report as fax (which is working fine).
But not able to open the content of word in my...
Hi All,
I have the following tables:
Order (table)
-------------
OrderID OrderDate
O001 10/10/2004
O002 10/11/2004
Status (Table)
--------------
SID OrderID ReferID Date
1 O001 R3 10/10/2004
2 O001 R5 10/10/2004
Refer (Table)...
Hi Everyone,
I am trying to send a mail frm Access on a button click.
It works very well.
I am using the following code :
Dim SubjectLine As String
Dim strFilePath As String
Dim PersonSendTo As String
PersonSendTo = "info@info.com"
SubjectLine = "My Subject"
Dim appOutLook As...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.