|
Ballita wrote: How can I keep the index of dynamically generated column. Is there any way.
Might me in
1 - Viewstates
2 - Session
|
|
|
|
|
Hi Ballita,
For your problem I think using the RowDataBound event of the GridView will be a better idea. While each row is getting bound you can dynamically decide which cols will be visible. You can also do other stuff like clear the content of the cells of that row before binding.
Pankaj Chamria,
Software Programmer.
|
|
|
|
|
my project require to convert the money from 123 to word,
for example,
1000.10 --> one thousand and ten cent
200.00 --> two hundred.
does visual studio have function to convert it ?
Regards,
Chee ken
|
|
|
|
|
I think that project is for study purpose so that you will learn something from it also that will increase your logical skill
you should not asked such tyoe of questions in forums best answer is do your home work
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
is time consuming if i code the function out, so i hope anybody can share the coding for me or teach me anything and other programmer also can learn too.
i think this is why code project here right ? Any people can share their knowledge with other people.
if you dun want share or you dun know how to answer it, please dun reply ,thank you.
-- modified at 3:07 Wednesday 10th October, 2007
Regards,
Chee ken
|
|
|
|
|
CheckOut this
http://www.codeproject.com/useritems/codesamples.asp
Hope this will help you
Keep Smiling
|
|
|
|
|
Thank you for your help , wish you all the best !
Regards,
Chee ken
|
|
|
|
|
No. Nor is this an ASP.NET question.
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 all ,
private DataSet GetData()
{
string empquery = "select Empid,Ename from tbl_Employee";
string deptquery = "select * from tbl_Deprament";
con = new SqlConnection(connection);
dataSet = new DataSet();
try
{
con.Open();
sqlAdpter = new SqlDataAdapter(empquery, con);
sqlAdpter.Fill(dataSet, "tbl_Employee");
SqlDataAdapter sqlAdpter1 = new SqlDataAdapter(deptquery, con);
sqlAdpter1.Fill(dataSet, "tbl_Deprament");
dataSet.Relations.Add("child", dataSet.Tables["tbl_Deprament"].Columns["DeptId"], dataSet.Tables["tbl_Employee"].Columns["DeptId"]);
}
catch (Exception error)
{
LblError.Text = error.Message;
}
return dataSet;
}
Execption :'column' argument cannot be null. Parameter name: column
pls help me i am not getting the relation in tables are depatment:deptid,deptname employee is empid,empname,deptid
|
|
|
|
|
You don't fetch any column from tbl_Employee with the name DeptId . The expression dataSet.Tables["tbl_Employee"].Columns["DeptId"] returns null.
---
single minded; short sighted; long gone;
|
|
|
|
|
sorry not getting i am doing wrong in coding . pls let me know. is there any articals on this to populate treeview control using database using datasetrelations in asp.net 2.0
pls send the url
|
|
|
|
|
string empquery = "select Empid,Ename from tbl_Employee";
In the above statement u r not fetching the column deptid but u r trying to use this in this statement
dataSet.Relations.Add("child", dataSet.Tables["tbl_Deprament"].Columns["DeptId"], dataSet.Tables["tbl_Employee"].Columns["DeptId"]);
Here Columns["DeptId"] returns null
use string empquery="select * from tbl_Employee"
Koushik
|
|
|
|
|
|
hi all,
could someone explain me integrated windows authentication in asp.net ,
i could not understand the concept well,
Thanks
sri
|
|
|
|
|
mukkanti007 wrote: integrated windows authentication in asp.net ,
In this authentication mode, IIS supplies windows user credentials to ASP.NET. ASP.NET can validate this and allow the access. This mode is useful for intranet applications.
Hope this helps
|
|
|
|
|
i had made one integer type collection editor in web control library project.
the collection gets displayed properly at design time and i am able to add and remove items also but my problem is that value entered at design time does not effect the control at runtime.
Regards,
Ujjaval Modi.
|
|
|
|
|
Ujjaval Modi wrote: that value entered at design time does not effect the control at runtime.
I think you need to use some attributes to persist the collection data. After adding the items through collection editor, are you able to see it again when you click on the collection editor ? If yes there won't be any other problem.
|
|
|
|
|
values persist in the collection but do not get reflected at runtime.
my code for property is:
List<double> m_SectionValue = new List<double>(new double[] { 100, 150, 200, 300});
[System.ComponentModel.Browsable(true),
System.ComponentModel.Category("Funnel"),
System.ComponentModel.Description("The Value of each Section.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
[PersistenceMode(PersistenceMode.Attribute)]
public List<double> StandardValue
{
get { return m_SectionValue; }
set { m_SectionValue = value; }
}
|
|
|
|
|
Ujjaval Modi wrote: [PersistenceMode(PersistenceMode.Attribute)]
Try changing this to
PersistenceMode.InnerDefaultProperty
|
|
|
|
|
i tried every mode of [PersistenceMode] but its not working with this.
|
|
|
|
|
Please help
Anybody knows where can I find the xml file that gets genrerated for of IIS7?
Nana
|
|
|
|
|
Refer to www.iis.net
Koushik
|
|
|
|
|
Hi ,
I have created win32 events using kernel32.dll in webforms.It is working fine in the local system.But when i am hosting in the Server i am unable to create the events.Can anyone help me in this regard.
|
|
|
|
|
This is working precisely because your client and server are the same machine. It won't work otherwise.
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 )
|
|
|
|
|
there are some application which listen for win32 events on the same system where we are hosting the webpage,Still it is not working...........
will it work if we change process model in machine.config...............
|
|
|
|