|
lakhs is not an English word. It means a lot tho, right ?
If you can't change the dataset, then you have a problem. You probably want to cache the data. Ideally, your data source should return paged data, not tons of data you go on to not show b/c of paging in the control.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
How paged data be returned by data source?
I want paging done like Google or codeproject as both are fetching millions of records.
Thanks for the reply.
|
|
|
|
|
Write your data source so you tell it what page number to display and how many records are in a page.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
i download the "Sending SMS using .NET through a Web service
By Manoj Kumar C" project but it didnt work.so plz tel me the requirement of project and how to execute that project successfully.
|
|
|
|
|
WOW! You have to ask on that article's discussion board, not here.
|
|
|
|
|
You're an idiot. Sorry.
Did you think that everyone who writes articles and answers here all sits in one big room, spending our life doing your job ? This place exists because of volunteers. The article has a place to ask questions of the author.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi all,
Can any one tell me how can we encrypt a text in c#??
|
|
|
|
|
We usually use the built in cryptography classes ( hint: google cryptography )
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
can u give me a link for examole...???
|
|
|
|
|
|
|
Hi,
I want to restrict the user to login with the same username/password in
more than one system in the same ipaddress. Can anyone give me an idea.
Thanks
|
|
|
|
|
Store in your DB if they are logged in. Of course, you need a timeout mechanism to do this.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hi,
Could you please tell me how to set the timeout mechanism.
Thanks
|
|
|
|
|
Put a column in your database, where you store that a user is logged in, with the date and time of their last activity. If a certain amount of time has elapsed since that time and the time they try to log in again, allow it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi,
i have a procedure getendbalance, i am passing list of retailerid's and date as input ,i have to collect endbalance as output and show it in gridview.
what i have tried is,
int Retailer = Convert.ToInt32(dsRet.Tables[0].Rows[0]["retailer_id"].ToString());
OdbcCommand cmdEndBal = new OdbcCommand("{call getendbalance(" + Retailer + ",'13-Jun-2009',@v_End_Balance OUT)}", Conn);
cmdEndBal.CommandType = CommandType.StoredProcedure;
try
{
Conn.Open();
cmdEndBal.Parameters.Add("@param_Retailer_ID", OdbcType.Numeric,22);
cmdEndBal.Parameters[0].Direction = ParameterDirection.Input;
cmdEndBal.Parameters[0].Value = Retailer;
cmdEndBal.Parameters.Add("@param_Date", OdbcType.NVarChar);
cmdEndBal.Parameters[1].Direction = ParameterDirection.Input;
cmdEndBal.Parameters[1].Value = "13-Jun-2009";
cmdEndBal.Parameters.Add("@v_End_Balance", OdbcType.Numeric);
cmdEndBal.Parameters[2].Direction = ParameterDirection.Output;
cmdEndBal.ExecuteNonQuery();
double RetVal = (double)(cmdEndBal.Parameters["@v_End_Balance"].Value);
}
catch
{
}
finally
{
Conn.Close();
}
|
|
|
|
|
Your code is broken.
Praneeth Babu K wrote: call getendbalance(" + Retailer + ",'13-Jun-2009',@v_End_Balance OUT)
You are passing parameters, so why adding it here? You just need the procedure name here.
|
|
|
|
|
i will correct that one,
how to get the out put parameter in varaible or array,
double RetVal = (double)(cmdEndBal.Parameters["@v_End_Balance"].Value);
is this the the write way.
|
|
|
|
|
I have a webpage with an asp:menu. I have menuItems in the menu. What I want to do is call a javascript function when the menuItem is selected but do not see an onselected or any selection event. Is there a way for me to just call a javascript function and not navigate to an url when the item is selected?
Thanks,
Steve
|
|
|
|
|
I guess you need to look at the HTML that is generated, but I'd imagine if you make your 'url' javascript:myfunction()', that would work.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
When I add NavigateURL="javascript:function()" it only shows a page with the javascript source code? Note: this is an asp:menu.
Thanks,
Steve
|
|
|
|
|
O.K. I got it working!
Thanks,
Steve
|
|
|
|
|
Ok, so let the rest of us know the secret...
Regards,
John McPherson
"Sufficiently advanced technology is indistinguishable from magic."
Arthur C. Clark, inventor of the telecommunications satellite
|
|
|
|
|
What is the best way by which to display summary information for my project on my webform? I need to display it as follows and cannot use a datagrid.
Column Column
Row: Name Name
Row: ID ID
Row: Size Size
With a column for each returned value from the database. There is no restriction to the number of "segments" returned, so I need to this to work if there is one segment or 5. I have a SQL query that accesses the information that I read from. I thought about using a repeater control, but I'm not sure how to do this.
|
|
|
|
|
Looks like you are trying to display tabular data. DataGrid/GridView is best for tabular data.
|
|
|
|