Hi,
Please refer this Link
User Profile
Collapse
-
-
-
-
Hi,
You can use css class for the gridview.
Please refer the following example :
e.g.
...Code:<html > <head id="Head1" runat="server"> <title>GridView Summary</title> <style type="text/css"> TABLE.tabulardata { BACKGROUND-COLOR: #74aefa; } TABLE.tabulardata TR {Leave a comment:
-
Hi,
You should write a property in your calendar control in order to get the selected date.
e.g.
Now, in other...Code:private string m_date; public String myDate { get { return m_date; } set { m_date = value; } }Leave a comment:
-
Hi,
Try the following code in order to insert a new line in a text of text box:
Code:if (TextBox1.Text.Length == 70) { //check if no of characters in a textbox is equal to 70 TextBox1.Text += "\n"; }Leave a comment:
-
Hi,
Please refer the following link for your requirement:
http://www.daveamenta.com/2008-05/c-...e-recycle-bin/...Leave a comment:
-
Hi,
You can also refer the following link :
http://www.codeproject.com/KB/aspnet...ted_Dates.aspx...Leave a comment:
-
Hi,
Calendar control in Asp .Net does not contain property called as Autopostback.
You can check "SelectionM ode" property.Using "SelectionM ode" property, you can set the value of this property to None to not allowing to select the date to the user.Leave a comment:
-
Leave a comment:
-
Leave a comment:
-
Hi,
Please refer to the following example to solve the error you are getting:
http://www.oracle.com/technology/sam...ock/index.html...Leave a comment:
-
Hi,
For storing the value of textbox into db table you can make use of the one of the following methods :
1> Write the sql statement into .Net code in order to insert the value of textbox into db table.
2>OR Write stored procedure for inserting the value into db table and call the stored procedure from your .Net code.
3> In order execute the stored procedure or sql query,set...Leave a comment:
-
Hi,
Please check for the value of Paramvalue.Valu e before using Ctype function for converting the value into byte array. The value of Paramvalue.Valu e might be Null. Also you can use try and catch in order to get the exception.Leave a comment:
-
Leave a comment:
-
Hi,
You can try the following code in SelectedIndexCh anged event of second dropdownbox.
...Code:protected void DropDownList2_SelectedIndexChanged(object sender, EventArgs e) { //Here get the first character of the string item selected string strchar = DropDownList2.SelectedItem.Text.Substring(0, 1).ToString(); // Highlight the item in the other dropdown accordinglyLeave a comment:
-
Hi,
You can do the following modification in the code in order to remove the Null Reference error:
Code:Dim txtTemp as new Textbox() txtTemp = CType(grTemp.FindControl("txtRenewTill"), TextBox) If(IsdbNull(txtTemp)= False then CType(grTemp.FindControl("txtRenewTill"), TextBox).Visible = True End IfLeave a comment:
-
Hi,
One way is to calculate the mask for the given telephone number in the .Net code. You can use the substring function in order to get mask for that number.
Then you can write the sql query to get the record from database table which is having the calculated mask.
e.g.
Sql = "Select * from t_mask where mask like '" & strmask & "'"
Here strmask...Leave a comment:
-
Hi,
Please tell that why are you taking the masks? Do the mask field in the database table are used for matching the country code or state code in each telephone no.In that case every telephone no will match only one mask.Leave a comment:
No activity results to display
Show More
Leave a comment: