Then I think that your browser is not javascript enabled
God Bless you. Always do good to others
Then I think that your browser is not javascript enabled
God Bless you. Always do good to others
First set a command name and commandArgument to some cell text like this then write this code behind protected void grdVDataQueries_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName.Equals("Open")) { string args = e.CommandArgument.ToString(); } }
God Bless you. Always do good to others
Set AutoPostBack=true of dropdownlists
God Bless you. Always do good to others
Get values in store procedure if not exists(Select * from empone where val1=@val1 and val2=val2 and val3=@val3 and val4=@val4) then write insert statement.
God Bless you. Always do good to others
I am using SQL server 2000. I have added some records in table. and then deleted. Now I would like ID field to start count from 1 and onward. what command will be used.
God Bless you. Always do good to others
Try to import com componant for importing flash movie.
God Bless you. Always do good to others
This is default icon for your application.
God Bless you. Always do good to others
When you use default asp.net configuration. It generates database present in App_Data folder and write configuration related information in web.config. You can use provider model of .net for user management. This model contains different classes to interact with the data base.
God Bless you. Always do good to others
if you would like to get list of all classes, namespaces, properties etc without writing a letter then use CTRL+J. If you write some object and after like "commandbehavior." and want different options then after "commandbehavior." you can press CTRL+Space
God Bless you. Always do good to others
write runat="server" in button tag and access by button name in code behind. after accessing that button use visible property to hide that button
God Bless you. Always do good to others
Try to encrypt that values and send as query string. Let suppose you want to send name as Mobi. Write a function that encrypt that value. Foreach(char ch in StringName) { // convert this to integer a add some decimal. Then add this at the end of string Convert.ToInt32(ch)+1; } The for decrypting you can minus the same value.
God Bless you. Always do good to others
Hello
God Bless you. Always do good to others
I think this functionality is for desktop application.
God Bless you. Always do good to others
Hi, AssociatedControlID property any click on the Label extends to the associated control. In case of an associated TextBox the effect is that when clicking on the Label the TextBox gains focus. AutoComplete monitors a text box and creates a list of values entered by the user. When the user returns to the text box at a later time, the list is displayed. Instead of retyping a previously entered value, the user can simply select the value from this list.
God Bless you. Always do good to others
datatable is a logical table in the memory and datarow is logical row in the memory.
God Bless you. Always do good to others
These are controls for adding. asp:TextBox asp:Button asp:GridView
God Bless you. Always do good to others
Write javascript function and the call it in button property OnClientClick.
God Bless you. Always do good to others
Add these three controls to xml page.
then add this code behid the button on click event DataTable dt = new DataTable(); if (txtColumns.Text.Length > 0) { string[] str = txtColumns.Text.Split(','); foreach (String st in str) { dt.Columns.Add(st); } DataRow dr = dt.NewRow(); dt.Rows.Add(dr); mainDataGrid.DataSource = dt; mainDataGrid.DataBind(); } You can also use switch statement for decision making in selecting color.
God Bless you. Always do good to others
Hi ballameharmurali Here is good article for this purpose. http://www.c-sharpcorner.com/UploadFile/mahesh/DataSetReports04252007100945AM/DataSetReports.aspx
God Bless you. Always do good to others
first of all check that is there some outer table width which strict the data grid to one width. If there is no reason then you can do this by applying a css class on it. Grid view header is rendered as Header You can set width as
God Bless you. Always do good to others