|
To Analyse syntactically by assigning a constituent structure to a code /program
Adeel Alvi
|
|
|
|
|
dear
not yet to try anything
can u give sample coding
Dhatchinamoorthy.R
9894824838
|
|
|
|
|
System.Net.WebClient class is used to read the content of page.
Search in google
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
Hi
i want to create a custom Gridview control that will have three pre-defined column in it with threee textbox in each column .
1- First Column header text is Quantity and it will have Textboxes in all its rows
2-Second will be price and third will be of total .whenever user enter price and quantity it will do total=quantity*price and result should be shown in total. gridview footer would be having a label that will shows the grandtotal by adding all the values in all rows of total field, rest functionality will be same of gridview.
Regards
Adeel ALvi
|
|
|
|
|
|
If this[^] doesn't help, try asking the question a little more clearly, explaining in what context you mean it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I have a custom control
which contain one button
private button btn. Now I have to write property which will set the button enabled or not. so in custom control i am writing property like this:
public property MakeReadonly
{
set
{
btn.Enabled= value;
}
}
I am creating the button ln CreateChildControls()
{
btn=new Button();
}
Now from the aspx page I want to set MakeReadonly property like this:
customcontrol1.MakeReadOnly=true;
It is giving me the error Object reference not to set instance of the object. How to enable / disable the ccontrols in ustom control .
Thanks
|
|
|
|
|
The CreateChildControls method is called after you call the MakeReadonly method, that's why there is no reference in the btn variable.
In the MakeReadonly property, store the value into a bool variable, then in the CreateChildControls method, use that variable to set the Enabled property of the button after you have created it.
---
single minded; short sighted; long gone;
|
|
|
|
|
Obviously, you need to work out what is null. Is it customControl1, or is it btn ? If it's btn, then you need to check if btn is null. One thing you could do, is have a bool that you set. Like this
private bool _isEnabled = true;
public bool ButtonEnabled
{
set
{
if (btn != null)
btn.Enabled= value;
_isEnabled = value;
}
}
CreateChildControls()
{
btn=new Button();
btn.Enabled = _isEnabled;
}
I don't believe the code you presented here would even compile, by the way.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi,
I have the wizard control. How to make the entire wizard control as read only or
how to make the one step of wizard as Readonly.
Thanks
|
|
|
|
|
What good is the wizard if it's read only ? Just make the controls in the wizard step read only, doesn't that work ?
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
pls any one to help me with code on how i can attach my Crystal report in .net 2005 as email attachment. Zoom in Crystal report in web does not work. when the zoom factor is changed on increaded, the report does not show
Im using asp.net2.0
t.aransiola
|
|
|
|
|
i got some problem about my system, when i want save the data, it didn save at database (access)...anyone can help me?
its urgent, leave me an email if can help, thanks...
nick
|
|
|
|
|
Read How to get an answer to your question
only two letters away from being an asset
|
|
|
|
|
You can't be serious. I mean, how on earth can anyone hope to help you based on this. Your code is broken. That's as much as I can tell you, based on the information you provided.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I have dynamically added user controls to the webparts.I have added event handlers to these user controls..
But the events do not fire..
can anyone tell me how do I go about resolving this issue..
Thanks
Jol
|
|
|
|
|
Could please tell me how can I read and write barcode in ASP.NET. More briefly, I got a table name BookInformation where I would like keep.
Very Urgent
Sarfarj Ahmed
|
|
|
|
|
Sarfaraj Ahmed wrote: Very Urgent
People around here respond voluntarily, saying its urgent is just rude and will more than likely get your question ignored.
There are plenty of barcode reading/writing examples available. Have you tried a search?
only two letters away from being an asset
|
|
|
|
|
That's very interesting, Here try this Link^
|
|
|
|
|
Hi,
I'm new for ASP.NET and for Using C#.
I'm trying to create Web Project that have Log in form and return user ID
("UserID"), User TypeID ("fUserTypeID") ,User SecurityLevel
("UserSecurityLevel") ,User Fullname ("ShowName") from SQLdb, usind DAL.
i DrugAndDrop ObjectDataSource named/ID ObjectDataSource1 and then connect
the GridView in to it.
The ObjectDataSource1 is working with DAL (running with SP) and get 2
parameters (UserName, Password)
and return UserID and UserFullName.
the code:
<%--Start GridView--%>
<asp:gridview id="GridView1" runat="server"
autogeneratecolumns="False" datakeynames="UserID"
="" datasourceid="ObjectDataSource1">
<columns>
<asp:boundfield datafield="UserID" headertext="UserID"
insertvisible="False" readonly="True"
="" sortexpression="UserID">
<asp:boundfield datafield="fUserTypeID" headertext="fUserTypeID"
readonly="True"
="" sortexpression="fUserTypeID">
<asp:boundfield datafield="UserSecurityLevel"
headertext="UserSecurityLevel" readonly="True"
="" sortexpression="UserSecurityLevel">
<asp:boundfield datafield="ShowName" headertext="ShowName"
readonly="True" sortexpression="ShowName">
<asp:objectdatasource id="ObjectDataSource1" runat="server"
oldvaluesparameterformatstring="original_{0}"
="" selectmethod="GetData"
typename="Dal_Class_For_AspNet_Agent.dsNWTableAdapters.AspNet_Xnet_sp_Agent_LoginTableAdapter">
<selectparameters>
<asp:controlparameter controlid="inputUserName" name="UserName"
propertyname="Text"
="" type="String">
<asp:controlparameter controlid="inputPassword" name="Password"
propertyname="Text"
="" type="String">
<%--End GridView--%>
I manage to make it work and see the data in GrideView.
But what i like to do, is to get the return data as Recordset / Parameters
and put them into 2 separate SESSIONS, so i will be able to
print out at the top frame of the page the UserFullName and keep in SESSION
the UserID for later validation.
Can You please advice with sample code ?
|
|
|
|
|
Hi Guys,
how do i go about implementing a single sign on application in C#(ASP.net)
-- modified at 11:17 Monday 24th September, 2007
|
|
|
|
|
What do you mean ? You want only one login ? In that case, you can easily hard code it.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hello all,
i want to change datafield property of a boundfield in a gridview at run time from codebehind in asp.net + C#. actually i have a grid view which have 2 bound fields(columns), datafields of these 2 columns are already set. i want change thier datafields after running the application based on some redio button selection. my gridview is like this:-
<asp:GridView ID="gvSavedCriteria" runat="server" AutoGenerateColumns="False" BackColor="InactiveCaptionText"
Height="1px" Width="325px">
<Columns>
<asp:TemplateField HeaderText="Add">
<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
<HeaderStyle HorizontalAlign="Justify" VerticalAlign="Top" />
<ItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" EnableViewState="true"/>
</ItemTemplate></asp:TemplateField>
<asp:BoundField DataField="ClientNumber" HeaderText="ClientNumber" />
<asp:BoundField DataField="ClientName" HeaderText="ClientName" />
</Columns>
<HeaderStyle BackColor="#2A76B2" ForeColor="White" />
<AlternatingRowStyle BackColor="White" BorderColor="Gainsboro" BorderStyle="Solid" /></asp:GridView>
in this i have two datafields "ClientNumber" and "ClientName" which at run time i want to change to some "ABC" and "XYZ" based on user action. does anyone knows that how can i get it?
People often say that motivation doesn't last. Well, neither does bathing - that's why we recommend it daily
Akhilesh Singh
|
|
|
|
|
Hi!
You just need to traverse thru each row of your datagrid and then change the data according to your need.
foreach (GridViewRow gvRow in dgTestGrid.Rows)
{
// Get the check box from 0th column in current row of grid
CheckBox cb = (CheckBox)gvRow.Cells[0].FindControl("CheckBox1");
if(cb.Checked)
{
// change the data in 1st & 2nd cells of current row according to check box
// 1st cell is for Client number and 2nd is for Client name
gvRow.Cells[1].Text = "ABC";
gvRow.Cells[2].Text = "XYZ";
}
}
--------------------------
Hope this will help.
“The woods are lovely, dark and deep. But I have promises to keep, and miles to go before I sleep.”
|
|
|
|
|
<b>Hi....Friends ..bacically i know only the ajayx file is used to set some global variables & application level settings.How it will be usefull in remaining applications in .Net , How to implement it in java script & can u please give me some examples on this to clear this concept.....Thanks & Rgards</b>
......Varma
varma
|
|
|
|